/* whois 查询工具样式（贴合 iicx 全站风格） */
.whois-tool {
    max-width: 964px;
    margin: 0 auto;
}

/* 输入框+按钮一行（适配后台 content 里的 whois-box） */
.whois-box,
.whois-bar {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}
.whois-box input,
.whois-bar input {
    flex: 1 1 auto;
    min-width: 0;
    height: 44px;
    padding: 0 14px;
    font-size: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    box-sizing: border-box;
    outline: none;
    transition: border-color .2s;
}
.whois-box input:focus,
.whois-bar input:focus {
    border-color: #45B6F7;
}
.whois-box button,
.whois-bar button {
    flex: 0 0 auto;
    height: 44px;
    padding: 0 36px;
    font-size: 16px;
    color: #fff;
    background: #4f46e5;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background .2s;
}
.whois-box button:hover,
.whois-bar button:hover { background: #4338ca; }
.whois-box button:disabled,
.whois-bar button:disabled { background: #a5b4fc; cursor: not-allowed; }


.whois-loading {
    display: none;
    color: #888;
    font-size: 14px;
    margin-bottom: 12px;
}
.whois-tip {
    padding: 12px 14px;
    background: #f1f5f9;
    border-radius: 6px;
    color: #555;
    font-size: 14px;
}
.whois-error {
    background: #fdecea;
    color: #c0392b;
}
.whois-raw {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 6px;
    padding: 16px 18px;
    font-family: Consolas, Menlo, Monaco, "Courier New", monospace;
    font-size: 13px;
    line-height: 1.7;
    color: #333;
    white-space: pre-wrap;
    word-break: break-all;
    max-height: 540px;
    overflow: auto;
}
.whois-raw .whois-line { min-height: 1.7em; }

/* 中文核心信息卡片 */
.whois-cn-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 18px 20px;
    margin-bottom: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.whois-cn-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 14px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
}
.whois-cn-row {
    display: flex;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
    line-height: 1.6;
}
.whois-cn-label {
    width: 80px;
    flex-shrink: 0;
    font-weight: 600;
    color: #64748b;
    text-align: right;
    margin-right: 12px;
}
.whois-cn-value {
    flex: 1;
    color: #334155;
    word-break: break-all;
}
/* 域名链接 */
.whois-domain-link {
    color: #4f46e5;
    text-decoration: none;
    font-weight: 600;
}
.whois-domain-link:hover {
    color: #4338ca;
    text-decoration: none;
}

.whois-age {
    color: #e74c3c;
    font-weight: 600;
    margin-left: 8px;
}
.whois-expire-tip {
    color: #e74c3c;
    font-size: 13px;
    margin-left: 6px;
}

@media (max-width: 767px) {
    .whois-cn-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .whois-cn-label {
        width: auto;
        text-align: left;
        margin: 0 0 4px 0;
    }
}
