.login-container {
    min-height: calc(100vh - 300px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.login-card {
    margin-top: 50px;
    max-width: 480px;
    width: 100%;
    background: white;
    border-radius: 28px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    padding: 48px 40px;
    transition: transform 0.3s ease;
}

/* Header */
.login-header {
    text-align: center;
    margin-bottom: 32px;
}

.login-header h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.login-header p {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

/* SSL Badge */
.ssl-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f0fdf4;
    padding: 8px 16px;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #166534;
    border: 1px solid #bbf7d0;
    margin-top: 8px;
}

.ssl-badge i {
    color: #10b981;
}

/* Sign Up Link */
.signup-link {
    text-align: center;
    margin-top: 12px;
}

.signup-link a {
    color: #da0b4e;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.signup-link a:hover {
    color: #b00842;
    text-decoration: underline;
}

/* Important Update Box */
.update-box {
    background: linear-gradient(135deg, #fff9e6, #fff4e0);
    border: 1px solid #ffe5b4;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}

.update-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff9800, #ffc107);
}

.update-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.new-badge {
    background: #ff9800;
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.update-header i {
    color: #ff9800;
    font-size: 1.1rem;
}

.update-header h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #b45309;
    margin: 0;
}

.update-box p {
    font-size: 0.85rem;
    color: #92400e;
    line-height: 1.5;
    margin-bottom: 12px;
}

.update-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.update-feature {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #b45309;
    background: rgba(255, 152, 0, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
}

.update-feature i {
    font-size: 0.7rem;
    color: #ff9800;
}

.compliance-text {
    font-size: 0.7rem;
    color: #b45309;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #ffe5b4;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Form */
.login-form {
    margin-top: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1a1a2e;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-wrapper {
    position: relative;
}

.input-wrapper input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e9ecef;
    border-radius: 16px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background: white;
}

.input-wrapper input.error-input {
    border-color: #ef4444;
    background-color: #fff5f5;
}

.input-wrapper input:focus {
    outline: none;
    border-color: #da0b4e;
    box-shadow: 0 0 0 3px rgba(218, 11, 78, 0.1);
}

.input-wrapper input.error-input:focus {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.input-wrapper input::placeholder {
    color: #adb5bd;
}

.error-message {
    display: block;
    color: #ef4444;
    font-size: 0.75rem;
    margin-top: 6px;
    margin-left: 12px;
}

.password-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #adb5bd;
    transition: color 0.2s;
    z-index: 2;
}

.toggle-password:hover {
    color: #da0b4e;
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.remember-me input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #da0b4e;
}

.remember-me span {
    font-size: 0.85rem;
    color: #495057;
}

.forgot-link {
    font-size: 0.85rem;
    color: #da0b4e;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.forgot-link:hover {
    color: #b00842;
    text-decoration: underline;
}

/* Login Button */
.login-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #da0b4e, #4f46e5);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    margin-bottom: 24px;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -8px rgba(218, 11, 78, 0.4);
}

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

/* Divider */
.divider {
    text-align: center;
    position: relative;
    margin: 24px 0;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e9ecef;
}

.divider span {
    background: white;
    padding: 0 16px;
    position: relative;
    color: #6c757d;
    font-size: 0.8rem;
}

/* Alert */
.alert {
    padding: 12px 16px;
    border-radius: 14px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert.error {
    background: #fee2e2;
    color: #991b1b;
}

.alert.success {
    background: #dcfce7;
    color: #166534;
}

.alert.info {
    background: #e8f4fd;
    color: #0c5460;
}

.alert i {
    font-size: 1.1rem;
}

.alert .close-alert {
    margin-left: auto;
    cursor: pointer;
    font-size: 1rem;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.alert .close-alert:hover {
    opacity: 1;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.forgot-modal {
    background: white;
    border-radius: 24px;
    max-width: 420px;
    width: 90%;
    padding: 32px;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-overlay.active .forgot-modal {
    transform: scale(1);
}

.forgot-modal h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1a1a2e;
}

.forgot-modal p {
    color: #6c757d;
    font-size: 0.85rem;
    margin-bottom: 24px;
}

.modal-buttons {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.modal-buttons button {
    flex: 1;
    padding: 12px;
    border-radius: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
    border: none;
}

.modal-buttons .btn-cancel {
    background: #f1f3f5;
    color: #495057;
}

.modal-buttons .btn-submit {
    background: linear-gradient(135deg, #da0b4e, #4f46e5);
    color: white;
}

.modal-buttons button:hover {
    transform: translateY(-2px);
}

.modal-buttons button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #adb5bd;
    transition: color 0.2s;
}

.close-modal:hover {
    color: #da0b4e;
}

/* Responsive */
@media (max-width: 550px) {
    .login-card {
        padding: 32px 24px;
    }
    
    .login-header h1 {
        font-size: 1.6rem;
    }
    
    .form-options {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .update-features {
        flex-direction: column;
        gap: 8px;
    }
}