/* TAKE IT DOWN Act takedown reporting UI. House rules: no animations, no transitions, no blur. */

.td-page {
    max-width: 760px;
    margin: 0 auto;
    padding: 32px 24px 80px;
    color: var(--text-primary, #e6e6e6);
    font-size: 15px;
    line-height: 1.55;
}

.td-hero h1 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 12px;
}

.td-lede {
    color: var(--text-secondary, #b6b6b6);
    margin: 0 0 24px;
}

.td-who, .td-other-paths {
    background: var(--bg-secondary, #111);
    border: 1px solid var(--border-color, #222);
    border-radius: 10px;
    padding: 16px 20px;
    margin: 0 0 20px;
}

.td-who h3, .td-other-paths h3 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 8px;
    color: var(--text-primary, #e6e6e6);
}

.td-who ul, .td-other-paths ul {
    margin: 0;
    padding-left: 20px;
}

.td-who li, .td-other-paths li {
    margin: 4px 0;
    color: var(--text-secondary, #b6b6b6);
}

/* Type chooser — radio cards (NCII / DMCA / User-reported violation) */
.td-type-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 12px 0 24px;
}

.td-type-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
    background: var(--bg-secondary, #111);
    border: 1px solid var(--border-color, #222);
    border-radius: 10px;
    padding: 14px 16px;
    color: var(--text-primary, #fff);
    font-family: inherit;
    cursor: pointer;
}

.td-type-card:hover {
    background: var(--bg-tertiary, #1a1a1a);
    border-color: #333;
}

.td-type-card.active {
    border-color: var(--accent-primary, #6366f1);
    background: var(--bg-tertiary, #1a1a1a);
}

.td-type-radio {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--text-secondary, #b6b6b6);
    margin-top: 2px;
    position: relative;
    box-sizing: border-box;
}

.td-type-card.active .td-type-radio {
    border-color: var(--accent-primary, #6366f1);
}

.td-type-card.active .td-type-radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-primary, #6366f1);
}

.td-type-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.td-type-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary, #fff);
}

.td-type-desc {
    font-size: 12px;
    color: var(--text-secondary, #b6b6b6);
    line-height: 1.35;
}

/* Stack vertically on narrow viewports */
@media (max-width: 720px) {
    .td-type-cards { grid-template-columns: 1fr; }
}

/* Callout inside the hero (e.g. "if you're depicted, use NCII instead") */
.td-callout {
    margin-top: 12px;
    padding: 10px 12px;
    background: var(--bg-secondary, #111);
    border: 1px solid var(--border-color, #222);
    border-left: 3px solid var(--accent-primary, #6366f1);
    border-radius: 6px;
    font-size: 13px;
}

.td-who-note {
    margin-top: 10px;
    font-size: 13px;
    color: var(--text-secondary, #b6b6b6);
}

/* Step indicator (Verify → Code → Report → Done) */
.td-steps {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 28px 0 20px;
}

.td-step {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted, #777);
    font-size: 13px;
    font-weight: 500;
}

.td-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bg-tertiary, #1a1a1a);
    border: 1px solid var(--border-color, #333);
    color: var(--text-muted, #777);
    font-size: 12px;
    font-weight: 600;
}

.td-step.active {
    color: var(--text-primary, #fff);
}

.td-step.active .td-step-num {
    background: var(--accent-primary, #6366f1);
    border-color: var(--accent-primary, #6366f1);
    color: #fff;
}

.td-step.done .td-step-num {
    background: #16a34a;
    border-color: #16a34a;
    color: #fff;
}

.td-step-sep {
    flex: 1;
    height: 1px;
    background: var(--border-color, #333);
}

/* Form container */
.td-form-card {
    background: var(--bg-secondary, #111);
    border: 1px solid var(--border-color, #222);
    border-radius: 10px;
    padding: 24px;
}

.td-form-card h2 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 6px;
}

.td-form-hint {
    color: var(--text-secondary, #b6b6b6);
    font-size: 14px;
    margin: 0 0 18px;
}

.td-field {
    display: block;
    margin-bottom: 16px;
}

.td-field label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary, #e6e6e6);
    margin-bottom: 6px;
}

.td-field .td-input,
.td-field .td-textarea,
.td-field .td-select {
    width: 100%;
    box-sizing: border-box;
    background: var(--bg-tertiary, #1a1a1a);
    border: 1px solid var(--border-color, #333);
    border-radius: 8px;
    color: var(--text-primary, #e6e6e6);
    padding: 10px 12px;
    font-size: 16px;  /* 16px to suppress iOS zoom on focus */
    font-family: inherit;
}

.td-field .td-textarea {
    min-height: 100px;
    resize: vertical;
}

.td-field .td-input:focus,
.td-field .td-textarea:focus,
.td-field .td-select:focus {
    outline: none;
    border-color: var(--accent-primary, #6366f1);
}

.td-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 540px) {
    .td-row-2 { grid-template-columns: 1fr; }
}

/* 6-digit code boxes */
.td-otp {
    display: flex;
    gap: 8px;
    margin: 8px 0 16px;
}

.td-otp input {
    width: 44px;
    height: 52px;
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    background: var(--bg-tertiary, #1a1a1a);
    border: 1px solid var(--border-color, #333);
    border-radius: 8px;
    color: var(--text-primary, #fff);
}

.td-otp input:focus {
    outline: none;
    border-color: var(--accent-primary, #6366f1);
}

/* Cloudflare Turnstile captcha widget */
.td-captcha {
    margin: 14px 0 6px;
    display: flex;
    justify-content: flex-start;
}

/* Attestation row */
.td-attest {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 12px 0 18px;
    padding: 12px;
    background: var(--bg-tertiary, #1a1a1a);
    border: 1px solid var(--border-color, #333);
    border-radius: 8px;
}

.td-attest input[type="checkbox"] {
    margin-top: 2px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    accent-color: var(--accent-primary, #6366f1);
}

.td-attest label {
    font-size: 13px;
    color: var(--text-secondary, #b6b6b6);
    line-height: 1.5;
}

/* Buttons */
.td-btn {
    background: var(--accent-primary, #6366f1);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

.td-btn:hover {
    background: #5253d4;
}

.td-btn:disabled {
    background: #2a2a2a;
    color: #666;
    cursor: not-allowed;
}

.td-btn-link {
    background: none;
    border: none;
    color: var(--accent-primary, #6366f1);
    font-size: 13px;
    cursor: pointer;
    padding: 0;
    margin-left: 12px;
}

.td-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Errors / hints */
.td-error {
    background: rgba(220, 38, 38, 0.12);
    color: #fca5a5;
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: 8px;
    padding: 10px 12px;
    margin: 0 0 12px;
    font-size: 14px;
}

.td-info {
    color: var(--text-muted, #888);
    font-size: 13px;
    margin: 8px 0;
}

.td-countdown {
    color: var(--text-muted, #888);
    font-size: 13px;
}

/* Success screen */
.td-success-card {
    background: rgba(22, 163, 74, 0.08);
    border: 1px solid rgba(22, 163, 74, 0.3);
    border-radius: 10px;
    padding: 28px;
    text-align: center;
}

.td-success-card .td-check {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #16a34a;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 28px;
}

.td-report-id {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-tertiary, #1a1a1a);
    border: 1px solid var(--border-color, #333);
    border-radius: 8px;
    padding: 10px 14px;
    margin: 16px 0;
    font-family: 'SF Mono', Menlo, Consolas, monospace;
    font-size: 14px;
}

.td-success-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 18px;
}

.td-btn-secondary {
    background: transparent;
    border: 1px solid var(--border-color, #333);
    color: var(--text-primary, #e6e6e6);
}

.td-btn-secondary:hover {
    background: #1a1a1a;
}

/* Status lookup page */
.td-status-result {
    margin-top: 20px;
    padding: 18px;
    background: var(--bg-secondary, #111);
    border: 1px solid var(--border-color, #222);
    border-radius: 10px;
}

.td-status-grid {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 8px 16px;
    font-size: 14px;
}

.td-status-grid dt {
    color: var(--text-muted, #888);
}

.td-status-grid dd {
    margin: 0;
    color: var(--text-primary, #e6e6e6);
}
