﻿/* تغییر رمز عبور - محتوای اصلی */
.password-profile-content {
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 30px;
    width: 100%;
}

.password-profile-section {
    margin-bottom: 40px;
}

    .password-profile-section:last-child {
        margin-bottom: 0;
    }

.password-section-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-color);
    font-weight: 600;
}

.password-profile-form {
    max-width: 600px;
}

.password-form-group {
    margin-bottom: 25px;
    position: relative;
}

.password-form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-color);
}

.password-form-control {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

    .password-form-control:focus {
        outline: none;
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.1);
    }

    .password-form-control.password-error {
        border-color: var(--danger-color);
        box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
    }

.password-toggle-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--gray-color);
    transition: var(--transition);
}

    .password-toggle-icon:hover {
        color: var(--primary-color);
    }

.password-form-help {
    font-size: 0.85rem;
    color: var(--gray-color);
    margin-top: 5px;
}

.password-error-message {
    font-size: 0.85rem;
    color: var(--danger-color);
    margin-top: 5px;
    display: none;
}

.password-strength-meter {
    margin-top: 10px;
    height: 5px;
    background: var(--border-color);
    border-radius: 3px;
    overflow: hidden;
}

.password-strength-fill {
    height: 100%;
    width: 0%;
    transition: var(--transition);
    border-radius: 3px;
}

.password-strength-weak {
    background: var(--danger-color);
    width: 25%;
}

.password-strength-medium {
    background: #f39c12;
    width: 50%;
}

.password-strength-strong {
    background: var(--secondary-color);
    width: 75%;
}

.password-strength-very-strong {
    background: #27ae60;
    width: 100%;
}

.password-strength-text {
    font-size: 0.8rem;
    margin-top: 5px;
    font-weight: 600;
}

.password-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--secondary-color);
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-family: inherit;
}

    .password-btn:hover {
        background: #3d8b40;
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .password-btn:disabled {
        background: var(--gray-color);
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }

.password-btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

    .password-btn-outline:hover {
        background: var(--primary-color);
        color: white;
    }

.password-action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.password-success-message {
    background: #e8f5e8;
    border: 1px solid #c8e6c9;
    color: #2d5016;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: none;
}

.password-security-tips {
    background: #fff3e0;
    border: 1px solid #ffe0b2;
    color: #e67e22;
    padding: 20px;
    border-radius: 10px;
    margin-top: 30px;
}

    .password-security-tips h4 {
        color: #e67e22;
        margin-bottom: 15px;
        font-size: 1.1rem;
    }

    .password-security-tips ul {
        list-style: none;
        padding-right: 0;
    }

    .password-security-tips li {
        margin-bottom: 10px;
        padding-right: 25px;
        position: relative;
    }

        .password-security-tips li:before {
            content: "✓";
            position: absolute;
            right: 0;
            color: #e67e22;
            font-weight: bold;
        }

/* رسپانسیو */
@media (max-width: 768px) {
    .password-profile-content {
        padding: 20px;
    }

    .password-action-buttons {
        flex-direction: column;
    }

    .password-section-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .password-profile-content {
        padding: 15px;
    }

    .password-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        justify-content: center;
    }

    .password-security-tips {
        padding: 15px;
    }
}
