/* 首页样式 */
.home-container {
    padding: 30px;
}

.home-title {
    font-size: 16px;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 600;
}

.notice-block {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 20px;
    color: white;
    font-size: 14px;
    line-height: 1.8;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.notice-block:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.notice-block .text-wrapper {
    display: inline-block;
    text-align: left;
}

.notice-block .main-text {
    text-align: center;
    margin-bottom: 5px;
    display: block;
}

.notice-block .main-text-next {
    display: block;
}


.record-header {
    display: flex;
    background-color: #f1f1f1;
    padding: 15px 20px;
    border-radius: 8px 8px 0 0;
    font-weight: 600;
}

.record-list {
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 8px 8px;
}

.record-row {
    display: flex;
    padding: 15px 20px;
    border-bottom: 1px solid #ddd;
    transition: background-color 0.2s ease;
}

.record-row:last-child {
    border-bottom: none;
}

.record-row:hover {
    background-color: #f9f9f9;
}

.record-item {
    flex: 1;
    text-align: center;
}

.record-function {
    flex: 2;
    text-align: center;
}

.record-points {
    flex: 1;
}

.record-time {
    flex: 1.5;
    font-size: 14px;
}

.empty-state {
    text-align: center;
    padding: 40px;
    color: #999;
}

.empty-state p {
    margin: 0;
    font-size: 16px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .record-header {
        padding: 10px 12px;
        font-size: 12px;
    }
    
    .record-row {
        padding: 10px 12px;
    }
    
    .record-item {
        text-align: center;
        font-size: 12px;
    }
    
    .record-function {
        flex: 0 0 40%;
        text-align: left;
    }
    
    .record-points {
        flex: 0 0 20%;
    }
    
    .record-time {
        flex: 0 0 40%;
        text-align: right;
    }
}

/* 深色模式支持 */

body.theme-dark .notice-block {
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
    border: none;
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

body.theme-dark .notice-block:hover {
    box-shadow: 0 5px 20px rgba(74, 85, 104, 0.4);
}

body.theme-dark .record-header {
    background-color: #2c2c2c;
    color: #999;
}

body.theme-dark .record-list {
    border-color: #3498db;
}

body.theme-dark .record-row {
    border-bottom-color: #3498db;
    color: #999;
    background-color: #121212;
}

body.theme-dark .record-row:hover {
    background-color: #1a2a3a;
}

body.theme-dark .empty-state {
    color: #666;
}