/* The free generator on pages that keep their own styles (the compare pages and three guides).
   Loaded before facelift-pages.css, which gives it the site look. */
.widget { background: var(--cloud); border: 1px solid var(--slate-light); border-radius: 12px; padding: 28px; margin: 32px 0; }
.widget h2 { margin-top: 0; font-size: 24px; line-height: 1.3; }
.widget a:not(.btn) { color: var(--primary-dark); }
.widget .btn { justify-content: center; }
.widget .btn:disabled { opacity: 0.6; cursor: wait; }
.widget .btn-secondary { background: white; color: var(--midnight); border: 1px solid var(--slate-light); }
.widget-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.widget-field label { font-size: 14px; font-weight: 600; }
.widget-field input { font: inherit; padding: 12px 14px; border: 1px solid #94A3B8; border-radius: 8px; background: white; color: var(--midnight); min-width: 0; }
.widget input:focus-visible, .widget .btn:focus-visible, .widget a:focus-visible { outline: 3px solid #1D4ED8; outline-offset: 2px; }
.field-hint { font-size: 13px; color: var(--slate); margin: 0; }
.widget-error { color: #B91C1C; font-weight: 600; margin-top: 12px; margin-bottom: 0; }
.widget-result { display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--slate-light); }
.widget-result[hidden], .widget-error[hidden], .claim-box[hidden], .short-link[hidden] { display: none; }
.widget-qr { width: 220px; height: 220px; border-radius: 8px; border: 1px solid var(--slate-light); background: white; }
.widget-actions { display: flex; flex-direction: column; gap: 10px; flex: 1; min-width: 220px; }
.widget-actions .row { display: flex; gap: 10px; flex-wrap: wrap; }
.short-link { font-size: 14px; overflow-wrap: anywhere; margin: 0; }
.claim-box { background: white; border: 1px solid var(--slate-light); border-radius: 8px; padding: 16px; }
.claim-box label { font-size: 14px; font-weight: 600; display: block; margin-bottom: 6px; }
.claim-box .claim-row { display: flex; gap: 8px; flex-wrap: wrap; }
.claim-box input { font: inherit; padding: 10px 12px; border: 1px solid #94A3B8; border-radius: 8px; flex: 1; min-width: 160px; }
.claim-status { font-size: 13px; color: var(--slate); margin: 8px 0 0; }
.widget-note { font-size: 13px; color: var(--slate); margin: 16px 0 0; }
@media (max-width: 768px) {
    .widget { padding: 20px; }
}
@media (max-width: 360px) {
    .widget { margin-left: -12px; margin-right: -12px; padding: 16px 12px; }
}
