/* ==========================================
   Change Password Page Specific Styles
   ========================================== */

.change-password-container {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
}

/* Form layout */
.change-password-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Form divider */
.form-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 10px 0;
}

/* Success State */
.success-state {
    text-align: center;
    padding: 20px 0;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-radius: 50%;
    animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.success-state h2 {
    font-size: var(--font-size-h3, 1.5rem);
    font-weight: var(--font-weight-bold, 700);
    color: var(--text-primary);
    margin-bottom: 15px;
}

.success-state p {
    font-size: var(--font-size-body, 1rem);
    color: var(--text-secondary);
    line-height: var(--line-height-body, 1.5);
    margin-bottom: 25px;
}

/* Password strength indicator */
.password-strength {
    margin-top: 10px;
}

.strength-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 8px;
}

.strength-fill {
    height: 100%;
    width: 0;
    transition: width 0.3s ease, background 0.3s ease;
    border-radius: 2px;
}

.strength-fill.weak {
    width: 33%;
    background: #ef4444;
}

.strength-fill.medium {
    width: 66%;
    background: #fbbf24;
}

.strength-fill.strong {
    width: 100%;
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.strength-text {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.strength-text.weak {
    color: #ef4444;
}

.strength-text.medium {
    color: #fbbf24;
}

.strength-text.strong {
    color: #22c55e;
}

/* Responsive */
@media (max-width: 640px) {
    .change-password-container {
        padding: 0 10px;
    }

    .success-icon {
        width: 60px;
        height: 60px;
        font-size: 1.875rem;
    }

    .success-state h2 {
        font-size: 1.25rem;
    }
}
