/* ============================================
   REGISTRAR QUEUE MANAGEMENT SYSTEM
   MAIN CSS - Login & Common Styles
============================================ */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* CSS Variables */
:root {
    --primary: #004aad;
    --primary-dark: #003a8c;
    --primary-light: #3378d1;
    --primary-soft: #eef4ff;
    --secondary: #004aad;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #06b6d4;
    --dark: #1e293b;
    --gray: #64748b;
    --light: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Plus Jakarta Sans', sans-serif;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    color: var(--dark);
    line-height: 1.5;
    min-height: 100vh;
}

/* ============================================
   LOGIN PAGE
============================================ */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #001f3f 0%, #004aad 100%);
    position: relative;
    overflow: hidden;
}

.auth-page::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.login-container {
    display: flex;
    max-width: 1100px;
    width: 90%;
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    z-index: 1;
}

.login-brand {
    flex: 1;
    background: linear-gradient(135deg, #004aad, #001f3f);
    padding: 50px;
    color: white;
}

.login-brand .brand-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.login-brand h1 {
    font-size: 32px;
    margin-bottom: 10px;
    line-height: 1.2;
}

.login-brand p {
    opacity: 0.8;
    margin-bottom: 40px;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.login-form {
    flex: 1;
    padding: 50px;
}

.tabs {
    display: flex;
    gap: 10px;
    background: var(--light);
    padding: 5px;
    border-radius: 60px;
    margin-bottom: 30px;
}

.tab {
    flex: 1;
    text-align: center;
    padding: 12px;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 60px;
    font-weight: 600;
    transition: all 0.3s;
}

.tab.active {
    background: var(--primary);
    color: white;
}

.login-input {
    margin-bottom: 20px;
}

.login-input label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.login-input input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    transition: all 0.3s;
}

.login-input input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.btn-login {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    padding: 14px;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.btn-login:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.error-msg {
    background: #fef2f2;
    color: var(--danger);
    padding: 12px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    text-align: center;
    font-size: 14px;
}

/* ============================================
   FOOTER (Common)
============================================ */
footer {
    background: var(--dark);
    color: white;
    text-align: center;
    padding: 30px;
    margin-top: 60px;
}

footer p {
    opacity: 0.7;
    font-size: 14px;
}

/* ============================================
   RESPONSIVE (Login)
============================================ */
@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
        width: 95%;
    }
    
    .login-brand {
        text-align: center;
    }
    
    .features {
        text-align: left;
    }
}

/* ============================================
   Checkbox Fix 
============================================ */
/* Checkbox Fix - Left Alignment */
.form-section .checkbox-group,
.form-section .input-group-checkbox {
    text-align: left !important;
}

.form-section .checkbox-group label,
.form-section .input-group-checkbox label {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    text-align: left !important;
}

.form-section .checkbox-group input,
.form-section .input-group-checkbox input {
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
}

/* Logo with Image */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.logo-text {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
}

.logo-text span {
    color: #001f3f;
}

