* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    height: 100vh;
    overflow: hidden;
}

/* Fullscreen background */
.login-full-bg {
    background-image: url('/static/Pictures/Login_Background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.login-full-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.25);
}

/* Center container – card centered in viewport */
.login-centered {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100);
    padding: 24px;
    position: relative;
    z-index: 1;
}

/* Rectangle card in front of background (two-column applicant login) */
.login-split-card {
    display: flex;
    width: 100%;
    max-width: 920px;
    min-height: 520px;
    margin: auto;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    position: relative;
}

.login-form-panel {
    flex: 0 0 50%;
    padding: 48px 44px 40px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.login-form-panel .login-form-inner {
    width: 100%;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
}

.login-panel-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.login-panel-header .back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(29, 78, 216, 0.08);
    border-radius: 50%;
    color: #1d4ed8;
    text-decoration: none;
    transition: all 0.2s ease;
}

.login-panel-header .back-link:hover {
    background: rgba(29, 78, 216, 0.15);
    color: #1d4ed8;
}

.login-panel-header .logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
}

.login-form-panel .form-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1d4ed8;
    letter-spacing: -0.02em;
    text-align: center;
    margin-bottom: 1rem;
    line-height: 1.25;
}

.login-form-panel .form-subtitle {
    color: #64748b;
    text-align: center;
    margin-bottom: 4rem;
    line-height: 1.5;
    font-size: 0.9375rem;
    font-weight: 500;
}

/* Login form panel: labels – dark gray, left-aligned */
.login-form-panel .form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    letter-spacing: 0.01em;
}

/* Login form panel: boxed inputs – rectangular, rounded, thin border */
.login-form-panel .form-input-underline {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    color: #111827;
    background: #ffffff !important;
    border: 1px solid #d1d5db !important;
    border-radius: 8px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.login-form-panel .form-input-underline:focus {
    border-color: #1d4ed8 !important;
    border-width: 2px !important;
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12) !important;
}

.login-form-panel .form-input-underline::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.login-form-panel .password-input-wrapper {
    position: relative;
}

.login-form-panel .password-input-wrapper .form-input-underline {
    padding-right: 2.75rem;
}

.login-form-panel .password-toggle-btn {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    border-radius: 50%;
    transition: color 0.2s ease, background 0.2s ease;
}

.login-form-panel .password-toggle-btn:hover {
    color: #1d4ed8;
    background: rgba(29, 78, 216, 0.06);
}

.login-form-panel .password-toggle-btn i {
    font-size: 0.9375rem;
}

.login-form-panel .form-group {
    margin-bottom: 1.75rem;
}

.forgot-row {
    margin-bottom: 1.5rem;
}

.login-form-panel .forgot-password-link {
    color: #3b82f6;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.login-form-panel .forgot-password-link:hover {
    color: #2563eb;
}

/* Login button – professional style (no animation) */
.login-form-panel .login-button {
    width: 100%;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
    border: none;
    padding: 0.9375rem 1.5rem;
    border-radius: 12px;
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 0.5rem;
    margin-bottom: 1.75rem;
    box-shadow: 0 4px 14px rgba(29, 78, 216, 0.25);
}

.login-form-panel .login-button:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.login-form-panel .login-button:disabled:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.login-panel-signup {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #f1f5f9;
}

.login-signup-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    width: 100%;
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1d4ed8;
    background: #ffffff;
    border: 2px solid #1d4ed8;
    border-radius: 10px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.login-signup-btn i {
    font-size: 1.125rem;
}

.login-signup-btn:hover {
    background: rgba(29, 78, 216, 0.06);
    color: #2563eb;
    border-color: #2563eb;
    box-shadow: 0 2px 8px rgba(29, 78, 216, 0.15);
}

.login-signup-text {
    color: #64748b;
    font-size: 0.9375rem;
    margin-right: 6px;
    font-weight: 500;
}

.login-signup-link {
    color: #3b82f6;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.login-signup-link:hover {
    color: #2563eb;
}

.login-panel-footer-text {
    text-align: center;
    font-size: 0.8125rem;
    color: #64748b;
    margin-top: 1rem;
    margin-bottom: 0;
}

.login-panel-footer {
    margin-top: auto;
    text-align: center;
    color: #64748b;
    font-size: 0.75rem;
}

/* Right column: welcome panel with gradient */
.login-welcome-panel {
    flex: 0 0 50%;
    /* background-image set in template with {% static %} for blue panel + Login_Background.jpg */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 32px 36px 28px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.login-welcome-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

.welcome-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.welcome-title {
    font-size: 1.85rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 14px;
    text-align: center;
}

.welcome-subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    max-width: 280px;
    text-align: center;
}

.welcome-panel-footer {
    margin-top: auto;
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.75rem;
    position: relative;
    z-index: 1;
}

.welcome-dots {
    display: flex;
    gap: 8px;
    margin-top: 24px;
    position: relative;
    z-index: 1;
}

.welcome-dots .dot {
    width: 8px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.4);
    transition: background 0.2s ease;
}

.welcome-dots .dot.active {
    width: 24px;
    background: #fff;
}

/* Forgot Password page – same split layout as login */
.forgot-form-panel {
    flex: 0 0 50%;
    padding: 48px 44px 40px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.forgot-form-panel .forgot-form-inner {
    width: 100%;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
}

.forgot-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    margin-bottom: 1.5rem;
}

.forgot-back-link:hover {
    color: #1d4ed8;
}

.forgot-form-panel .forgot-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1d4ed8;
    letter-spacing: -0.02em;
    text-align: center;
    margin-bottom: 3rem;
    line-height: 1.25;
}

.forgot-form-panel .form-group {
    margin-bottom: 1.5rem;
}

.forgot-form-panel .form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.5rem;
}

.forgot-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.forgot-input {
    width: 100%;
    padding: 0.75rem 2.75rem 0.75rem 1rem;
    font-size: 0.9375rem;
    color: #111827;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
}

.forgot-input::placeholder {
    color: #9ca3af;
}

.forgot-input:focus {
    outline: none;
    border-color: #1d4ed8;
    border-width: 2px;
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
}

.forgot-input-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 1.125rem;
    pointer-events: none;
}

/* Reset Password button – same as login (blue, no animation) */
.forgot-submit-btn {
    width: 100%;
    padding: 0.9375rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    margin-top: 0.5rem;
    margin-bottom: 1.75rem;
    box-shadow: 0 4px 14px rgba(29, 78, 216, 0.25);
}

.forgot-submit-btn:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.forgot-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.forgot-footer {
    text-align: center;
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
}

.forgot-footer a {
    color: #1d4ed8;
    font-weight: 600;
    text-decoration: none;
}

.forgot-footer a:hover {
    color: #2563eb;
    text-decoration: underline;
}

.forgot-form-panel .message.error {
    border-radius: 10px;
    padding: 0.875rem 1rem;
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
}

.forgot-form-panel .message.success {
    border-radius: 10px;
    padding: 0.875rem 1rem;
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
    background-color: #d1fae5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

/* Legacy single-card forgot layout (if used elsewhere) */
.forgot-password-card {
    width: 100%;
    max-width: 440px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    border: 1px solid #e5e7eb;
    padding: 40px 36px 32px;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.forgot-password-card .message.error,
.forgot-password-card .message.success {
    border-radius: 10px;
    padding: 0.875rem 1rem;
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
}

.forgot-password-card .message.success {
    background-color: #d1fae5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

/* Card with solid white background (legacy single card) */
.glass-card {
    width: 100%;
    max-width: 520px;
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    border: 1px solid #e2e8f0;
    padding: 28px 26px 20px 26px;
    /* Remove any transparency */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.form-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 0.5rem;
}

.form-subtitle {
    color: #4a5568;
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.5;
}

/* Messages */
.messages {
    margin-bottom: 1.5rem;
}

.message {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.message.error {
    background-color: #fed7d7;
    color: #c53030;
    border: 1px solid #feb2b2;
}

.login-form-panel .message.error {
    border-radius: 10px;
    padding: 0.875rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Form Styling */
.login-form {
    width: 100%;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: white;
}

.form-input:focus {
    outline: none;
    border-color: #1e90cc;
    box-shadow: 0 0 0 3px rgba(30, 144, 204, 0.1);
}

.form-input::placeholder {
    color: rgba(116, 113, 113, 0.59);
}

/* Login Button */
.login-button {
    width: 100%;
    background: linear-gradient(135deg, #1e90cc 0%, #1fb5a2 100%);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 0.5rem;
    position: relative;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
}

.login-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(30, 144, 204, 0.3);
}

.login-button:active {
    transform: translateY(0);
}

.login-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.login-button:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Footer */
.footer-links {
    text-align: center;
    margin-bottom: 1rem;
}

.footer-link {
    color: #718096;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #1e90cc;
}

.separator {
    color: #cbd5e0;
    margin: 0 0.75rem;
}

.support-info {
    text-align: center;
    color: #4a5568;
    font-size: 0.75rem;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    html {
        -webkit-text-size-adjust: 100%;
    }
    
    body {
        overflow-y: auto;
        overflow-x: hidden;
        height: auto;
        min-height: 100vh;
        min-height: 100dvh;
    }
    
    .login-centered {
        padding: max(12px, env(safe-area-inset-left)) max(12px, env(safe-area-inset-right));
        min-height: 100vh;
        min-height: 100dvh;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .login-split-card {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        min-height: auto;
        border-radius: 16px;
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
    }
    
    .login-form-panel {
        flex: 1 1 auto;
        width: 100%;
        padding: 28px 20px 24px;
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }
    
    .login-form-panel .login-form-inner {
        max-width: 100%;
    }
    
    .login-form-panel .form-title {
        font-size: 1.5rem;
        margin-bottom: 2.25rem;
    }
    
    .login-form-panel .form-subtitle {
        font-size: 0.8125rem;
        margin-bottom: 1.5rem;
    }
    
    .login-form-panel .form-group {
        margin-bottom: 1.25rem;
    }
    
    .login-form-panel .form-input-underline {
        min-height: 44px;
        padding: 0.75rem 1rem;
        font-size: 16px; /* prevents zoom on iOS */
    }
    
    .login-form-panel .login-button {
        min-height: 48px;
        padding: 0.875rem 1.25rem;
        border-radius: 10px;
        font-size: 0.9375rem;
    }
    
    .login-form-panel .password-toggle-btn {
        min-width: 44px;
        min-height: 44px;
    }
    
    .login-panel-signup {
        padding-top: 1.25rem;
    }
    
    .login-signup-btn {
        min-height: 48px;
        padding: 0.875rem 1rem;
        font-size: 0.8125rem;
    }
    
    .login-welcome-panel {
        flex: 0 0 auto;
        width: 100%;
        padding: 24px 20px;
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
        min-height: 160px;
    }
    
    .welcome-title {
        font-size: 1.375rem;
        margin-bottom: 10px;
    }
    
    .welcome-subtitle {
        font-size: 0.8125rem;
        max-width: 100%;
    }
    
    .welcome-panel-footer {
        font-size: 0.6875rem;
        margin-top: 1rem;
    }
    
    .forgot-form-panel {
        flex: 1 1 auto;
        width: 100%;
        padding: 28px 20px 24px;
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }
    .forgot-form-panel .forgot-title {
        font-size: 1.5rem;
        margin-bottom: 2.25rem;
    }
    .forgot-input {
        min-height: 44px;
        font-size: 16px;
    }
    .forgot-submit-btn {
        min-height: 48px;
        padding: 0.875rem 1.25rem;
        border-radius: 10px;
    }
    .forgot-password-card {
        max-width: 100%;
        width: 100%;
        padding: 24px 20px;
        border-radius: 12px;
    }
    .forgot-title {
        font-size: 1.375rem;
        margin-bottom: 18px;
    }
    .glass-card {
        max-width: 100%;
        width: 100%;
        padding: 24px 20px 20px 20px;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    }
    
    .form-title {
        font-size: 1.5rem;
        margin-bottom: 0.25rem;
    }
    
    .form-subtitle {
        font-size: 0.875rem;
        margin-bottom: 1.5rem;
        line-height: 1.4;
    }
    
    .form-group {
        margin-bottom: 1.25rem;
    }
    
    .form-label {
        font-size: 0.8rem;
        margin-bottom: 0.4rem;
    }
    
    .form-input {
        padding: 0.75rem 0.875rem;
        font-size: 0.9rem;
        border-radius: 6px;
    }
    
    .login-button {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
        border-radius: 6px;
    }
    
    .support-info {
        font-size: 0.7rem;
        margin-top: 6px;
    }
}

@media (max-width: 480px) {
    .login-centered {
        padding: max(10px, env(safe-area-inset-left)) max(10px, env(safe-area-inset-right));
    }
    
    .login-split-card {
        border-radius: 12px;
    }
    
    .login-form-panel {
        padding: 22px 16px 20px;
        padding-left: max(16px, env(safe-area-inset-left));
        padding-right: max(16px, env(safe-area-inset-right));
    }
    
    .login-form-panel .form-title {
        font-size: 1.375rem;
    }
    
    .login-form-panel .form-subtitle {
        font-size: 0.75rem;
        margin-bottom: 1.25rem;
    }
    
    .login-form-panel .form-input-underline {
        min-height: 44px;
        padding: 0.625rem 0.875rem;
    }
    
    .login-form-panel .login-button {
        min-height: 48px;
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
    
    .login-signup-btn {
        min-height: 44px;
        padding: 0.75rem 1rem;
        font-size: 0.75rem;
    }
    
    .login-welcome-panel {
        padding: 20px 16px;
        min-height: 140px;
    }
    
    .welcome-title {
        font-size: 1.25rem;
    }
    
    .welcome-subtitle {
        font-size: 0.75rem;
    }
    
    .forgot-form-panel {
        padding: 22px 16px 20px;
        padding-left: max(16px, env(safe-area-inset-left));
        padding-right: max(16px, env(safe-area-inset-right));
    }
    .forgot-form-panel .forgot-title {
        font-size: 1.375rem;
        margin-bottom: 1.75rem;
    }
    .forgot-submit-btn {
        min-height: 48px;
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
    .forgot-password-card {
        padding: 20px 16px;
    }
    
    .forgot-title {
        font-size: 1.25rem;
    }
    
    .glass-card {
        padding: 20px 16px 16px 16px;
        border-radius: 10px;
    }
    
    .form-title {
        font-size: 1.375rem;
    }
    
    .form-subtitle {
        font-size: 0.8rem;
        margin-bottom: 1.25rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-input {
        padding: 0.7rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .login-button {
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
    }
    
    .message {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }
}

/* Landscape mobile orientation */
@media (max-width: 768px) and (orientation: landscape) {
    .login-centered {
        padding: 8px;
        align-items: flex-start;
        padding-top: max(8px, env(safe-area-inset-top));
    }
    
    .login-split-card {
        max-width: 100%;
        flex-direction: row;
        min-height: auto;
    }
    
    .login-form-panel {
        padding: 16px 20px;
    }
    
    .forgot-form-panel {
        padding: 16px 20px;
    }
    
    .login-welcome-panel {
        min-height: 200px;
        padding: 16px 20px;
    }
    
    .welcome-title {
        font-size: 1.125rem;
    }
    
    .welcome-subtitle {
        font-size: 0.75rem;
    }
    
    .glass-card {
        max-width: 400px;
        padding: 20px 18px 16px 18px;
    }
    
    .form-title {
        font-size: 1.25rem;
        margin-bottom: 0.2rem;
    }
    
    .form-subtitle {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-input {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .login-button {
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .glass-card {
        border-width: 0.5px;
    }
    
    .form-input {
        border-width: 0.5px;
    }
}