/* 网站黑名单检查页面自定义样式 */

/* ========== 搜索区域样式 ========== */
.search-container-wrapper {
    max-width: 860px;
    margin: 1rem auto 3.5rem;
    position: relative;
}

.modern-search-box {
    background: #ffffff;
    border-radius: 20px;
    padding: 6px;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.modern-search-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(99, 102, 241, 0.15);
}

.modern-search-box:focus-within {
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.1);
    border-color: #6366f1;
}

.search-prefix-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6366f1;
    font-size: 1.2rem;
}

.search-input-control {
    flex: 1;
    border: none !important;
    background: none !important;
    box-shadow: none !important;
    padding: 10px 8px !important;
    font-size: 1.1rem !important;
    font-weight: 400;
    color: #1f2937;
    outline: none;
}

.search-input-control::placeholder {
    color: #94a3b8;
}

.btn-search-submit {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    border: none !important;
    border-radius: 14px !important;
    padding: 10px 24px !important;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.btn-search-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.35);
    filter: brightness(1.05);
}

.btn-search-submit:active {
    transform: translateY(0) scale(0.97);
}

.search-subtext {
    margin-top: 14px;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    color: #94a3b8;
    font-size: 0.875rem;
}

.search-subtext span i {
    margin-right: 4px;
}

/* ========== 结果区域容器 ========== */
.result-section {
    background-color: #f8faff;
    border-radius: 20px;
    padding: 30px;
    margin-top: 2rem;
    border: 1px solid rgba(0, 123, 255, 0.05);
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.02);
}

/* 通用卡片样式 */
.scan-card {
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.scan-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* ========== 黑名单检测卡片样式 ========== */
.blacklist-card {
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.03) !important;
    background: #fff;
}

.blacklist-card.show {
    opacity: 1;
    transform: translateY(0);
}

.blacklist-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08) !important;
    border-color: rgba(0, 123, 255, 0.2) !important;
    z-index: 10;
}

/* 总结卡片强调 */
#summaryCard.border-success {
    background: linear-gradient(135deg, #ffffff 0%, #f0fff4 100%);
}

#summaryCard.border-danger {
    background: linear-gradient(135deg, #ffffff 0%, #fff5f5 100%);
}

/* 状态徽章 */
.status-badge {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}

.status-clean {
    background-color: #198754;
    box-shadow: 0 0 8px rgba(25, 135, 84, 0.5);
}

.status-blocked {
    background-color: #dc3545;
    box-shadow: 0 0 8px rgba(220, 53, 69, 0.5);
}

/* 卡片文本高度限制 */
.blacklist-desc {
    font-size: 0.8rem;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    height: 38px;
    overflow: hidden;
}

/* 科普板块微调 */
.faq-section {
    padding-bottom: 2rem;
}

.faq-card {
    border-radius: 12px;
    transition: transform 0.2s;
}

.faq-card:hover {
    transform: scale(1.02);
}