/* ── Fill PDF Form — tool-specific styles ────────────────────────────── */

.fill-field-header {
    font-size: 0.95rem;
    color: var(--pdf-text-muted, #94a3b8);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255,140,0,0.15);
}

.fill-field-header strong {
    color: var(--pdf-accent, #ff8c00);
}

.fill-flatten-row {
    margin-bottom: 1.25rem;
}

.fill-fields-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

/* ── Page group ─────────────────────────────────────────────────────── */

.fill-page-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.fill-page-heading {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--pdf-accent, #ff8c00);
    padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(255,140,0,0.2);
}

/* ── Individual field row ───────────────────────────────────────────── */

.fill-field-row {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.fill-field-label {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--pdf-text, #e2e8f0);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.fill-field-type-badge {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--pdf-text-muted, #94a3b8);
    background: rgba(255,255,255,0.05);
    padding: 0.1em 0.45em;
    border-radius: 3px;
}

/* ── Radio group ────────────────────────────────────────────────────── */

.fill-radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding-left: 0.25rem;
}

.fill-radio-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--pdf-text, #e2e8f0);
    cursor: pointer;
}

.fill-radio-option input[type="radio"] {
    accent-color: var(--pdf-accent, #ff8c00);
    width: 15px;
    height: 15px;
    cursor: pointer;
}

/* ── Checkbox field ─────────────────────────────────────────────────── */

.fill-checkbox-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--pdf-text, #e2e8f0);
    cursor: pointer;
}

.fill-checkbox-row input[type="checkbox"] {
    accent-color: var(--pdf-accent, #ff8c00);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* ── No-fields notice ───────────────────────────────────────────────── */

.pdf-link {
    color: var(--pdf-accent, #ff8c00);
    text-decoration: underline;
}

.pdf-link:hover {
    color: var(--pdf-accent-light, #ffa333);
}
