/* 历史上的今天页面样式 */

/* 页面头部 */
.page-header-simple .header-sub {
    font-size: 13px;
    color: #9ca3af;
    margin-top: 2px;
}

.refresh-btn {
    padding: 8px 16px;
    background: #374151;
    color: white;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.refresh-btn:active {
    background: #1f2937;
}

/* 数据内容区 */
.data-content {
    padding: 16px;
    padding-bottom: 80px;
}

/* 加载状态 */
.loading-state {
    text-align: center;
    padding: 60px 20px;
    color: #9ca3af;
}

.loading-state .spinner {
    margin: 0 auto 16px;
}

.loading-state p {
    font-size: 14px;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #9ca3af;
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 16px;
    color: #d1d5db;
}

.empty-state p {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 8px;
}

.empty-hint {
    font-size: 13px;
    color: #9ca3af;
}

/* 历史事件卡片 */
.history-card {
    background: white;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.history-card:active {
    background: #f9fafb;
    transform: scale(0.98);
}

/* 年份区域 */
.card-year {
    min-width: 56px;
    text-align: center;
    flex-shrink: 0;
}

.year-num {
    font-size: 20px;
    font-weight: 700;
    color: #4F6EF7;
    line-height: 1;
}

.year-ago {
    font-size: 11px;
    color: #9ca3af;
    margin-top: 4px;
    font-weight: 400;
}

/* 事件内容 */
.card-body {
    flex: 1;
    min-width: 0;
}

.card-title {
    font-size: 15px;
    font-weight: 500;
    color: #1f2937;
    line-height: 1.5;
}

/* 响应式 */
@media (max-width: 375px) {
    .history-card {
        padding: 12px;
        gap: 12px;
    }

    .year-num {
        font-size: 18px;
    }

    .card-title {
        font-size: 14px;
    }
}
