/* ============================================
   我的页面及评价历史样式
   适配青少年友好配色方案
============================================ */

/* 我的页面容器 */
.profile-container {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

/* 用户信息卡片 */
.user-card {
    background: var(--gradient-header);
    border-radius: 20px;
    padding: 24px;
    color: white;
    margin-bottom: 20px;
}

.user-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.user-nickname {
    font-size: 18px;
    font-weight: 600;
}

.edit-btn {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
}

.edit-btn:active {
    background: rgba(255,255,255,0.3);
}

.user-mobile, .user-province {
    font-size: 14px;
    margin-bottom: 8px;
    opacity: 0.9;
}

/* 统计数据卡片 */
.stats-card {
    display: flex;
    background: var(--bg-card);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(95, 184, 120, 0.05);
    border: 1px solid var(--border-light);
}

.stat-item {
    flex: 1;
    text-align: center;
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    color: var(--text-secondary);
}

/* 菜单卡片 */
.menu-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid var(--border-light);
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-light);
    cursor: pointer;
    transition: background 0.2s;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item:active {
    background: var(--bg-hover);
}

.menu-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-icon {
    font-size: 20px;
}

.menu-text {
    font-size: 15px;
    color: var(--text-primary);
}

.menu-arrow {
    color: var(--text-light);
    font-size: 18px;
}

/* 联系信息卡片 */
.contact-card {
    background: var(--bg-body);
    border-radius: 12px;
    padding: 15px;
    margin-top: 20px;
    border: 1px solid var(--border-light);
}

.contact-card h4 {
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.contact-email {
    color: var(--primary-color);
    font-size: 13px;
    word-break: break-all;
}

.contact-note {
    font-size: 11px;
    color: var(--text-light);
    margin-top: 8px;
}

/* ============================================
   退出登录按钮 - 使用橘色（辅助色）
============================================ */
.logout-btn {
    width: 100%;
    background: var(--bg-card);
    color: var(--secondary-color);      /* 橘色 #FFB347 */
    border: 1px solid var(--secondary-color);
    padding: 14px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 20px;
}

.logout-btn:active {
    background: rgba(255, 179, 71, 0.1);
    transform: scale(0.98);
}

/* ============================================
   评价历史样式
============================================ */
.rating-history-list {
    flex: 1;
    padding: 12px 20px;
    overflow-y: auto;
}

.rating-history-item {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 15px;
    margin-bottom: 12px;
    border: 1px solid var(--border-light);
    box-shadow: 0 2px 8px rgba(95, 184, 120, 0.05);
}

.history-hotline-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.history-rating-stars {
    color: var(--warning-color);
    font-size: 14px;
    margin-bottom: 8px;
}

.history-review-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.history-review-content {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    line-height: 1.4;
}

.history-review-time {
    font-size: 11px;
    color: var(--text-light);
    text-align: right;
}

/* ============================================
   删除账号按钮 - 红色警告样式
============================================ */
.delete-account-btn {
    width: 100%;
    background: var(--bg-card);
    color: var(--danger-color, #E86A5A);
    border: 1px solid var(--danger-color, #E86A5A);
    padding: 14px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 12px;
}

.delete-account-btn:active {
    background: rgba(232, 106, 90, 0.1);
    transform: scale(0.98);
}

/* 删除确认弹窗样式（可选，用于美化） */
.delete-confirm-modal .modal-content {
    max-width: 300px;
}

.delete-confirm-modal .warning-text {
    color: var(--danger-color, #E86A5A);
    font-weight: 500;
    text-align: center;
    margin: 10px 0;
}

.delete-confirm-modal .modal-body {
    text-align: center;
}