/**
 * 打手平台移动端样式
 */

/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    color: #333;
    background-color: #f5f5f5;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    position: relative;
    min-height: 100vh;
}

.mobile-container {
    max-width: 750px;
    margin: 0 auto;
    background-color: #fff;
    min-height: 100vh;
    position: relative;
    padding-bottom: 50px; /* 底部导航的高度 */
}

/* 内容区域 */
.content-area {
    padding-bottom: 10px;
}

/* 底部导航栏 */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background-color: #fff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid #eee;
    z-index: 1000;
    max-width: 750px;
    margin: 0 auto;
}

.bottom-nav .nav-item {
    flex: 1;
    text-align: center;
    color: #999;
}

.bottom-nav .nav-item.active {
    color: #007bff;
}

.bottom-nav .nav-item a {
    color: inherit;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bottom-nav .nav-item i {
    font-size: 20px;
    margin-bottom: 2px;
}

.bottom-nav .nav-item span {
    font-size: 12px;
}

/* 通用组件样式 */
.section {
    margin-bottom: 15px;
    background-color: #fff;
    padding: 10px 15px;
}

.section-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-title .more {
    font-size: 12px;
    color: #999;
    font-weight: normal;
}

/* 轮播图样式 */
.swiper-container {
    width: 100%;
    border-radius: 5px;
    overflow: hidden;
}

.swiper-slide img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

/* 游戏分类样式 */
.category-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding: 10px 0;
}

.category-item {
    width: 20%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 15px;
}

.category-item .icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f0f3f8;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 5px;
}

.category-item .icon img {
    width: 25px;
    height: 25px;
    object-fit: contain;
}

.category-item .name {
    font-size: 12px;
    color: #666;
}

/* 电竞俱乐部卡片样式 */
.dashou-list {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -5px;
}

.dashou-card {
    width: 50%;
    padding: 0 5px;
    margin-bottom: 15px;
}

.dashou-card .card {
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.dashou-card .card-img-top {
    height: 120px;
    object-fit: cover;
}

.dashou-card .card-body {
    padding: 10px;
}

.dashou-card .card-title {
    font-size: 14px;
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashou-card .card-text {
    font-size: 12px;
    color: #666;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    height: 36px;
    margin-bottom: 8px;
}

.dashou-card .info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.dashou-card .price {
    color: #f85149;
    font-weight: bold;
}

.dashou-card .orders {
    color: #999;
}

/* 搜索框样式 */
.search-bar {
    padding: 10px 15px;
    background-color: #fff;
    position: sticky;
    top: 0;
    z-index: 10;
}

.search-input {
    width: 100%;
    height: 36px;
    background-color: #f5f5f5;
    border-radius: 18px;
    display: flex;
    align-items: center;
    padding: 0 15px;
}

.search-input i {
    color: #999;
    margin-right: 5px;
}

.search-input input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 14px;
    color: #333;
    outline: none;
}

/* 头部的个人信息 */
.user-info-header {
    background-color: #007bff;
    color: #fff;
    padding: 20px 15px;
}

.user-info-header .user-profile {
    display: flex;
    align-items: center;
}

.user-info-header .avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.user-info-header .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info-header .user-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.user-info-header .user-level {
    font-size: 12px;
    opacity: 0.8;
}

/* 菜单列表 */
.menu-list {
    background-color: #fff;
    margin-bottom: 10px;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #f5f5f5;
}

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

.menu-item .left {
    display: flex;
    align-items: center;
}

.menu-item .icon {
    width: 20px;
    text-align: center;
    margin-right: 10px;
    color: #007bff;
}

.menu-item .label {
    font-size: 14px;
    color: #333;
}

.menu-item .right {
    color: #999;
    font-size: 14px;
}

.menu-item .arrow {
    margin-left: 5px;
}

/* 订单列表样式 */
.order-list .order-item {
    background-color: #fff;
    border-radius: 8px;
    margin-bottom: 10px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.order-list .order-header {
    display: flex;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 1px solid #f5f5f5;
    margin-bottom: 10px;
}

.order-list .order-no {
    font-size: 12px;
    color: #666;
}

.order-list .order-status {
    font-size: 12px;
    font-weight: bold;
}

.order-list .order-status.unpaid {
    color: #f85149;
}

.order-list .order-status.paid {
    color: #0070f3;
}

.order-list .order-status.completed {
    color: #28a745;
}

.order-list .order-content {
    display: flex;
    margin-bottom: 10px;
}

.order-list .order-img {
    width: 60px;
    height: 60px;
    margin-right: 10px;
    border-radius: 4px;
    overflow: hidden;
}

.order-list .order-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-list .order-info {
    flex: 1;
}

.order-list .service-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.order-list .service-price {
    font-size: 12px;
    color: #666;
}

.order-list .order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-list .order-total {
    font-size: 14px;
}

.order-list .order-total .amount {
    font-weight: bold;
    color: #f85149;
}

.order-list .order-btns {
    display: flex;
}

.order-list .order-btn {
    padding: 5px 12px;
    font-size: 12px;
    border-radius: 4px;
    margin-left: 8px;
}

/* 订单状态标签颜色 */
.status-0 {
    color: #f85149;
}

.status-1 {
    color: #0070f3;
}

.status-2 {
    color: #0070f3;
}

.status-3 {
    color: #28a745;
}

.status-4, .status-5 {
    color: #666;
} 
 