:root {
    --main-color: #d95517;
    --hover-color: #fff5f2;
    --bg-color: #f5f5f5;
    --card-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
body {
    background: var(--bg-color);
    min-height: 100vh;
}

/* 卡片通用样式 */
.card-section {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: var(--card-shadow);
}

/* 用户信息区域 */
.user-info {
   
    color: #fff;
    padding: 25px 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
}
.user-info::after {
    content: '';
    position: absolute;
    right: -20%;
    top: -20%;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}
.user-avatar {
    width: 70px;
    height: 70px;
    border: 2px solid rgba(255,255,255,0.8);
    padding: 2px;
    background: #fff;
}
.user-name {
    font-size: 1.2rem;
    margin: 10px 0 5px;
    color: #fff;
}

.user-info .fa-cog {
    font-size: 24px;
}

/* 订单中心 */
.order-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}
.order-header h5 {
    margin: 0;
    font-size: 1.1rem;
}
.view-all {
    color: #999;
    font-size: 0.9rem;
    text-decoration: none;
}
.order-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    text-align: center;
}
.order-item {
    padding: 12px 8px;
    position: relative;
    text-decoration: none;
    color: inherit;
}
.order-item i {
    font-size: 24px;
    color: #ff6b3d; /* 统一使用橙色 */
    margin-bottom: 8px;
    display: block;
}
.order-item p {
    margin: 0;
    font-size: 13px;
    color: #666;
}
.badge {
    position: absolute;
    top: 0;
    right: 25%;
    transform: translateX(50%);
    font-size: 12px;
    padding: 3px 6px;
    color: #e74c3c; /* 红色文字 */
    border: 1px solid #e74c3c; /* 红色边框 */
    border-radius: 50%; /* 圆形 */
    min-width: 20px; /* 确保圆形 */
    height: 20px; /* 确保圆形 */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

/* 我的服务 */
.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}
.service-item {
    text-align: center;
    padding: 15px 10px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}
.service-item:active {
    background: var(--hover-color);
}
.service-item i {
    font-size: 28px;
    color: var(--main-color);
    margin-bottom: 8px;
    display: block;
}
.service-item i.fa-ticket-alt {
    color: #e67e22; /* 橙色 */
}
.service-item i.fa-star {
    color: #f1c40f; /* 黄色 */
}
.service-item i.fa-shoe-prints {
    color: #1abc9c; /* 青色 */
}
.service-item i.fa-map-marker-alt {
    color: #e74c3c; /* 红色 */
}
.service-item i.fa-user {
    color: #3498db; /* 蓝色 */
}
.service-item i.fa-question-circle {
    color: #95a5a6; /* 灰色 */
}
.service-item i.fa-comment {
    color: #9b59b6; /* 紫色 */
}
.service-item i.fa-cog {
    color: #34495e; /* 深灰色 */
}
.service-item p {
    margin: 0;
    font-size: 12px;
    color: #666;
}

/* PC端会员中心样式 */
.member-section {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    margin-top: 15px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.member-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.member-title {
    font-size: 18px;
    font-weight: 500;
    color: #333;
}

.member-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.stat-value {
    font-size: 24px;
    font-weight: 600;
    color: #d95517;
    margin-bottom: 8px;
}

.stat-label {
    color: #666;
    font-size: 14px;
}

.member-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.member-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    cursor: pointer;
}

.member-card:hover {
    border-color: #d95517;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.member-card i {
    font-size: 28px;
    color: #d95517;
    margin-bottom: 12px;
}

.member-card-title {
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
}

.member-card-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .member-section {
        padding: 15px;
        margin-bottom: 15px;
    }

    .member-stats,
    .member-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .user-container {
        padding: 0;
    }
    .user-info {
        border-radius: 0;
        margin: 0 -15px 8px;
        padding: 80px 15px 20px 15px;
    }
    .card-section {
        padding: 12px;
        margin-bottom: 8px;
    }
    .service-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }
    .service-item {
        padding: 10px 5px;
    }
    .service-item i {
        font-size: 24px;
    }
}

/* 桌面端左侧导航 */
@media (min-width: 769px) {
    .nav-section {
        background: #fff;
        border-radius: 8px;
        padding: 15px 0;
        box-shadow: var(--card-shadow);
        position: sticky;
        top: 15px;
    }
    .nav-item {
        padding: 15px 25px;
        color: #333;
        font-size: 15px;
        font-weight: 500;
        display: flex;
        align-items: center;
        gap: 10px;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    .nav-item:hover {
        color: var(--main-color);
        background: var(--hover-color);
    }
    .nav-item i {
        font-size: 16px;
        width: 20px;
        text-align: center;
    }
    .nav-sub-item {
        padding: 12px 25px 12px 54px;
    }
    .nav-sub-item a {
        color: #666;
        text-decoration: none;
        font-size: 14px;
        transition: all 0.3s ease;
        display: block;
    }
    .nav-sub-item a:hover {
        color: var(--main-color);
    }
    .nav-sub-item.active a {
        color: var(--main-color);
        font-weight: 500;
    }
    .nav-section a {
        text-decoration: none;
        color: inherit;
        display: block;
        width: 100%;
    }
}

/* 分页样式 */
.pagination-wrapper {
    display: flex;
    justify-content: flex-end;
    padding: 20px 15px;
}
.layui-laypage {
    display: flex;
    align-items: center;
    gap: 8px;
}
.layui-laypage a,
.layui-laypage span {
    padding: 0 15px;
    height: 32px;
    line-height: 32px;
    border-radius: 2px;
    color: #666;
    transition: all .3s;
}
.layui-laypage a {
    text-decoration: none;
    border: 1px solid #e2e2e2;
    background-color: #fff;
}
.layui-laypage a:hover {
    color: var(--main-color);
    border-color: var(--main-color);
}
.layui-laypage-curr {
    background-color: var(--main-color) !important;
    border-color: var(--main-color) !important;
}
.layui-laypage-curr em {
    color: #fff !important;
    font-style: normal;
}
.layui-laypage-prev,
.layui-laypage-next {
    padding: 0 12px;
}
@media (max-width: 768px) {
    .user-info{background: linear-gradient(45deg, var(--main-color), #ff6b3d);}
    .pagination-wrapper {
        justify-content: center;
        padding: 15px 0;
    }
    .layui-laypage {
        gap: 5px;
    }
    .layui-laypage a,
    .layui-laypage span {
        padding: 0 12px;
        height: 28px;
        line-height: 28px;
        font-size: 13px;
    }
}

.settings-link {
    padding: 10px;
    position: relative;
    z-index: 100;
}
.settings-link i {
    font-size: 24px;
    color: #fff;
}
.user-info {
    position: relative;
}
.divider {
margin: 0 30px;
color: #000;
}
.globe-icon {
width: 45px;
height: 45px;
vertical-align: middle;
position: relative;

}
.language-login span {
cursor: pointer;
}
.login-register {
background-color: #f5f5f5;
padding: 12px 20px;
border-radius: 4px;
display: inline-block;
line-height: 1;
font-weight: 200;
color: #000;
}
.login-register span {
color: #000;
}