/* common.css */
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f8f8f8;
    color: #333;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    padding-bottom: 60px; /* 留出底部导航栏的空间 */
}

.nav-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #fff;
    border-top: 1px solid #eee;
    height: 60px;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.05);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    color: #666;
    text-decoration: none;
    flex: 1;
}

.nav-item.active {
    color: #2c974b; /* 主题绿色 */
}

.nav-item i {
    font-size: 22px;
    margin-bottom: 4px;
}

.header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

.header-bar .title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.search-icon, .settings-icon, .back-arrow, .register-text, .transfer-icon {
    font-size: 20px;
    color: #666;
}

/* 顶部导航 Tabs */
.top-tabs {
    display: flex;
    justify-content: space-around;
    background-color: #fff;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.top-tab {
    padding: 5px 10px;
    color: #666;
    font-size: 14px;
    position: relative;
    cursor: pointer;
}

.top-tab.active {
    color: #000;
    font-weight: bold;
}

.top-tab.active::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -5px;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background-color: #2c974b; /* 主题绿色 */
    border-radius: 2px;
}

/* 选择器条 */
.filter-bar {
    display: flex;
    justify-content: space-around;
    padding: 10px 15px;
    background-color: #f8f8f8;
    border-bottom: 1px solid #eee;
}

.filter-item {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 13px;
}

.filter-item i {
    font-size: 12px;
    margin-left: 5px;
}

/* 卡片样式 */
.card-list {
    padding: 10px 15px;
}

.card {
    background-color: #fff;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.card-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    flex-shrink: 0;
}

.card-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}

.card-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.card-subtitle {
    font-size: 13px;
    color: #666;
    margin-bottom: 5px;
}

.card-location {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
}

.card-price {
    font-size: 18px;
    font-weight: bold;
    color: #ff5722; /* 价格颜色 */
    display: flex;
    align-items: baseline;
}

.card-price span {
    font-size: 13px;
    font-weight: normal;
    margin-left: 3px;
}

.card-buttons {
    display: flex;
    gap: 5px;
    margin-left: 10px;
}

.btn-green, .btn-blue, .btn-grey {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    white-space: nowrap;
}

.btn-green {
    background-color: #e6f6ee;
    color: #2c974b;
}

.btn-blue {
    background-color: #e0f2f7;
    color: #007bff;
}

.btn-grey {
    background-color: #f0f0f0;
    color: #999;
}

/* 我的页面样式 */
.my-header {
    background-color: #fff;
    padding: 20px 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eee;
}

.avatar-placeholder {
    width: 60px;
    height: 60px;
    background-color: #e0e0e0;
    border-radius: 50%;
    margin-right: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    color: #999;
}

.login-register-text {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.my-grid {
    display: flex;
    flex-wrap: wrap;
    background-color: #fff;
    padding: 10px 0;
    margin-top: 10px;
    border-bottom: 1px solid #eee;
}

.grid-item {
    flex: 0 0 50%; /* 两列布局 */
    display: flex;
    align-items: center;
    padding: 15px;
    box-sizing: border-box;
}

.grid-item i {
    font-size: 22px;
    margin-right: 10px;
    color: #666;
}

.grid-item span {
    font-size: 15px;
    color: #333;
}

.my-list-item {
    background-color: #fff;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    font-size: 15px;
    color: #333;
}

.my-list-item:last-child {
    border-bottom: none;
}

.my-list-item i.fa-angle-right {
    color: #999;
    font-size: 18px;
}

.version-info {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

/* 登录页面样式 */
.login-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

.login-logo {
    display: flex;
    justify-content: center;
    margin: 40px 0 30px;
}

.login-logo img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.input-group {
    margin: 0 30px 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.input-group input {
    border: none;
    outline: none;
    width: 100%;
    padding: 10px 0;
    font-size: 16px;
    color: #333;
}

.input-group input::placeholder {
    color: #aaa;
}

.login-btn {
    margin: 30px;
    padding: 15px;
    background-color: #2c974b;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
}

.forgot-password {
    text-align: right;
    margin-right: 30px;
    color: #666;
    font-size: 14px;
}

.third-party-login-text {
    text-align: center;
    color: #999;
    font-size: 14px;
    margin: 60px 0 20px;
    position: relative;
}

.third-party-login-text::before,
.third-party-login-text::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background-color: #eee;
}

.third-party-login-text::before {
    left: 20px;
}

.third-party-login-text::after {
    right: 20px;
}


.third-party-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
}

.third-party-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #666;
}

.third-party-icon img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* 体育游页面样式 */
.sport-tour-tabs {
    display: flex;
    justify-content: space-around;
    background-color: #fff;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.sport-tour-tab {
    padding: 5px 10px;
    color: #666;
    font-size: 14px;
    position: relative;
    cursor: pointer;
}

.sport-tour-tab.active {
    color: #000;
    font-weight: bold;
}

.sport-tour-tab.active::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -5px;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background-color: #2c974b; /* 主题绿色 */
    border-radius: 2px;
}

.sport-tour-filter-bar {
    display: flex;
    justify-content: space-around;
    padding: 10px 15px;
    background-color: #f8f8f8;
    border-bottom: 1px solid #eee;
}

.sport-tour-filter-item {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 13px;
}

.sport-tour-filter-item i {
    font-size: 12px;
    margin-left: 5px;
}

.sport-tour-card {
    background-color: #fff;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.sport-tour-card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.sport-tour-card-content {
    padding: 15px;
}

.sport-tour-tag {
    background-color: #e6f6ee;
    color: #2c974b;
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: bold;
    margin-bottom: 8px;
    display: inline-block;
}

.sport-tour-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.sport-tour-location-date {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

.sport-tour-price {
    font-size: 18px;
    font-weight: bold;
    color: #ff5722;
    margin-bottom: 5px;
}

.sport-tour-price span {
    font-size: 13px;
    font-weight: normal;
    margin-left: 3px;
}

.sport-tour-labels {
    display: flex;
    gap: 5px;
}

.sport-tour-label {
    background-color: #f0f0f0;
    color: #999;
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 11px;
}