.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);
}

.status-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
}

.protocol-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 6px;
    background: #f0f2f5;
    margin-right: 8px;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.protocol-tag.secure {
    background: #e6f4ea;
    color: #1e8e3e;
}

.protocol-tag.warning {
    background: #fef7e0;
    color: #b06000;
}

.protocol-tag.danger {
    background: #fce8e6;
    color: #d93025;
}

.result-section {
    display: none;
}

/* 搜索区域深度优化 */
.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;
}

.risk-high {
    color: #d93025;
}

.risk-medium {
    color: #f29900;
}

.risk-low {
    color: #1e8e3e;
}