/* 个人资料模态框样式 */

/* 头像区域 */
.profile-avatar-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
    transition: all 0.3s ease;
}

.profile-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.4);
}

.profile-avatar i {
    font-size: 3.5rem;
    color: white;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 信息列表 */
.profile-info-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.profile-info-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.profile-info-item:hover {
    background: var(--bg-tertiary);
    border-color: var(--primary-color);
    transform: translateX(4px);
}

.info-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 120px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.info-label i {
    width: 20px;
    text-align: center;
    color: var(--primary-color);
}

.info-value {
    flex: 1;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
}

.info-edit-btn {
    padding: 6px 12px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-edit-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.info-edit-btn i {
    font-size: 0.9rem;
}

/* 会员徽章 */
.membership-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.membership-badge.free {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.membership-badge.pro {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.membership-badge.ultra {
    background: #f59e0b;
    color: white;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

.membership-badge i {
    font-size: 0.85rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .profile-avatar {
        width: 100px;
        height: 100px;
    }

    .profile-avatar i {
        font-size: 3rem;
    }

    .profile-info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .info-label {
        min-width: auto;
    }

    .info-value {
        width: 100%;
    }

    .info-edit-btn {
        align-self: flex-end;
    }
}

@media (max-width: 480px) {
    .profile-avatar-section {
        padding: 1.5rem 0;
    }

    .profile-avatar {
        width: 80px;
        height: 80px;
    }

    .profile-avatar i {
        font-size: 2.5rem;
    }

    .profile-info-item {
        padding: 0.75rem;
    }

    .info-label,
    .info-value {
        font-size: 0.85rem;
    }
}
