/* 搜索限制器样式 */
.search-limiter-notice {
    background: #fff8e5;
    border-left: 4px solid #ffb900;
    padding: 12px;
    margin: 15px 0;
    border-radius: 2px;
}

.search-limiter-notice.error {
    background: #ffe5e5;
    border-left-color: #dc3232;
}

.search-limiter-notice.success {
    background: #e5ffe5;
    border-left-color: #46b450;
}

.search-limiter-countdown {
    font-weight: bold;
    color: #dc3232;
    font-size: 1.1em;
}

/* 搜索表单样式 */
.search-form.loading input[type="submit"],
.search-form.loading button[type="submit"] {
    opacity: 0.7;
    cursor: not-allowed;
}

/* 管理页面样式 */
.wrap .card {
    background: #fff;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 1px rgba(0,0,0,.04);
}

.wrap .card h2 {
    margin-top: 0;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

/* 统计样式 */
.search-limiter-stats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 10px;
}

.search-limiter-stats p {
    margin: 8px 0;
    padding: 8px;
    background: #f9f9f9;
    border-radius: 4px;
    border-left: 3px solid #0073aa;
}

/* 设置页面分组样式 */
.search-limiter-settings-group {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px;
    margin: 15px 0;
}

.search-limiter-settings-group h3 {
    margin-top: 0;
    color: #23282d;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

/* 封锁类型标签样式 */
.block-type {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 14px;
    margin-bottom: 15px;
}

.block-type-minute {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.block-type-hour {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* 管理按钮样式 */
.clear-blocks-button {
    background: #dc3232;
    border-color: #dc3232;
    color: white;
}

.clear-blocks-button:hover {
    background: #a00;
    border-color: #a00;
    color: white;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .wrap .card {
        padding: 15px;
    }
    
    .search-limiter-settings-group {
        padding: 10px;
    }
    
    .search-limiter-stats {
        grid-template-columns: 1fr;
    }
}