/* ============================================================
   Dictation cleanup — tool-specific styles.
   Page shell, hero, buttons, FAQ, CTA and tokens come from
   /static/css/tools/redirect-checker.css (loaded first) and
   /static/landing/styles.css.
   Angular clip-path corners only — never border-radius.
   ============================================================ */

/* ---- Form -------------------------------------------------------------- */

.dc-form-wrap { margin: 40px 0 16px; }

.field-label {
    display: block;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 6px;
}
.field-label .field-req { font-weight: 400; color: var(--neon-cyan); }

.dc-input {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-mono);
    font-size: 15px;
    line-height: 1.55;
    background: rgba(13, 13, 20, 0.85);
    border: 1px solid rgba(0, 245, 212, 0.3);
    clip-path: var(--clip-card);
    color: var(--text-primary);
    resize: vertical;
    min-height: 180px;
    transition: border-color .2s, box-shadow .2s;
}
.dc-input:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 0 3px rgba(0, 245, 212, 0.15);
}

.dc-meta-row { display: flex; justify-content: flex-end; margin: 6px 0 12px; }
.dc-counter { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }
.dc-counter-over { color: #ff5757; }

.dc-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 10px;
}

.dc-auth-note { font-size: 13px; color: var(--text-muted); }
.dc-auth-note:empty { display: none; }
.dc-auth-note a { color: var(--neon-cyan); text-decoration: none; }
.dc-auth-note a:hover { text-decoration: underline; }

.rate-limit-note { font-size: 13px; }

@media (max-width: 700px) {
    .dc-input { font-size: 16px; clip-path: none; }
}
@media (max-width: 480px) {
    .dc-controls .btn-primary { width: 100%; text-align: center; }
}

/* ---- Output ------------------------------------------------------------ */

.dc-output { margin-top: 36px; scroll-margin-top: 120px; }

.dc-output-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}
.dc-output-head .output-h2 { margin: 0; }

.dc-copy-btn { flex: 0 0 auto; }

.dc-result {
    margin: 0;
    padding: 18px 20px;
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-primary);
    background: rgba(13, 13, 20, 0.5);
    border: 1px solid rgba(0, 245, 212, 0.25);
    border-left-width: 3px;
    border-left-color: var(--neon-cyan);
    clip-path: var(--clip-card);
    white-space: pre-wrap;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.dc-changes {
    margin: 14px 0 0;
    padding: 10px 14px;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--text-secondary, #b8c0c8);
    background: rgba(0, 245, 212, 0.05);
    border-left: 3px solid rgba(0, 245, 212, 0.4);
    clip-path: var(--clip-badge);
}

.dc-spend {
    margin: 12px 0 0;
    font-family: var(--font-mono);
    font-size: 12.5px;
    color: var(--text-muted);
}

.dc-actions { margin-top: 22px; }

@media (max-width: 480px) {
    .dc-actions .btn-secondary { width: 100%; text-align: center; }
    .dc-output-head { flex-direction: column; align-items: flex-start; }
    .dc-copy-btn { width: 100%; text-align: center; }
    .product-cta a.btn-primary,
    .product-cta a.btn-secondary {
        display: block;
        width: 100%;
        text-align: center;
        margin: 0 0 10px;
    }
}
