/* Profile Page Styles */
.profile-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
    background: var(--background-color);
    min-height: 100vh;
}

.profile-header {
    display: flex;
    align-items: center;
    background: var(--card-background);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 32px;
    border: 1px solid var(--border-color);
}

.profile-avatar {
    margin-right: 32px;
}

.avatar-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.avatar-placeholder:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-hover);
}

.avatar-placeholder i {
    font-size: 3rem;
    color: white;
}

.profile-info {
    flex: 1;
}

.profile-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.profile-username {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin: 8px 0 0 0;
}

.profile-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.profile-section {
    background: var(--card-background);
    padding: 32px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.profile-section:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 8px;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.info-item {
    display: flex;
    align-items: center;
    padding: 16px;
    background: var(--surface-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.info-item:hover {
    background: var(--background-color);
    transform: translateX(4px);
}

.info-item i {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-right: 16px;
    transition: var(--transition);
}

.info-item:hover i {
    transform: scale(1.1);
}

.info-item div {
    flex: 1;
}

.info-item strong {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.info-item p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 1rem;
}

.profile-actions {
    grid-column: span 2;
    text-align: center;
    margin-top: 24px;
}

.edit-button {
    padding: 12px 24px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    background: var(--gradient-primary);
    color: white;
    border: none;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    margin-right: 16px;
}

.edit-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.password-reset-button {
    padding: 12px 24px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    background: #ff9800;
    color: white;
    border: none;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.password-reset-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.password-section {
    grid-column: span 2;
    margin-top: 32px;
    display: none;
}

.password-form {
    background: var(--card-background);
    padding: 32px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    max-width: 500px;
    margin: 0 auto;
    transition: var(--transition);
    animation: fadeInUp 0.6s ease-out both;
}

.password-form h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.edit-profile-section {
    grid-column: span 2;
    margin-top: 32px;
    display: none;
}

.edit-profile-form {
    background: var(--card-background);
    padding: 32px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    max-width: 500px;
    margin: 0 auto;
    transition: var(--transition);
    animation: fadeInUp 0.6s ease-out both;
}

.edit-profile-form h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.reset-message {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 20px;
    padding: 12px;
    background: var(--surface-color);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

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

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--background-color);
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.btn-success {
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    background: #28a745;
    color: white;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
    }

    .profile-avatar {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .profile-content {
        grid-template-columns: 1fr;
    }

    .profile-actions,
    .password-section,
    .edit-profile-section {
        grid-column: span 1;
    }

    .profile-name {
        font-size: 2.5rem;
    }

    .avatar-placeholder {
        width: 120px;
        height: 120px;
    }

    .avatar-placeholder i {
        font-size: 4rem;
    }
}