/* Mobile App Styles */
:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
}
@font-face {
    font-family: 'GothamBook';
    src:  url('/assets/index/font/GothamBook.ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Gotham-Light';
    src:  url('/assets/index/font/Gotham-Light.ttf');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Gotham-Medium';
    src:  url('/assets/index/font/Gotham-Medium.ttf');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Gotham-Bold';
    src:  url('/assets/index/font/Gotham-Bold.ttf');
    font-weight: normal;
    font-style: normal;
}

/* Base Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    background-color: #fff;
    margin: 0;
    padding: 0;
    word-spacing: 0.8px;
    letter-spacing: 0.8px;
}

/* 顶部提示条 */
.top-notice {
    background-color: #1d1819;
    color: #EEEEEF;
    text-align: center;
    height: 16px;
    padding: 8px;
    /*font-size: 12px;*/
    font-size: 8pt;
    font-family: GothamBook;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}
#app{
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.content{
    flex: 1;
}
/* 头部样式 */
.mobile-header {
    position: fixed;
    top: 20px; /* 顶部提示条高度 */
    left: 0;
    width: 100%;
    height: 140px;
    background-color: #fff;
    /*box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);*/
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Logo样式 */
.logo {
    flex: 1;
    text-align: center;
    padding-top: 7px;
}

.logo img {
    height: 66px; /* 增加logo尺寸 */
    width: auto;
}

/* 菜单按钮样式 */
.menu-toggle {
    width: 20px;
    height: 12px;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* 邮箱图标样式 */
.email-link {
    font-size: 15px;
}

.email-link a {
    color: #333;
    text-decoration: none;
}

/* 侧边菜单 */
.mobile-menu {
    position: fixed;
    top: 160px; /* 顶部提示条(34px) + 头部高度(100px) */
    left: 0;
    width: 100%;
    height: calc(100vh - 160px); /* 使用视口高度 */
    background-color: #fff;
    z-index: 1001;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto; /* 添加垂直滚动 */
}

.mobile-menu.active {
    transform: translateX(0);
}

.menu-open {
    overflow: hidden; /* 修改为 hidden */
}

.menu-content {
    flex: 1;
    overflow-y: auto; /* 添加垂直滚动 */
    -webkit-overflow-scrolling: touch; /* 增加 iOS 滚动支持 */
}

.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    min-height: 100%; /* 确保列表至少占满容器高度 */
}

.menu-item {
    /*border-bottom: 1px solid #c7c8ca;*/
    border-bottom: 1px solid;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    color: #000;
    text-decoration: none;
    /*font-size: 16px;*/
    font-size: 12pt;
    font-family: GothamBook;
}

.menu-item a span {
    font-weight: normal;
}

.menu-item a i {
    color: #000;
    font-size: 20px;
}

.menu-footer {
    /*padding: 20px;*/
    padding: 5px 20px 40px 20px;
    text-align: left;
    color: #616268;
    font-size: 5.5pt;
    /*border-top: 1px solid #c7c8ca;*/
    border-top: 1px solid #000;
    font-family: GothamBook;
}

.menu-footer p {
    margin: 0;
    color: #000;
    font-size: 5.5pt;
    font-family: GothamBook;
}

/* 内容区域 */
.content {
    padding-top: 160px; /* 顶部提示条(34px) + 头部高度(100px) */
    /*min-height: calc(100vh - 134px - 200px);*/
}

/* 底部样式 */
.mobile-footer {
    background-color: #f8f9fa;
    padding: 20px 0;
    border-top: 1px solid #eee;
}

.footer-container {
    padding: 0 15px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 15px;
}

.footer-links a {
    margin: 0 10px 10px;
    color: #666;
    text-decoration: none;
}

.footer-contact {
    text-align: center;
    margin-bottom: 15px;
    color: #666;
}

.footer-contact p {
    margin: 5px 0;
}

.footer-copyright {
    text-align: center;
    color: #999;
    font-size: 12px;
}

.footer-copyright p {
    margin: 5px 0;
}

.footer-copyright a {
    color: #999;
    text-decoration: none;
}



/* Container */
.mobile-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 15px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-weight: 500;
    line-height: 1.2;
}

/* Links */
a {
    color: var(--primary-color);
    text-decoration: none;
}

/*a:hover {
    color: #0056b3;
    text-decoration: underline;
}*/

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.btn-primary {
    color: #fff;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Cards */
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: 0.25rem;
    margin-bottom: 1rem;
}

.card-body {
    flex: 1 1 auto;
    padding: 1.25rem;
}

/* Utilities */
.text-center {
    text-align: center;
}

.mt-3 {
    margin-top: 1rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 235px;
    right: 15px;
    width: 25px;
    height: 25px;
    /*background-color: var(--primary-color);*/
    color: #fff;
    /*border-radius: 50%;*/
    display: flex;
    justify-content: center;
    align-items: center;
    /*box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);*/
    cursor: pointer;
    z-index: 999;
    display: none;
}
.back-to-top img{
    width: 25px;
    height: 25px;
}

/* Media Queries */
@media (max-width: 576px) {
    .mobile-container {
        padding: 10px;
    }
    
    .section-title {
        font-size: 16px;
    }
}

@media (min-width: 577px) and (max-width: 768px) {
    .mobile-container {
        padding: 15px;
    }
}

