/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #f5f5f5;
    overflow-x: hidden; /* 防止水平滚动 */
}

[v-cloak] {
    display: none;
}

#app {
    width: 100%;
    max-width: 100%; /* 防止内容溢出 */
}

.navbar-logo img {
    height: 50px !important; /* 调整 logo 的高度 */
    width: auto; /* 保持图片的宽高比 */
}

/* styles.css */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #000;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* 导航栏样式 */
.navbar {
    background-color: #007bff;
    color: white;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px; /* 添加内边距 */
}

.navbar-logo {
    font-size: 24px;
    cursor: pointer;
}

.navbar-links {
    list-style: none;
    display: flex;
}

.navbar-links li {
    margin: 0 15px;
}

.navbar-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.navbar-links a:hover {
    color: #e0e0e0;
}
@media (max-width: 768px) {
    .navbar-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 250px;
        height: 100%;
        background-color: #007bff;
        padding-top: 60px;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
        flex-direction: column;
    }

    .navbar-links.show {
        display: flex;
    }

    .menu-toggle {
        display: block;
        cursor: pointer;
    }
}
/* 语言选择下拉菜单样式 */
.language-select {
    position: relative;
    margin-left: 20px;
}

.language-select button {
    background-color: transparent;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.language-dropdown {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 120px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.language-dropdown a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.language-dropdown a:hover {
    background-color: #f1f1f1;
}

.language-select:hover .language-dropdown {
    display: block;
}

/* 下载区域样式 */
.download {
    padding: 60px 0;
    /*background-image: url('../images/bg.png');*/
	background-color: #0056b3;
    background-size: cover;
    background-position: center;
    color: white;
}

.download-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 0 15px; /* 添加内边距 */
}

.download-content {
    width: 100%;
    max-width: 600px; /* 可根据实际情况调整 */
    text-align: center;
}

.download h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.download p {
    font-size: 18px;
    margin-bottom: 20px;
    max-width: 600px;
}

.download button {
    padding: 15px 30px;
    font-size: 18px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.android-btn {
    background-color: #007bff; /* 蓝色 */
    color: white;
    margin-right: 10px;
}

.android-btn:hover {
    background-color: #0056b3;
}

.ios-btn {
    background-color: #dc3545; /* 红色 */
    color: white;
}

.ios-btn:hover {
    background-color: #c82333;
}

/* 滚动播报区域样式 */
.scroll-broadcast {
    width: 300px;
    height: 200px;
    overflow: hidden;
    position: relative;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    padding: 10px;
}

.scroll-broadcast ul {
    list-style: none;
    position: absolute;
    bottom: 0;
    width: 100%;
    animation: scroll-up 15s linear infinite;
    text-align: center; /* 文本居中 */
}

.scroll-broadcast li {
    padding: 5px 0;
    opacity: 1;
    font-size: 12px; /* 字体大小 12px */
    color: #FE2d45; /* 颜色橙色 */
}

@keyframes scroll-up {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-100%);
    }
}

/* 团队介绍区域样式 */
.team-intro {
    padding: 120px 0 80px 0;
    max-width: 1200px;
    margin: 80px auto;
    text-align: center;
    padding: 0 15px; /* 添加内边距 */
}

.team-intro h2 {
    font-size: 32px;
    margin-bottom: 40px;
    color: #333;
}

.team-members {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.team-member {
    width: 280px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
}

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}

.team-member h3 {
    font-size: 20px;
    margin-bottom: 5px;
    color: #333;
}

.team-member .position {
    font-size: 16px;
    color: #666;
    margin-bottom: 10px;
}

.team-member .description {
    font-size: 14px;
    color: #888;
}

/* 项目介绍区域样式 */
.project-intro {
    padding: 120px 0 80px 0;
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 15px; /* 添加内边距 */
    
}

.project-intro img {
    width: 40%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    float: left;
    margin-right: 40px;
}

.project-intro .text-content {
    overflow: hidden;
}

.project-intro h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #333;
}

.project-intro p {
    font-size: 15px;
    color: #666;
    text-indent: 2em;
}
.project-intro li {
    list-style-position: inside; /* 将列表项编号或标记显示在内容区域内 */
    padding-left: 2em; /* 设置合适的左内边距 */
    font-size: 15px;
    color: #666;
}
/* 公司介绍区域样式 */
.company-intro {
    padding: 120px 0 80px 0;
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 15px; /* 添加内边距 */
}

.company-intro img {
    width: 40%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    float: left;
    margin-right: 40px;
}

.company-intro .text-content {
    overflow: hidden;
}

.company-intro h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #333;
}

.company-intro p {
    font-size: 15px;
    color: #666;
    text-indent: 2em;
}

/* 注册区域样式 */
.registration {
    padding: 120px 0 0 0;
    width: 100%;
    margin: 80px 0 0 0;
    background-color: #e9f2ff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 15px; /* 添加内边距 */
    flex-wrap: wrap; /* 允许元素换行 */
}

.registration-form {
    padding-left: 20px;
}

.registration h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #333;
}

.registration form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.registration input {
    width: 300px;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.registration button {
    padding: 15px 30px;
    font-size: 18px;
    border: none;
    border-radius: 8px;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.registration button:hover {
    background-color: #0056b3;
}

.contact-info {
    text-align: center;
    margin-top: 20px; /* 在小屏幕下添加顶部间距 */
}

.contact-info img {
    width: 200px;
    height: 200px;
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 10px;
}

.input-group {
    display: flex;
    align-items: center;
}

.input-group i {
    margin-right: 10px;
}

.verification-code-group {
    display: flex;
    width: 300px;
    margin: 10px 0;
    align-items: center;
}

.verification-code-group input {
    flex: 2;
    margin-right: 10px;
}

.verification-code-group button {
    flex: 1;
    padding: 10px;
    font-size: 16px;
    white-space: nowrap;
}

.error-message {
    color: red;
    font-size: 12px;
    margin-top: -5px;
    margin-bottom: 10px;
}

/* 弹窗样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 300px;
    border-radius: 8px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    text-align: center;
}

.modal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.modal-close:hover,
.modal-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-button {
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    margin-top: 20px;
}

.modal-button:hover {
    background-color: #0056b3;
}

/* 媒体查询，当屏幕宽度小于 768px 时调整布局 */
@media (max-width: 768px) {
    .registration {
        flex-direction: column;
        align-items: center;
    }

    .registration-form {
        padding-left: 0;
        margin-bottom: 20px;
    }

    .contact-info {
        margin-top: 0;
    }
}
/* 原有的样式保持不变 */

/* 媒体查询，当屏幕宽度小于 768px 时调整布局 */
@media (max-width: 768px) {
    .registration {
        flex-direction: column;
        align-items: center;
    }

    .registration-form {
        padding-left: 0;
        margin-bottom: 20px;
    }

    .contact-info {
        margin-top: 0;
    }

    /* 新增：调整验证码输入框和按钮的样式 */
    .verification-code-group {
        width: 100%; /* 让验证码组占满父容器宽度 */
        flex-direction: column; /* 垂直排列输入框和按钮 */
        align-items: stretch; /* 让子元素拉伸以填充宽度 */
    }

    .verification-code-group input {
        margin-right: 0; /* 移除输入框的右边距 */
        margin-bottom: 10px; /* 添加底部间距 */
        flex: none; /* 取消弹性布局的比例 */
        width: 100%; /* 让输入框占满宽度 */
    }

    .verification-code-group button {
        flex: none; /* 取消弹性布局的比例 */
        width: 100%; /* 让按钮占满宽度 */
    }
}
