/* 资料大全页面样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    background: #f0f0f0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    min-height: 100vh;
}

/* 页面容器 */
.page-container {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    min-height: 100vh;
}

/* 小屏幕 */
@media (max-width: 320px) {
    html {
        font-size: 14px;
    }
}

/* 中等屏幕 */
@media (min-width: 321px) and (max-width: 375px) {
    html {
        font-size: 15px;
    }
}

/* 大屏幕 */
@media (min-width: 376px) and (max-width: 414px) {
    html {
        font-size: 16px;
    }
}

/* 超大屏幕 */
@media (min-width: 415px) {
    html {
        font-size: 18px;
    }
}

.zldq-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
    height: 3rem;
}

.zldq-back {
    font-size: 2rem;
    color: #333;
    text-decoration: none;
    width: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.zldq-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zldq-calendar {
    width: 1.75rem;
    height: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.zldq-spacer {
    width: 2.5rem;
}

/* 搜索框 */
.search-box {
    display: flex;
    padding: 0.75rem 1rem;
    background: #fff;
}

.search-input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    background: #f0f5ff;
    border-radius: 2rem 0 0 2rem;
    padding: 0.75rem 1rem;
    border: 1px solid #e0e8ff;
    border-right: none;
}

.search-icon {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.5rem;
    opacity: 0.5;
}

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 1.125rem;
    color: #333;
    outline: none;
    padding: 0;
}

.search-input::placeholder {
    color: #ccc;
}

.search-btn {
    background: #07c160;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0 2rem 2rem 0;
    font-size: 1.125rem;
    cursor: pointer;
    white-space: nowrap;
}

.search-btn:active {
    opacity: 0.9;
}

/* 类型网格 */
.type-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: #fff;
}

.type-item {
    background: transparent;
    border: 1px solid #d0d8e0;
    border-radius: 0.5rem;
    padding: 1rem 0.5rem;
    text-align: center;
    font-size: 1rem;
    color: #5a6a7a;
    cursor: pointer;
    transition: all 0.2s;
}

.type-item:active {
    background: #f5f8fa;
}

.type-item.hidden {
    display: none;
}

/* 无结果提示 */
.no-result {
    text-align: center;
    padding: 3rem 1rem;
    color: #999;
    font-size: 1rem;
    display: none;
    background: #fff;
}

.no-result.show {
    display: block;
}
