/* 会员中心样式 */

.user-profile {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.profile-header {
    display: flex;
    align-items: center;
}

.avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 30px;
    border: 3px solid #ff6b35;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

.vip-status {
    display: flex;
    align-items: center;
}

.vip-badge {
    background-color: #ff6b35;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    margin-right: 15px;
}

.normal-badge {
    background-color: #999;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    margin-right: 15px;
}

.upgrade-link {
    color: #ff6b35;
    text-decoration: none;
    font-weight: 500;
}

.upgrade-link:hover {
    text-decoration: underline;
}

/* 会员功能导航 */
.member-nav {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.member-nav ul {
    display: flex;
    list-style: none;
    padding: 0 20px;
}

.member-nav ul li {
    margin-right: 30px;
}

.member-nav ul li a {
    display: block;
    padding: 15px 0;
    text-decoration: none;
    color: #999;
    font-weight: 500;
    transition: color 0.3s;
}

.member-nav ul li a:hover,
.member-nav ul li.active a {
    color: #ff6b35;
}

/* 会员内容区域 */
.member-section {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.member-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
    border-left: 4px solid #ff6b35;
    padding-left: 10px;
}

/* 订单表格样式 */
.orders-table {
    overflow-x: auto;
}

.orders-table table {
    width: 100%;
    border-collapse: collapse;
}

.orders-table th,
.orders-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.orders-table th {
    background-color: #f5f5f5;
    font-weight: 500;
    color: #666;
}

/* 登录提示 */
/* 已移除旧的登录提示样式，使用新的登录/注册表单样式 */

/* 歌曲元数据 */
.song-meta {
    display: flex;
    align-items: center;
}

.play-time {
    font-size: 14px;
    color: #999;
}

/* 登录/注册表单样式 */
.login-register-container {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.tab-container {
    max-width: 400px;
    margin: 0 auto;
}

.tabs {
    display: flex;
    border-bottom: 2px solid #eee;
    margin-bottom: 30px;
}

.tab-btn {
    flex: 1;
    padding: 15px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 16px;
    color: #999;
    transition: all 0.3s;
}

.tab-btn.active {
    color: #ff6b35;
    border-bottom: 2px solid #ff6b35;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input {
    /* width: 100%; */
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #ff6b35;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background-color: #ff6b35;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #e55a2b;
}

.error-message {
    background-color: #ffebee;
    color: #c62828;
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.success-message {
    background-color: #e8f5e9;
    color: #2e7d32;
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

/* 个人设置样式 */
.settings-form {
    max-width: 600px;
}

.avatar-preview {
    display: flex;
    align-items: center;
    gap: 20px;
}

.avatar-preview img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.change-avatar-btn {
    padding: 8px 15px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.change-avatar-btn:hover {
    background-color: #e0e0e0;
}

/* 协议链接样式 */
.agreements-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.agreements-section h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

.agreements-list {
    list-style: none;
}

.agreements-list li {
    margin-bottom: 10px;
}

.agreements-list a {
    color: #ff6b35;
    text-decoration: none;
}

.agreements-list a:hover {
    text-decoration: underline;
}

/* 用户操作 */
.user-actions {
    margin-top: 15px;
}

.logout-link {
    color: #999;
    text-decoration: none;
    font-size: 14px;
}

.logout-link:hover {
    color: #ff6b35;
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
    
    .avatar {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .vip-status {
        justify-content: center;
    }
    
    .member-nav ul {
        flex-wrap: wrap;
        padding: 0 10px;
    }
    
    .member-nav ul li {
        margin-right: 10px;
        margin-bottom: 10px;
    }
    
    .orders-table {
        font-size: 14px;
    }
    
    .orders-table th,
    .orders-table td {
        padding: 10px 5px;
    }
    
    .avatar-preview {
        flex-direction: column;
        align-items: flex-start;
    }
}