/* Robots.txt Tester - per-tool styles. */
.rt-intro { margin: 0 0 14px; color: #475569; font-size: 0.95rem; line-height: 1.5; }
.rt-input-row { display: flex; gap: 10px; flex-wrap: wrap; }
.rt-input-row .text-input { flex: 1 1 320px; }
.rt-paste-link { margin: 10px 0 0; }
.rt-paste-link button { background: none; border: 0; color: #0056b3; cursor: pointer; font: inherit; font-size: 0.85rem; padding: 0; text-decoration: underline; }
#rt-paste-wrap { margin-top: 10px; }
#rt-paste-wrap[hidden] { display: none; }
#rt-paste { width: 100%; box-sizing: border-box; min-height: 120px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 0.85rem; }
.rt-error { color: #b91c1c; font-size: 0.9rem; margin: 10px 0 0; }
.rt-error[hidden] { display: none; }

.rt-file-region, .rt-test-region { margin-top: 18px; background: #fff; border: 1px solid #e6e8eb; border-radius: 14px; padding: 16px 18px; }
.rt-file-region[hidden], .rt-test-region[hidden] { display: none; }
.rt-region-title { font-weight: 700; font-size: 0.95rem; color: #1f2937; margin: 0 0 4px; }
.rt-file-meta { color: #64748b; font-size: 0.83rem; margin: 0 0 10px; overflow-wrap: break-word; }
#rt-file {
    margin: 0; background: #0f172a; color: #e2e8f0; border-radius: 10px; padding: 12px 14px;
    font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 0.82rem; line-height: 1.55;
    white-space: pre-wrap; overflow-wrap: break-word; max-height: 320px; overflow-y: auto;
}
.rt-test-controls { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px 16px; margin-bottom: 12px; }
.rt-field { display: flex; flex-direction: column; gap: 5px; }
.rt-field-label { font-weight: 600; font-size: 0.85rem; color: #334155; }
.rt-select, .rt-inp {
    width: 100%; box-sizing: border-box; font: inherit; font-size: 0.9rem; padding: 8px 10px;
    border: 1px solid #d7dbe0; border-radius: 8px; background: #fff; flex: 0 0 auto;
}
#rt-ua-custom[hidden] { display: none; }
#rt-urls { width: 100%; box-sizing: border-box; min-height: 90px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 0.85rem; }
.rt-results { margin-top: 12px; }
.rt-row {
    display: flex; gap: 12px; align-items: baseline; padding: 8px 10px;
    border: 1px solid #eef0f4; border-radius: 8px; margin-bottom: 6px; font-size: 0.88rem;
}
.rt-verdict { flex: 0 0 72px; font-weight: 800; }
.rt-row--allowed .rt-verdict { color: #15803d; }
.rt-row--blocked .rt-verdict { color: #b91c1c; }
.rt-row--blocked { background: #fef2f2; border-color: #fecaca; }
.rt-path { flex: 1 1 auto; min-width: 0; font-family: ui-monospace, Menlo, Consolas, monospace; overflow-wrap: break-word; }
.rt-rule { flex: 0 1 auto; color: #64748b; font-size: 0.78rem; }
@media (max-width: 640px) { .rt-row { flex-wrap: wrap; } .rt-rule { flex-basis: 100%; } }
