/* ── Technotex Verify v3 — Public Styles ──────────────────────────────── */

.tnx-wrap {
    max-width: 820px;
    margin: 40px auto;
    font-family: 'Segoe UI', Arial, sans-serif;
    color: #222;
}

/* ── Search Box ─────────────────────────────────────────────────────────── */
.tnx-search-box {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 8px;
    padding: 32px 36px;
    margin-bottom: 40px;
}
.tnx-field-group { margin-bottom: 18px; }
.tnx-field-group label {
    display: block;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
    font-size: 14px;
}
.tnx-field-group select,
.tnx-field-group input[type="text"] {
    width: 100%;
    padding: 13px 16px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    color: #333;
    box-sizing: border-box;
}
.tnx-ref-row { display: flex; gap: 0; }
.tnx-ref-row input[type="text"] {
    border-radius: 4px 0 0 4px;
    border-right: none;
    flex: 1;
}
.tnx-ref-row button {
    padding: 13px 30px;
    background: #c8a800;
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s;
    white-space: nowrap;
}
.tnx-ref-row button:hover { background: #a88c00; }

/* ── Loading / Error ────────────────────────────────────────────────────── */
.tnx-loading { text-align: center; padding: 32px; color: #999; font-size: 15px; }
.tnx-error {
    background: #fff8e1;
    border: 1px solid #ffe082;
    color: #7a5c00;
    border-radius: 6px;
    padding: 16px 22px;
    font-size: 14px;
    text-align: center;
}

/* ── Result Card ────────────────────────────────────────────────────────── */
.tnx-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 24px rgba(0,0,0,.13);
    overflow: hidden;
    animation: tnxIn .3s ease;
}
@keyframes tnxIn {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

.tnx-card-header { background: #1a1a2e; padding: 18px 28px; }
.tnx-card-header h3 { margin: 0; color: #c8a800; font-size: 17px; font-weight: 700; }

/* ── Table rows ─────────────────────────────────────────────────────────── */
.tnx-table { width: 100%; border-collapse: collapse; }
.tnx-table .tnx-row { border-bottom: 1px solid #f0f0f0; }
.tnx-table .tnx-row:last-child { border-bottom: none; }

.tnx-table .tnx-label {
    width: 42%;
    padding: 13px 24px 13px 28px;
    color: #555;
    font-size: 14px;
    font-weight: 600;
    background: #fafafa;
    vertical-align: top;
    border-right: 1px solid #f0f0f0;
}
.tnx-table .tnx-value {
    padding: 13px 28px 13px 24px;
    color: #1a1a2e;
    font-size: 14px;
    vertical-align: top;
    line-height: 1.6;
}

/* ── Status badge ───────────────────────────────────────────────────────── */
.tnx-status-badge {
    display: inline-block;
    padding: 5px 16px;
    border-radius: 20px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .3px;
}

/* ── Download button ────────────────────────────────────────────────────── */
.tnx-dl-btn {
    display: inline-block;
    padding: 9px 22px;
    background: #c8a800;
    color: #fff !important;
    border-radius: 4px;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 700;
    transition: background .2s;
}
.tnx-dl-btn:hover { background: #a88c00; }

/* ── Disclaimer with title (replaces old legend + disclaimer) ───────────── */
.tnx-disclaimer-wrap {
    padding: 16px 28px 20px;
    background: #fafafa;
    border-top: 1px solid #ebebeb;
}
.tnx-disclaimer-title {
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 700;
    color: #1a1a2e;
}
.tnx-disclaimer-text {
    margin: 0;
    font-size: 12px;
    color: #888;
    line-height: 1.75;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
    .tnx-search-box { padding: 22px 18px; }
    .tnx-table .tnx-label,
    .tnx-table .tnx-value { display: block; width: 100%; box-sizing: border-box; }
    .tnx-table .tnx-label { padding: 12px 18px 4px; border-right: none; background: #f5f5f5; }
    .tnx-table .tnx-value { padding: 4px 18px 12px; }
    .tnx-card-header { padding: 14px 18px; }
    .tnx-disclaimer-wrap { padding: 14px 18px 18px; }
}
