* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "SimHei", sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

.container {
    max-width: 100%;
    margin: 0 auto;
}

/* 顶部样式 */
.header {
    background-color: #e60000;
    color: #ffd700;
    text-align: center;
    padding: 20px 0;
    position: relative;
    background-image: linear-gradient(to bottom, #e60000, #c00000);
    border-bottom: 3px solid #ffd700;
}

.logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.main-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.sub-title {
    font-size: 1.5rem;
    font-weight: normal;
    margin-bottom: 10px;
}

/* 内容区样式 */
.content {
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 20px;
}

.policy-info {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border-left: 4px solid #e60000;
}

.policy-info p {
    line-height: 1.6;
    text-indent: 2em;
}

/* 表单样式 */
.register-form {
    margin-bottom: 30px;
}

.register-form h3 {
    color: #e60000;
    margin-bottom: 15px;
    text-align: center;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.agreement {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.agreement input {
    margin-top: 5px;
    margin-right: 10px;
}

.agreement label {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #666;
}

.submit-btn {
    background-color: #e60000;
    color: #fff;
    border: none;
    padding: 12px 20px;
    font-size: 1.1rem;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    font-weight: bold;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #c00000;
}

/* 分享区域样式 */
.share-section {
    background-color: #fff8e1;
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
    border: 1px dashed #ffd700;
}

.share-section h3 {
    color: #e60000;
    margin-bottom: 15px;
    text-align: center;
}

#userInviteCode {
    font-weight: bold;
    color: #e60000;
    font-size: 1.2rem;
}

.share-btn {
    background-color: #ffd700;
    color: #e60000;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    margin: 10px 0;
    font-weight: bold;
    display: block;
    width: 100%;
    transition: background-color 0.3s;
}

.share-btn:hover {
    background-color: #ffcc00;
}

.share-text {
    background-color: #fff;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
    margin-top: 10px;
    white-space: pre-line;
}

/* 底部样式 */
.footer {
    background-color: #e60000;
    color: #fff;
    padding: 20px;
    text-align: center;
    margin-top: 30px;
}

.team-info {
    margin-bottom: 15px;
}

.team-info h3 {
    color: #ffd700;
    margin-bottom: 10px;
}

.copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 20px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .main-title {
        font-size: 2rem;
    }

    .sub-title {
        font-size: 1.2rem;
    }

    .content {
        margin: 10px;
        padding: 15px;
    }
}

/* 导航链接样式 */
.nav-links {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    padding: 8px 15px;
    margin: 0 10px;
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.nav-link.active {
    background-color: #ffd700;
    color: #e60000;
    font-weight: bold;
}

/* 查询页面样式 */
.query-form {
    margin-bottom: 30px;
}

.query-form h3 {
    color: #e60000;
    margin-bottom: 15px;
    text-align: center;
    font-size: 1.5rem;
}

.result-info {
    margin-bottom: 20px;
}

.info-card {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #eee;
}

.info-card p {
    margin-bottom: 10px;
}

.highlight-code {
    font-weight: bold;
    color: #e60000;
    font-size: 1.2rem;
}

.team-section {
    margin-top: 30px;
    border-top: 1px dashed #ddd;
    padding-top: 20px;
}

.team-stats {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: bold;
    color: #e60000;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
}

.team-members {
    margin-top: 20px;
}

.team-members h4 {
    margin-bottom: 15px;
    color: #333;
}

.member-list {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
    max-height: 300px;
    overflow-y: auto;
}

.empty-message {
    text-align: center;
    color: #888;
    font-style: italic;
}

.member-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}

.member-item:last-child {
    border-bottom: none;
}
.member-item {
    display: flex;
    justify-content: space-between;
    padding: 12px;
    border-bottom: 1px solid #eee;
    background-color: #fff;
    margin-bottom: 8px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.member-item:last-child {
    margin-bottom: 0;
}

.member-name {
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.member-phone {
    color: #666;
    font-size: 0.9rem;
}

.debt-amount {
    color: #e60000;
    font-weight: bold;
}

.join-time {
    color: #999;
    font-size: 0.8rem;
    margin-top: 5px;
}