/* Enhanced Password Change Section Styles */

/* Password Change Section Container */
.password-change-section {
    margin-top: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(10px);
    overflow: hidden;
    transition: all 0.3s ease;
}

.password-change-section:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Password Change Header */
.password-change-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.password-change-header:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
}

.password-change-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
}

.password-change-title i {
    font-size: 1.2rem;
    color: #ffd700;
}

.password-change-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.password-change-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.password-change-toggle i {
    color: #ffffff;
    transition: transform 0.3s ease;
}

/* Password Change Content */
.password-change-content {
    padding: 2rem;
    background: rgba(0, 0, 0, 0.2);
    animation: slideDown 0.3s ease-out;
}

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

/* Password Change Info */
.password-change-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.05));
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    color: #93c5fd;
    font-size: 0.9rem;
}

.password-change-info i {
    color: #3b82f6;
}

/* Enhanced Form Groups */
.password-change-content .form-group {
    margin-bottom: 1.5rem;
}

.password-change-content .form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #ffffff;
}

.password-change-content .form-group label i {
    color: #ffd700;
    font-size: 0.9rem;
}

.password-change-content .form-group input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.password-change-content .form-group input:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: #ffd700;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
    outline: none;
}

.password-change-content .form-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Password Strength Indicator */
.password-strength-indicator {
    margin-top: 0.5rem;
}

.strength-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    margin-bottom: 0.25rem;
    transition: all 0.3s ease;
}

.strength-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* Password Match Indicator */
.password-match-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
}

.password-match-indicator i {
    font-size: 0.9rem;
}

/* Password Change Actions */
.password-change-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-password-change {
    background: linear-gradient(135deg, #10b981, #059669);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #ffffff;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-password-change:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.btn-password-change:disabled {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    transform: none;
    box-shadow: none;
    cursor: not-allowed;
}

.btn-cancel {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    border: 1px solid rgba(107, 114, 128, 0.3);
    color: #ffffff;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-cancel:hover {
    background: linear-gradient(135deg, #4b5563, #374151);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(107, 114, 128, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .password-change-header {
        padding: 1rem;
    }
    
    .password-change-content {
        padding: 1.5rem;
    }
    
    .password-change-actions {
        flex-direction: column;
    }
    
    .password-change-title {
        font-size: 1rem;
    }
}

/* Fancy Sign Out Confirmation Modal */
.signout-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.signout-modal {
    background: linear-gradient(135deg, var(--soft-black), var(--deep-plum));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 0;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s ease-out;
    overflow: hidden;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.signout-modal-header {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    padding: 2rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.signout-modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

.signout-modal-icon i {
    font-size: 2rem;
    color: #ffffff;
}

.signout-modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    font-family: 'Playfair Display', serif;
}

.signout-modal-content {
    padding: 2rem;
}

.signout-modal-content p {
    text-align: center;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 1.5rem;
    font-weight: 500;
}

.signout-modal-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.signout-detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.signout-detail-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.signout-detail-item i {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.signout-detail-item:nth-child(1) i {
    color: #3b82f6;
}

.signout-detail-item:nth-child(2) i {
    color: #ef4444;
}

.signout-detail-item:nth-child(3) i {
    color: #10b981;
}

.signout-detail-item span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.4;
}

.signout-modal-actions {
    display: flex;
    gap: 1rem;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-cancel-signout {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    border: 1px solid rgba(107, 114, 128, 0.3);
    color: #ffffff;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-cancel-signout:hover {
    background: linear-gradient(135deg, #4b5563, #374151);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(107, 114, 128, 0.3);
}

.btn-confirm-signout {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ffffff;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-confirm-signout:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
}

.btn-confirm-signout:disabled {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    transform: none;
    box-shadow: none;
    cursor: not-allowed;
}

/* Mobile Responsive for Sign Out Modal */
@media (max-width: 768px) {
    .signout-modal {
        width: 95%;
        margin: 1rem;
    }
    
    .signout-modal-header {
        padding: 1.5rem;
    }
    
    .signout-modal-content {
        padding: 1.5rem;
    }
    
    .signout-modal-actions {
        padding: 1.5rem;
        flex-direction: column;
    }
    
    .signout-modal-icon {
        width: 60px;
        height: 60px;
    }
    
    .signout-modal-icon i {
        font-size: 1.5rem;
    }
    
    .signout-modal-header h3 {
        font-size: 1.3rem;
    }
}