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

/* 全局body样式 */
body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    min-height: 100vh;
    background: url("/static/images/background.jpg") no-repeat center top;
    background-size: 100%;
    position: relative;
}

/* 顶部Banner样式 */
.banner {
    width: 100%;
    position: relative;
    overflow: hidden;
    padding: 20px 15px;
    text-align: center;
    height: 196px;
}

.banner-content {
    position: relative;
    z-index: 2;
}

.banner-title {
    font-size: 24px;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.banner-subtitle {
    font-size: 12px;
    color: white;
    opacity: 0.95;
}

.banner-mascot {
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 60px;
    transform: rotate(15deg);
    opacity: 0.9;
}

.banner-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.2) 0%, transparent 50%);
}

/* 返回按钮 */
.back-btn {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: #667eea;
    border: none;
    color: white;
    padding: 10px 15px;
    border-radius: 15px;
    font-size: 13px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    z-index: 3;
    font-weight: bold;
}

/* 区域标题 */
.section-title {
    background: #667eea;
    padding: 12px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: white;
    letter-spacing: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    border-radius:0 0 10px 10px;
}

/* 容器 */
.container {
    padding: 15px;
    max-width: 600px;
    margin: 0 auto;
}

/* 内容盒子 */
.content-box {
    background: white;
    border-radius: 20px;
    padding: 20px 18px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-top: 15px;
}

/* 筛选区域 */
.filter-section {
    margin-bottom: 20px;
}

.filter-row {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    gap: 12px;
}

.filter-label {
    color: #667eea;
    font-weight: bold;
    min-width: 50px;
    font-size: 15px;
}

.filter-select {
    flex: 1;
    padding: 8px 12px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    background:#667eea;
    color: white;
    cursor: pointer;
    font-weight: 600;
}

.filter-select:focus {
    outline: none;
}

/* 底部文字 */
.footer-text {
    text-align: center;
    color: #666;
    font-size: 11px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

/* 模态框样式 */
.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: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 30px;
    width: 85%;
    max-width: 320px;
    text-align: center;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-icon {
    font-size: 60px;
    margin-bottom: 15px;
}

.modal-icon.success {
    color: #4caf50;
}

.modal-icon.error {
    color: #f44336;
}

.modal-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.modal-message {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.modal-btn {
    width: 100%;
    padding: 12px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

