/* http-status.php：HTTP 状态码查询页 */

.http-status-page .tool-intro {
    color: #64748b;
    line-height: 1.6;
}

.http-status-query-row,
.http-status-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.http-status-query-row .layui-input,
.http-status-filter-row .layui-input {
    flex: 1 1 220px;
    min-height: 40px;
}

.http-status-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.http-status-hint {
    margin: 12px 0 0;
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
}

.http-status-probe {
    margin-top: 12px;
}

.http-status-probe:empty {
    display: none;
}

.http-status-probe-card {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 14px;
    background: #f8fafc;
}

.http-status-probe-code {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
    margin-right: 8px;
}

.http-status-probe-meta {
    margin-top: 8px;
    font-size: 13px;
    color: #475569;
    word-break: break-all;
    line-height: 1.6;
}

.http-status-list {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.http-status-item {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 14px;
    background: #fff;
    scroll-margin-top: 80px;
}

.http-status-item.is-active {
    border-color: #93c5fd;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
}

.http-status-item-head {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    align-items: baseline;
    margin-bottom: 6px;
}

.http-status-item-code {
    font-size: 20px;
    font-weight: 700;
    color: #1d4ed8;
    font-family: ui-monospace, Consolas, monospace;
}

.http-status-item-title {
    font-size: 15px;
    color: #0f172a;
    font-weight: 600;
}

.http-status-item-en {
    font-size: 13px;
    color: #64748b;
}

.http-status-item-desc {
    margin: 0;
    font-size: 14px;
    color: #334155;
    line-height: 1.7;
}

.http-status-cat-label {
    display: inline-block;
    margin-top: 4px;
    font-size: 12px;
    color: #94a3b8;
}

.http-status-empty {
    color: #94a3b8;
    padding: 16px 0;
}

@media (max-width: 768px) {
    .http-status-query-row .layui-input {
        flex: 1 1 100%;
    }

    .http-status-query-row .layui-btn {
        flex: 1 1 calc((100% - 16px) / 3);
        min-width: calc((100% - 16px) / 3);
        max-width: calc((100% - 16px) / 3);
        box-sizing: border-box;
        margin-left: 0;
        padding-left: 6px;
        padding-right: 6px;
        font-size: 13px;
    }

    .http-status-cats .layui-btn {
        flex: 1 1 calc((100% - 16px) / 3);
        min-width: calc((100% - 16px) / 3);
        max-width: calc((100% - 16px) / 3);
        box-sizing: border-box;
        margin-left: 0;
        font-size: 12px;
    }
}
