/* personal-center.css - 个人中心样式 */
/* 页面容器 */
.personal-center-container {
    padding: 140px 20px 40px;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 100vh;
    animation: fadeIn 0.5s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 主要内容区域 */
.main-content {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

/* 侧边栏菜单 */
.sidebar-menu {
    width: 280px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px) saturate(180%);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 30px;
    position: sticky;
    top: 140px;
    height: fit-content;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sidebar-menu:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(0, 255, 255, 0.3);
}

/* 用户卡片 */
.user-card {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
}

.user-card::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00ffff, transparent);
}

.user-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
    position: relative;
    transition: transform 0.3s ease;
}

.user-avatar:hover {
    transform: scale(1.05);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid rgba(0, 255, 255, 0.6);
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
}

.user-avatar .edit-avatar {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #00ffff, #0099ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 3px 10px rgba(0, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.user-avatar .edit-avatar:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.6);
}

.user-info h2 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 5px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.user-email {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin-bottom: 10px;
    word-break: break-all;
    background: rgba(0, 255, 255, 0.1);
    padding: 5px 10px;
    border-radius: 6px;
    display: inline-block;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.user-bio {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin: 10px 0;
    line-height: 1.5;
    font-style: italic;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 3px solid #00ffff;
}

.user-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.user-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    backdrop-filter: blur(5px);
}

.user-meta i {
    color: #00ffff;
}

/* 菜单项 */
.menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-item {
    padding: 12px 15px;
    color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    margin-bottom: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.menu-item:hover::before {
    left: 100%;
}

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

.menu-item.active {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.2), rgba(0, 153, 255, 0.2));
    color: #00ffff;
    border-left: 3px solid #00ffff;
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.1);
    border-color: rgba(0, 255, 255, 0.3);
}

.menu-item i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

.menu-badge {
    margin-left: auto;
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
    font-weight: 600;
}

/* 主要内容区域 */
.content-area {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px) saturate(180%);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.tab-content {
    padding: 30px;
    display: none;
    animation: slideIn 0.3s ease;
}

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

.tab-content.active {
    display: block;
}

.tab-content h2 {
    color: white;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(0, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1.5rem;
}

/* 概览标签页 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #00ffff, #0099ff);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 255, 0.3);
    box-shadow: 0 10px 20px rgba(0, 255, 255, 0.1);
}

.stat-value {
    font-size: 2.2rem;
    font-weight: bold;
    color: #00ffff;
    margin-bottom: 5px;
    text-shadow: 0 2px 10px rgba(0, 255, 255, 0.3);
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 500;
}

/* 账户信息表格 */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    overflow: hidden;
}

.info-table th {
    text-align: left;
    padding: 18px 25px;
    color: white;
    font-weight: 500;
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
    font-size: 0.95rem;
}

.info-table td {
    padding: 18px 25px;
    color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
}

.info-table tr:last-child td {
    border-bottom: none;
}

.info-value {
    font-weight: 600;
    color: #00ffff;
}

.info-edit {
    color: #00ffff;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.info-edit:hover {
    text-decoration: underline;
    gap: 8px;
}

/* 设置标签页 */
.settings-section {
    margin-bottom: 35px;
}

.settings-section h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 15px;
    border-left: 4px solid #00ffff;
    height: 24px;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.setting-info h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 5px;
    font-weight: 500;
}

.setting-info p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* 开关样式改进 */
.switch {
    position: relative;
    display: inline-block;
    width: 54px;
    height: 28px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.15);
    transition: .4s;
    border-radius: 34px;
    border: 2px solid transparent;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: white;
    transition: .4s;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

input:checked + .slider {
    background: linear-gradient(135deg, #00ffff, #0099ff);
    border-color: rgba(0, 255, 255, 0.3);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

/* 按钮组改进 */
.action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-primary {
    background: linear-gradient(135deg, #00ffff, #0099ff);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-size: 1rem;
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 255, 255, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-3px);
    border-color: rgba(0, 255, 255, 0.3);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-danger {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-size: 1rem;
    box-shadow: 0 5px 15px rgba(244, 67, 54, 0.2);
}

.btn-danger:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(244, 67, 54, 0.3);
}

/* 空状态改进 */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.7);
}

.empty-state i {
    font-size: 4rem;
    color: rgba(0, 255, 255, 0.3);
    margin-bottom: 20px;
    display: block;
}

.empty-state h3 {
    color: white;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.empty-state p {
    margin-bottom: 30px;
    font-size: 1rem;
}

/* 模态框改进 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
}

.modal.active {
    display: block;
}

.modal-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(25px) saturate(180%);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 35px;
    width: 90%;
    max-width: 500px;
    margin: 100px auto;
    animation: modalSlideIn 0.4s ease;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.modal-content.danger {
    border-color: rgba(244, 67, 54, 0.4);
    background: rgba(244, 67, 54, 0.1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.modal-header h3 {
    color: white;
    font-size: 1.4rem;
    font-weight: 600;
}

.modal-close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.8rem;
    cursor: pointer;
    padding: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.modal-body {
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

/* 通知改进 */
.notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    padding: 18px 24px;
    color: white;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 1001;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    max-width: 400px;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification.success {
    border-color: rgba(76, 175, 80, 0.4);
    background: rgba(76, 175, 80, 0.15);
}

.notification.error {
    border-color: rgba(244, 67, 54, 0.4);
    background: rgba(244, 67, 54, 0.15);
}

.notification i {
    font-size: 1.4rem;
}

.notification.success i {
    color: #4CAF50;
}

.notification.error i {
    color: #ff6b6b;
}

/* 编辑资料表单改进 */
.edit-form {
    margin-top: 20px;
}

.form-group {
    margin-bottom: 25px;
     overflow: visible !important;
}

.form-group label {
    display: block;
    color: white;
    margin-bottom: 10px;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    position: relative;
}

.form-input:hover {
    border-color: rgba(0, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.form-input:focus {
    outline: none;
    border-color: #00ffff;
    box-shadow: 0 0 0 3px rgba(0, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.12);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.5;
}

.form-hint {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* 头像上传样式改进 */
.avatar-upload-container {
    text-align: center;
    margin: 25px 0 30px;
}

.avatar-preview {
    width: 140px;
    height: 140px;
    margin: 0 auto 20px;
    position: relative;
    cursor: pointer;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(0, 255, 255, 0.4);
    box-shadow: 0 10px 25px rgba(0, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.avatar-preview:hover {
    border-color: #00ffff;
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 255, 255, 0.3);
}

.avatar-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-upload-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.avatar-preview:hover .avatar-upload-overlay {
    opacity: 1;
}

.avatar-upload-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s ease;
}

.avatar-upload-btn:hover {
    transform: scale(1.1);
}

.avatar-upload-btn i {
    font-size: 1.8rem;
    color: #00ffff;
}

.avatar-input {
    display: none;
}

.avatar-upload-options {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.avatar-upload-options .btn-small {
    padding: 10px 20px;
    border-radius: 8px;
}

/* 需要添加的动画 */
@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.fa-spin {
    animation: spin 1s linear infinite;
}

/* 错误状态样式 */
.error-state {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.7);
}

.error-state i {
    font-size: 4rem;
    color: #ff6b6b;
    margin-bottom: 20px;
    display: block;
}

.error-state h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.error-state p {
    margin-bottom: 30px;
    font-size: 1rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* 响应式设计 */
@media (max-width: 900px) {
    .main-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .sidebar-menu {
        width: 100%;
        position: static;
        margin-bottom: 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
select.form-input {
    /* position: fixed !important; */
    left: 150px !important;
    top: 26px !important;
    transform: translate(-50%, -50%) !important;
    width: 300px !important;
    height: 55px !important;
    background: rgba(0, 0, 0, 0.3) !important;
    z-index: 2147483647 !important;
}
@media (max-width: 576px) {
    .personal-center-container {
        padding: 120px 15px 20px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .modal-content {
        padding: 25px 20px;
        width: 95%;
        margin: 80px auto;
    }
    
    .notification {
        right: 15px;
        left: 15px;
        max-width: none;
    }
}

/* 添加以下样式到 personal-center.css 末尾 */

/* 加载动画改进 */
.loading-spinner {
    text-align: center;
    padding: 60px 0;
    color: rgba(255, 255, 255, 0.8);
}

.loading-spinner i {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
    color: #00ffff;
}

.loading-spinner p {
    font-size: 1rem;
}

/* 收藏网格改进 */
.favorites-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.favorite-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.favorite-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #00ffff, #0099ff);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.favorite-item:hover::before {
    transform: scaleY(1);
}

.favorite-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
    border-color: rgba(0, 255, 255, 0.2);
    box-shadow: 0 10px 20px rgba(0, 255, 255, 0.1);
}

.favorite-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.15), rgba(0, 153, 255, 0.15));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.favorite-icon i {
    font-size: 1.8rem;
    color: #00ffff;
}

.favorite-info {
    flex: 1;
}

.favorite-info h4 {
    color: white;
    margin-bottom: 8px;
    font-size: 1.1rem;
    font-weight: 500;
}

.favorite-category, .favorite-date {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 3px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.favorite-category i, .favorite-date i {
    color: #00ffff;
}

.favorite-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

/* 按钮样式改进 */
.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-small:not(.btn-danger) {
    background: rgba(0, 255, 255, 0.1);
    color: #00ffff;
    border: 1px solid rgba(0, 255, 255, 0.3);
}

.btn-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-small.btn-danger {
    background: rgba(244, 67, 54, 0.1);
    color: #ff6b6b;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

/* 历史记录列表改进 */
.history-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.history-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.history-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    border-color: rgba(76, 175, 80, 0.2);
}

.history-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.15), rgba(56, 142, 60, 0.15));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.history-icon i {
    font-size: 1.8rem;
    color: #4CAF50;
}

.history-info {
    flex: 1;
}

.history-info h4 {
    color: white;
    margin-bottom: 8px;
    font-size: 1.1rem;
    font-weight: 500;
}

.history-time {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.history-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

/* 数量显示改进 */
.favorites-count, .history-count {
    color: rgba(255, 255, 255, 0.8);
    margin: 20px 0;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border-left: 3px solid #00ffff;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.count-number {
    color: #00ffff;
    font-weight: bold;
    font-size: 1.3rem;
}

/* 账单提示改进 */
.billing-hint {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-top: 15px;
    padding: 15px;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(76, 175, 80, 0.2);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.billing-hint i {
    color: #4CAF50;
    font-size: 1.2rem;
    margin-top: 2px;
}

/* ==================== 简化版账户设置 ==================== */
.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.setting-card {
    background: rgba(255, 255, 255, 0.07);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.3s ease;
}

.setting-card:hover {
    border-color: rgba(0, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.setting-card h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.setting-card h4 i {
    color: #00ffff;
    font-size: 1.2rem;
}

.setting-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.setting-option:last-child {
    border-bottom: none;
}

.setting-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-weight: 500;
}

/* 简单的开关样式改进 */
.simple-switch {
    width: 50px;
    height: 26px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 13px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.simple-switch.active {
    background: linear-gradient(135deg, #00ffff, #0099ff);
    border-color: rgba(0, 255, 255, 0.3);
}

.simple-switch::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    background: white;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.simple-switch.active::before {
    transform: translateX(24px);
}

/* 简单的按钮组改进 */
.setting-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.setting-btn {
    padding: 12px 18px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.setting-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.setting-btn:hover::before {
    left: 100%;
}

.setting-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.setting-btn.danger {
    border-color: rgba(244, 67, 54, 0.3);
    background: rgba(244, 67, 54, 0.1);
    color: #ff6b6b;
}

.setting-btn.danger:hover {
    background: rgba(244, 67, 54, 0.2);
}

/* 简化版编辑资料表单改进 */
.simple-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row .form-group {
    flex: 1;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .favorite-item, .history-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .favorite-icon, .history-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .favorite-actions, .history-actions {
        margin-top: 15px;
        width: 100%;
        justify-content: flex-end;
    }
    
    .settings-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
}