* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
body { background: #eef5e8; font-family: system-ui, 'Segoe UI', Roboto, sans-serif; color: #1a3b2e; }

/* ========== 全屏轮播样式 ========== */
.fullscreen-swiper {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #2d6a2f;
}
.swiper-slides {
    position: relative;
    width: 100%;
    height: 100%;
}
.swiper-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.swiper-slide.active {
    opacity: 1;
    z-index: 1;
}
.swiper-dots {
    position: absolute;
    bottom: 80px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 12px;
    z-index: 10;
}
.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    transition: all 0.3s;
    cursor: pointer;
}
.dot.active {
    width: 24px;
    border-radius: 4px;
    background: white;
}
.scroll-down {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    cursor: pointer;
    animation: bounce 1.5s infinite;
    background: rgba(0,0,0,0.4);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.6rem;
    backdrop-filter: blur(4px);
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* 原有内容容器 */
.container {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    border-radius: 24px;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    position: relative;
    z-index: 2;
}
h1 { font-size: 1.6rem; color: #2d6a2f; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
h2 { font-size: 1.3rem; margin: 24px 0 12px 0; border-left: 4px solid #2d6a2f; padding-left: 12px; }
.btn { padding: 5px 16px; border-radius: 40px; text-decoration: none; font-size: 0.85rem; display: inline-block; cursor: pointer; border: none; text-align: center; }
.btn-primary { background: #2d6a2f; color: white; }
.btn-secondary { background: #6c757d; color: white; }
.btn-danger { background: #dc3545; color: white; }
.btn-small { background: #5f8b4c; color: white; padding: 6px 12px; border-radius: 30px; font-size: 0.75rem; cursor: pointer; border: none; display: inline-flex; align-items: center; gap: 6px; text-decoration: none;}
.btn-create { background: #ECF8E5; color: #0A3122; padding: 12px 24px; font-size: 1rem; font-weight: bold; border-radius: 60px; width: 100%; text-align: center; margin: 8px 0 16px; border: none; cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,0.1); transition: all 0.2s; }
.btn-create:hover { background: #FF8C03; transform: translateY(-1px); }
.travel-card { background: #f9fff4; border: 1px solid #cbdcc0; border-radius: 12px; padding: 16px; margin-bottom: 20px; box-shadow: 0 2px 6px rgba(0,0,0,0.03); }
.travel-title { font-size: 1.2rem; font-weight: bold; margin-bottom: 6px; color: #2d6a2f; }
.travel-date { font-size: 0.85rem; color: #6c757d; margin-bottom: 12px; border-left: 3px solid #2d6a2f; padding-left: 8px; }
.travel-stats { display: flex; flex-wrap: wrap; gap: 13px; margin: 10px 0; font-size: 0.9rem; background: #ECF8E5; padding: 12px 15px; border-radius: 10px; }
.travel-stats span { font-weight: bold; color: #2d6a2f; margin-right: 4px; }
.travel-actions { margin-top: 12px; display: flex; gap: 12px; justify-content: flex-end; }
.share-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0;
    padding: 4px 4px 4px 12px;
    border-bottom: 1px dashed #aaa;
}
.share-link a { text-decoration: none; color: #1e4a2a; flex: 1; font-size: 0.95rem; }
.share-link .arrow-right { font-size: 1rem; color: #2d6a2f; margin-left: 8px; }
.section-header { display: flex; justify-content: space-between; align-items: baseline; margin: 30px 0 12px 0; }
.section-header h2 { margin: 0; border-left: 4px solid #2d6a2f; padding-left: 12px; }
.section-header .more-link { font-size: 0.85rem; color: #2d6a2f; text-decoration: none; background: #e8f3e0; padding: 4px 14px; border-radius: 40px; transition: 0.2s; }
.section-header .more-link:hover { background: #d4e8ca; color: #FF8C03; }
.admin-login-link { text-align: center; margin: 30px auto; padding: 10px; font-size: 0.8rem; }
.admin-login-link a { color: #DDDDDD; text-decoration: none; }
.admin-login-link a:hover { text-decoration: underline; }

/* 管理员登录模态框样式 */
.admin-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); z-index: 2000; align-items: center; justify-content: center; }
.admin-modal.show { display: flex; }
.admin-modal-content { background: white; max-width: 380px; width: 90%; border-radius: 28px; padding: 24px 20px; box-shadow: 0 10px 25px rgba(0,0,0,0.2); }
.admin-modal-header { font-size: 1.3rem; font-weight: bold; color: #2d6a2f; margin-bottom: 20px; text-align: center; border-bottom: 2px solid #d9e6cf; padding-bottom: 10px; }
.admin-form-group { margin-bottom: 18px; }
.admin-form-group label { display: block; font-weight: 600; margin-bottom: 6px; color: #1e4a2a; }
.admin-form-group input { width: 100%; padding: 10px 12px; border: 1px solid #cbdcc0; border-radius: 12px; font-size: 0.9rem; }
.captcha-row { display: flex; gap: 10px; align-items: center; }
.captcha-row input { flex: 1; }
.captcha-code { font-weight: bold; font-size: 1.2rem; background: #e8f3e0; padding: 8px 12px; border-radius: 12px; font-family: monospace; letter-spacing: 2px; color: #2d6a2f; border: 1px solid #cbdcc0; text-align: center; min-width: 100px; }
.admin-submit { background: #2d6a2f; color: white; border: none; border-radius: 60px; padding: 10px 20px; font-size: 1rem; font-weight: 600; width: 100%; cursor: pointer; margin-top: 8px; }
.admin-submit:hover { background: #1e4a2a; }
.admin-error { background: #f8d7da; color: #721c24; padding: 8px 12px; border-radius: 12px; margin-bottom: 16px; font-size: 0.85rem; text-align: center; }
.close-admin-modal { float: right; font-size: 1.4rem; font-weight: bold; cursor: pointer; color: #aaa; margin-top: -8px; }

/* 原有模态框样式 */
.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 1000; align-items: flex-end; justify-content: center; }
.modal-content { background: white; width: 100%; max-width: 700px; margin: 0 auto; border-radius: 24px 24px 0 0; box-shadow: 0 -2px 20px rgba(0,0,0,0.2); transform: translateY(100%); transition: transform 0.3s ease-out; display: flex; flex-direction: column; max-height: 90vh; }
.modal.show .modal-content { transform: translateY(0); }
.modal-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1.5px solid #ddd; background: white; border-radius: 24px 24px 0 0; flex-shrink: 0; }
.modal-header span { font-size: 1.3rem; font-weight: bold; }
.close-modal { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: #999; padding: 0; line-height: 1; }
.modal-body { flex: 1; overflow-y: auto; padding: 20px; }
.modal-footer { padding: 16px 20px; border-top: 1px solid #ddd; background: white; flex-shrink: 0; border-radius: 0 0 24px 24px; }
.modal-footer button { background: linear-gradient(135deg, #2d6a2f, #1e4a2a); color: white; border: none; width: 100%; padding: 14px 20px; border-radius: 60px; font-size: 1.1rem; font-weight: bold; cursor: pointer; transition: all 0.2s; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.modal-footer button:hover { background: linear-gradient(135deg, #1e4a2a, #0f3a1a); transform: translateY(-1px); }

h4 { font-size: 1.1rem; margin: 32px 0 16px 0; background: #e8f3e0; padding: 10px 15px; border-radius: 5px 40px 40px 5px; color: #1e4a2a; display: flex; align-items: center; gap: 8px; border-left: 5px solid #2d6a2f; border-bottom: 2px solid #2d6a2f; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.form-group { margin-bottom: 16px; }
label { font-weight: 600; display: block; font-size: 0.85rem; margin-bottom: 5px; }
input, select, textarea { width: 100%; padding: 10px; border: 1px solid #cbdcc0; border-radius: 8px; font-size: 0.85rem; background: white; height: 36px; line-height: 36px; }
input[type=number] { -moz-appearance: textfield; appearance: textfield; }
input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
input:read-only { background-color: #f5f5f5; cursor: default; }
.flex-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.member-item, .vehicle-item, .family-item { background: #f0f7ec; padding: 14px; border-radius: 5px 20px 20px 5px; border-right: 0.15px solid #2d6a2f; border-bottom: 1.35px solid #2d6a2f; margin-bottom: 20px; }
.member-row-1 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.member-row-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 12px; }
.member-row-3 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 12px; }
.member-row-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 12px; align-items: start; }
.member-row-5 { display: flex; justify-content: flex-end; }
.delete-btn { flex-shrink: 0; }
.diff-positive { color: #2d6a2f; font-weight: 550; }
.diff-negative { color: #dc3545; font-weight: 550; }
.prepay-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.prepay-row .form-group { flex: 1; }
.passengers-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.btn-item { display: flex; justify-content: flex-end; margin-top: 8px; }
.article-link { font-size: 0.89rem; display: flex; align-items: center; gap: 2px; }
.article-link i.article-dot { font-size: 0.65rem; width: 30px; text-align: center; color: #2D6A2F; margin-right: 0; }
.share-link a .article-dot { margin-right: 0; }
.user-bar { display: flex; justify-content: flex-end; gap: 12px; margin-bottom: 16px; align-items: center; }
@media (max-width: 500px) {
    .article-link i.article-dot { font-size: 0.55rem; width: 26px; }
    .member-row-1 { gap: 6px; }
    .member-row-1 .field input, .member-row-1 .field select { font-size: 0.75rem; padding: 0 4px; }
    h4 { font-size: 1rem; padding: 8px 12px; }
}