/* HTTP/3检测页面样式 */
.http3-container {
    width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* 搜索区域 */
.search-section {
    background: #fff;
    border-radius: 8px;
    padding: 20px 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.06);
}

.search-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.search-label {
    background: linear-gradient(135deg, #1b8efc, #0d6efd);
    color: #fff;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.search-input {
    flex: 1;
    height: 40px;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    padding: 0 15px;
    font-size: 14px;
}

.search-input::placeholder {
    color: #999;
}

.search-btn {
    background: linear-gradient(135deg, #1b8efc, #0d6efd);
    color: #fff;
    border: none;
    padding: 8px 25px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 6px rgba(27, 142, 252, 0.3);
    transition: all 0.3s ease;
}

.search-btn:hover {
    opacity: 0.9;
    box-shadow: 0 4px 10px rgba(27, 142, 252, 0.4);
    transform: translateY(-1px);
}

.screenshot-btn {
    background: linear-gradient(135deg, #ff894d, #f97316);
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 6px rgba(249, 115, 22, 0.3);
    transition: all 0.3s ease;
}

.screenshot-btn:hover {
    opacity: 0.9;
    box-shadow: 0 4px 10px rgba(249, 115, 22, 0.4);
    transform: translateY(-1px);
}

.info-tips {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #999;
    font-size: 12px;
    padding-left: 5px;
}

.info-tips i {
    color: #ffc107;
}

/* 结果区域 */
.result-section {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    margin: 15px 0;
}

.result-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 25px;
    border-bottom: 1px solid #f0f0f0;
}

.result-icon {
    width: 36px;
    height: 36px;
    background: #1b8efc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-icon svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

.result-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

/* 表格样式 */
.result-table {
    width: 100%;
}

.result-table table {
    width: 100%;
    border-collapse: collapse;
}

.result-table th {
    background: #f8f9fa;
    padding: 15px 20px;
    text-align: left;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    border-bottom: 1px solid #f0f0f0;
}

.result-table td {
    padding: 15px 20px;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
}

.result-table tr:last-child td {
    border-bottom: none;
}

.result-table tr:hover {
    background: #f8f9fa;
}

/* 示例标签 */
.example-tag {
    color: #ff6b6b;
    font-size: 14px;
    margin-right: 8px;
}

/* 支持状态 */
.status-support {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #22c55e;
    font-size: 14px;
}

.status-support::before {
    content: '✓';
    color: #22c55e;
    font-weight: bold;
}

.status-unsupport {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #ef4444;
    font-size: 14px;
}

.status-unsupport::before {
    content: '✕';
    color: #ef4444;
    font-weight: bold;
}

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

.empty-icon {
    font-size: 48px;
    margin-bottom: 15px;
    color: #ddd;
}

.empty-text {
    font-size: 14px;
}

/* 加载状态 */
.loading-row {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: #666;
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #f0f0f0;
    border-top-color: #1b8efc;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* 隐藏状态 */
.hidden {
    display: none !important;
}