/* /Components/CreditCardForm.razor.rz.scp.css */
.cc-widget[b-zdq08gdy2d] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px;
    align-items: center;
}

.cc-stage[b-zdq08gdy2d] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 48px 32px;
    border-radius: 24px;
    background:
        radial-gradient(circle at 20% 15%, #dbeafe, transparent 55%),
        radial-gradient(circle at 85% 90%, #e0e7ff, transparent 50%),
        #f8fafc;
    border: 1px solid var(--line);
}

.cc-brand-status[b-zdq08gdy2d] { min-height: 24px; font-size: 14px; color: var(--muted); }
.cc-brand-status strong[b-zdq08gdy2d] { color: var(--ink); }

.cc-form[b-zdq08gdy2d] { display: grid; gap: 18px; }

.cc-field[b-zdq08gdy2d] { display: grid; gap: 6px; }

.cc-field label[b-zdq08gdy2d] { font-size: 13px; font-weight: 600; color: #334155; }

.cc-field input[b-zdq08gdy2d] {
    width: 100%;
    min-height: 52px;
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    background: white;
    color: var(--ink);
    font: 500 17px/1.4 Inter, system-ui, sans-serif;
    letter-spacing: .02em;
    transition: border-color .2s, box-shadow .2s;
}

.cc-field input[b-zdq08gdy2d]::placeholder { color: #94a3b8; }
.cc-field input:focus[b-zdq08gdy2d] { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgb(37 99 235 / 15%); }
.has-error input[b-zdq08gdy2d] { border-color: #dc2626; }
.has-error input:focus[b-zdq08gdy2d] { box-shadow: 0 0 0 4px rgb(220 38 38 / 15%); }

.cc-hint[b-zdq08gdy2d] { font-size: 13px; color: var(--muted); }
.cc-error[b-zdq08gdy2d] { font-size: 13px; font-weight: 500; color: #b91c1c; }

.cc-row[b-zdq08gdy2d] { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; align-items: start; }

.cc-actions[b-zdq08gdy2d] { display: flex; gap: 12px; margin-top: 4px; }
.cc-actions .button[b-zdq08gdy2d] { min-width: 120px; }

.cc-status[b-zdq08gdy2d] { min-height: 0; }
.cc-status.is-success[b-zdq08gdy2d] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 1px solid #a7f3d0;
    border-radius: 12px;
    background: #ecfdf5;
    color: #065f46;
    font-size: 14px;
    font-weight: 500;
    animation: status-in-b-zdq08gdy2d .3s ease-out;
}

.cc-status[b-zdq08gdy2d]  svg { width: 20px; height: 20px; flex-shrink: 0; }

.cc-samples[b-zdq08gdy2d] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding-top: 18px;
    border-top: 1px dashed var(--line);
    font-size: 13px;
    color: var(--muted);
}

.cc-samples span[b-zdq08gdy2d] { margin-right: 4px; }

.cc-samples button[b-zdq08gdy2d] {
    min-height: 32px;
    padding: 4px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: white;
    color: #334155;
    font-size: 13px;
    font-weight: 500;
    transition: border-color .2s, color .2s, background .2s;
}

.cc-samples button:hover[b-zdq08gdy2d] { border-color: #93c5fd; color: var(--blue); background: #eff6ff; }
.cc-samples button:focus-visible[b-zdq08gdy2d] { outline: 2px solid var(--blue); outline-offset: 2px; }

@keyframes status-in-b-zdq08gdy2d { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
    .cc-widget[b-zdq08gdy2d] { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 639px) {
    .cc-stage[b-zdq08gdy2d] { padding: 28px 16px; border-radius: 18px; }
    .cc-actions .button[b-zdq08gdy2d] { flex: 1; }
}
/* /Components/CreditCardPreview.razor.rz.scp.css */
@property --cc-a { syntax: "<color>"; inherits: true; initial-value: #334155; }
@property --cc-b { syntax: "<color>"; inherits: true; initial-value: #0f172a; }
@property --cc-glow { syntax: "<color>"; inherits: true; initial-value: #64748b; }

.cc-card[b-qva1wy97vo] {
    --cc-a: #334155;
    --cc-b: #0f172a;
    --cc-glow: #64748b;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1.586;
    perspective: 1200px;
    container-type: inline-size;
    transition: --cc-a .6s ease, --cc-b .6s ease, --cc-glow .6s ease;
    font-family: "Space Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    color: white;
    user-select: none;
}

.brand-visa[b-qva1wy97vo] { --cc-a: #3b82f6; --cc-b: #1e3a8a; --cc-glow: #93c5fd; }
.brand-mastercard[b-qva1wy97vo] { --cc-a: #27272a; --cc-b: #09090b; --cc-glow: #f97316; }
.brand-amex[b-qva1wy97vo] { --cc-a: #38a3c9; --cc-b: #0b4f6c; --cc-glow: #a5f3fc; }
.brand-discover[b-qva1wy97vo] { --cc-a: #f97316; --cc-b: #7c2d12; --cc-glow: #fed7aa; }
.brand-diners[b-qva1wy97vo] { --cc-a: #94a3b8; --cc-b: #334155; --cc-glow: #e2e8f0; }
.brand-jcb[b-qva1wy97vo] { --cc-a: #10b981; --cc-b: #064e3b; --cc-glow: #a7f3d0; }
.brand-unionpay[b-qva1wy97vo] { --cc-a: #e11d48; --cc-b: #4c0519; --cc-glow: #fda4af; }

.cc-card-inner[b-qva1wy97vo] {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform .7s cubic-bezier(.3, .7, .2, 1);
}

.is-flipped .cc-card-inner[b-qva1wy97vo] { transform: rotateY(180deg); }

.cc-face[b-qva1wy97vo] {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 4.5cqw;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    background:
        radial-gradient(circle at 85% 0%, color-mix(in srgb, var(--cc-glow) 55%, transparent), transparent 55%),
        radial-gradient(circle at 0% 110%, color-mix(in srgb, var(--cc-glow) 25%, transparent), transparent 50%),
        linear-gradient(135deg, var(--cc-a), var(--cc-b));
    box-shadow: 0 24px 48px -12px rgb(15 23 42 / 45%), inset 0 1px 0 rgb(255 255 255 / 20%);
}

/* Subtle guilloché pattern and grain for a printed-card feel. */
.cc-face[b-qva1wy97vo]::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        repeating-radial-gradient(circle at 120% 50%, transparent 0 9px, rgb(255 255 255 / 5%) 9px 10px),
        linear-gradient(115deg, transparent 40%, rgb(255 255 255 / 12%) 50%, transparent 60%);
    pointer-events: none;
}

.cc-front[b-qva1wy97vo] {
    display: grid;
    grid-template-rows: auto 1fr auto;
    padding: 7cqw 7.5cqw 6cqw;
}

.cc-back[b-qva1wy97vo] { transform: rotateY(180deg); }

.cc-top[b-qva1wy97vo] { position: relative; display: flex; align-items: center; gap: 3cqw; }

.cc-chip[b-qva1wy97vo] {
    position: relative;
    width: 12cqw;
    aspect-ratio: 1.3;
    border-radius: 1.6cqw;
    background: linear-gradient(135deg, #fde68a, #d4a537 45%, #fbbf24 60%, #b7791f);
    box-shadow: inset 0 0 0 1px rgb(120 80 10 / 35%);
}

.cc-chip span[b-qva1wy97vo],
.cc-chip[b-qva1wy97vo]::before,
.cc-chip[b-qva1wy97vo]::after {
    content: "";
    position: absolute;
    border: 1px solid rgb(120 80 10 / 45%);
}

.cc-chip[b-qva1wy97vo]::before { inset: 30% 0; border-inline: 0; }
.cc-chip[b-qva1wy97vo]::after { inset: 0 35%; border-block: 0; }
.cc-chip span[b-qva1wy97vo] { inset: 30% 35%; border-radius: 1cqw; background: #f6d06b; }

.cc-contactless[b-qva1wy97vo] { width: 6cqw; height: 6cqw; opacity: .8; }

.cc-brand-slot[b-qva1wy97vo] {
    margin-left: auto;
    display: flex;
    align-items: center;
    animation: brand-in-b-qva1wy97vo .45s cubic-bezier(.3, .7, .2, 1);
}

.cc-number[b-qva1wy97vo] {
    align-self: center;
    display: flex;
    gap: 3.2cqw;
    margin-top: 3cqw;
    font-size: 6.2cqw;
    font-weight: 700;
    letter-spacing: .04em;
    white-space: nowrap;
    text-shadow: 0 1px 0 rgb(0 0 0 / 35%), 0 -1px 0 rgb(255 255 255 / 15%);
}

.cc-bottom[b-qva1wy97vo] { display: flex; align-items: flex-end; justify-content: space-between; gap: 4cqw; }

.cc-name[b-qva1wy97vo] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 4.3cqw;
    letter-spacing: .06em;
    text-shadow: 0 1px 0 rgb(0 0 0 / 35%);
}

.cc-expiry[b-qva1wy97vo] { display: flex; align-items: center; gap: 1.5cqw; flex-shrink: 0; font-size: 4.3cqw; }

.cc-label[b-qva1wy97vo] {
    font-family: Inter, system-ui, sans-serif;
    font-size: 2.2cqw;
    line-height: 1.05;
    text-transform: uppercase;
    opacity: .75;
}

.cc-number[b-qva1wy97vo],
.cc-name[b-qva1wy97vo],
.cc-expiry[b-qva1wy97vo],
.cc-cvc[b-qva1wy97vo],
.cc-amex-cvc[b-qva1wy97vo] {
    margin-inline: -1.5cqw;
    padding: .6cqw 1.5cqw;
    border-radius: 1.6cqw;
    outline: 1px solid transparent;
    transition: background .25s, outline-color .25s;
}

.is-active[b-qva1wy97vo] {
    background: rgb(255 255 255 / 14%);
    outline-color: rgb(255 255 255 / 45%);
}

.cc-amex-cvc[b-qva1wy97vo] {
    position: absolute;
    top: 33%;
    right: 9cqw;
    font-size: 3.6cqw;
    opacity: .9;
}

.cc-stripe[b-qva1wy97vo] { height: 19%; margin-top: 9%; background: linear-gradient(180deg, #0b0b0f, #27272a); }

.cc-signature-row[b-qva1wy97vo] { display: flex; align-items: center; gap: 3cqw; margin: 7cqw 7.5cqw 0; }

.cc-signature[b-qva1wy97vo] {
    flex: 1;
    height: 10cqw;
    border-radius: 1cqw;
    background: repeating-linear-gradient(-45deg, #f8fafc 0 6px, #e2e8f0 6px 12px);
}

.cc-cvc[b-qva1wy97vo] {
    margin: 0;
    padding: 2cqw 3cqw;
    border-radius: 1cqw;
    background: white;
    color: #0f172a;
    font-size: 4.5cqw;
    font-style: italic;
    font-weight: 700;
    letter-spacing: .1em;
}

.cc-cvc.is-active[b-qva1wy97vo] { outline: 2px solid #fbbf24; background: white; }

.cc-fineprint[b-qva1wy97vo] {
    margin: 4cqw 7.5cqw 0;
    font-family: Inter, system-ui, sans-serif;
    font-size: 2.3cqw;
    line-height: 1.4;
    opacity: .7;
}

.cc-back-brand[b-qva1wy97vo] { position: absolute; right: 7.5cqw; bottom: 6cqw; }

/* Brand marks are styled text, not official logos. */
.mark[b-qva1wy97vo] { display: inline-flex; align-items: center; font-family: Inter, system-ui, sans-serif; line-height: 1; }
.mark-visa[b-qva1wy97vo] { font-size: 9cqw; font-weight: 800; font-style: italic; letter-spacing: -.02em; }
.mark-mastercard[b-qva1wy97vo] { position: relative; height: 9cqw; padding-bottom: 3cqw; }
.mark-mastercard i[b-qva1wy97vo] { width: 9cqw; height: 9cqw; border-radius: 50%; background: #eb001b; }
.mark-mastercard i + i[b-qva1wy97vo] { margin-left: -3.6cqw; background: #f79e1b; mix-blend-mode: screen; opacity: .95; }
.mark-mastercard b[b-qva1wy97vo] { position: absolute; left: 50%; bottom: -1cqw; transform: translateX(-50%); font-size: 2.6cqw; font-weight: 600; }
.mark-amex[b-qva1wy97vo] { padding: 1.2cqw 1.6cqw; border: 2px solid white; font-size: 3cqw; font-weight: 800; letter-spacing: .04em; text-align: center; }
.mark-discover[b-qva1wy97vo] { font-size: 5cqw; font-weight: 800; letter-spacing: .02em; }
.mark-discover i[b-qva1wy97vo] { width: 4.4cqw; height: 4.4cqw; margin-inline: .3cqw; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff7ed, #fb923c 45%, #c2410c); }
.mark-diners[b-qva1wy97vo] { gap: 1.6cqw; font-size: 4cqw; font-weight: 700; font-style: italic; }
.mark-diners i[b-qva1wy97vo] { width: 6cqw; height: 6cqw; border-radius: 50%; border: 2px solid white; box-shadow: inset 2.2cqw 0 0 -1cqw white; }
.mark-jcb[b-qva1wy97vo] { gap: .6cqw; }
.mark-jcb i[b-qva1wy97vo] { display: grid; place-items: center; width: 5cqw; height: 7cqw; border-radius: 1.2cqw; font-size: 4.4cqw; font-style: normal; font-weight: 800; }
.mark-jcb i:nth-child(1)[b-qva1wy97vo] { background: #1d4ed8; }
.mark-jcb i:nth-child(2)[b-qva1wy97vo] { background: #dc2626; }
.mark-jcb i:nth-child(3)[b-qva1wy97vo] { background: #16a34a; }
.mark-unionpay[b-qva1wy97vo] { padding: 1.4cqw 2cqw; border-radius: 1cqw; background: linear-gradient(100deg, #dc2626 0 33%, #1d4ed8 33% 66%, #0f766e 66%); font-size: 3.6cqw; font-weight: 800; font-style: italic; }

@keyframes brand-in-b-qva1wy97vo {
    from { opacity: 0; transform: translateY(-6px) scale(.9); }
    to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .cc-card[b-qva1wy97vo], .cc-card-inner[b-qva1wy97vo], .cc-brand-slot[b-qva1wy97vo] { transition: none; animation: none; }
}
/* /Components/CssCarousel.razor.rz.scp.css */
.carousel[b-pkwqokuhd1] {
    --carousel-radius: 24px;
    position: relative;
}

.carousel-instructions[b-pkwqokuhd1] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.carousel-viewport[b-pkwqokuhd1] {
    position: relative;
    display: grid;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 640px;
    overflow: hidden;
    border-radius: var(--carousel-radius);
    background: #0f172a;
    box-shadow: 0 30px 60px -20px rgb(30 58 138 / 45%), 0 0 0 1px rgb(15 23 42 / 8%);
    isolation: isolate;
}

/* Radios stay focusable for keyboard arrows, but are visually hidden. */
.carousel-control[b-pkwqokuhd1] {
    position: absolute;
    inset: 0;
    width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
    pointer-events: none;
}

.carousel-slide[b-pkwqokuhd1] {
    grid-area: 1 / 1;
    position: relative;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease, visibility 0s linear .8s;
}

.carousel-control:checked + .carousel-slide[b-pkwqokuhd1] {
    opacity: 1;
    visibility: visible;
    z-index: 1;
    transition: opacity .8s ease, visibility 0s;
}

.carousel-control:focus-visible + .carousel-slide[b-pkwqokuhd1]::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--carousel-radius);
    box-shadow: inset 0 0 0 4px #60a5fa;
    pointer-events: none;
    z-index: 3;
}

.carousel-slide img[b-pkwqokuhd1] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.08);
    transition: transform 1.2s ease;
}

.carousel-control:checked + .carousel-slide img[b-pkwqokuhd1] {
    animation: carousel-drift-b-pkwqokuhd1 9s ease-out forwards;
}

.carousel-slide[b-pkwqokuhd1]::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(0deg, rgb(15 23 42 / 88%) 0%, rgb(15 23 42 / 35%) 38%, transparent 62%),
        linear-gradient(90deg, rgb(30 58 138 / 35%), transparent 45%);
    pointer-events: none;
}

.carousel-caption[b-pkwqokuhd1] {
    position: absolute;
    left: 48px;
    bottom: 44px;
    z-index: 2;
    max-width: min(560px, 62%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: white;
}

.carousel-control:checked + .carousel-slide .carousel-caption > *[b-pkwqokuhd1] {
    animation: carousel-rise-b-pkwqokuhd1 .7s cubic-bezier(.2, .7, .2, 1) both;
}

.carousel-control:checked + .carousel-slide .carousel-caption > :nth-child(2)[b-pkwqokuhd1] { animation-delay: .08s; }
.carousel-control:checked + .carousel-slide .carousel-caption > :nth-child(3)[b-pkwqokuhd1] { animation-delay: .16s; }
.carousel-control:checked + .carousel-slide .carousel-caption > :nth-child(4)[b-pkwqokuhd1] { animation-delay: .24s; }

.carousel-count[b-pkwqokuhd1] {
    font: 600 13px ui-monospace, Consolas, monospace;
    letter-spacing: .12em;
    color: #93c5fd;
}

.carousel-count span[b-pkwqokuhd1] {
    color: rgb(255 255 255 / 55%);
}

.carousel-caption strong[b-pkwqokuhd1] {
    font-size: 40px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -.035em;
}

.carousel-text[b-pkwqokuhd1] {
    font-size: 17px;
    line-height: 1.6;
    color: rgb(255 255 255 / 85%);
}

.carousel-credit[b-pkwqokuhd1] {
    width: fit-content;
    font-size: 12px;
    color: rgb(255 255 255 / 65%);
    text-decoration: underline;
    text-decoration-color: rgb(255 255 255 / 30%);
    text-underline-offset: 3px;
}

.carousel-credit:hover[b-pkwqokuhd1] {
    color: white;
}

.carousel-arrow[b-pkwqokuhd1] {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    color: white;
    border: 1px solid rgb(255 255 255 / 30%);
    border-radius: 50%;
    background: rgb(255 255 255 / 14%);
    backdrop-filter: blur(12px);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background .2s, transform .2s, border-color .2s;
}

.carousel-arrow:hover[b-pkwqokuhd1] {
    background: #2563eb;
    border-color: #2563eb;
    transform: translateY(-50%) scale(1.08);
}

.carousel-prev[b-pkwqokuhd1] { left: 24px; }
.carousel-next[b-pkwqokuhd1] { right: 24px; }

.carousel-dots[b-pkwqokuhd1] {
    position: absolute;
    right: 32px;
    bottom: 44px;
    z-index: 2;
    display: flex;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 999px;
    background: rgb(15 23 42 / 40%);
    backdrop-filter: blur(10px);
}

.carousel-dots label[b-pkwqokuhd1] {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: rgb(255 255 255 / 45%);
    cursor: pointer;
    transition: width .3s ease, background .2s;
}

.carousel-dots label:hover[b-pkwqokuhd1] {
    background: white;
}

.carousel-dots label.active[b-pkwqokuhd1] {
    width: 28px;
    background: #60a5fa;
}

@keyframes carousel-drift-b-pkwqokuhd1 {
    from { transform: scale(1.08); }
    to { transform: scale(1); }
}

@keyframes carousel-rise-b-pkwqokuhd1 {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
    .carousel-caption strong[b-pkwqokuhd1] { font-size: 30px; }
    .carousel-text[b-pkwqokuhd1] { font-size: 15px; }
    .carousel-caption[b-pkwqokuhd1] { left: 32px; bottom: 76px; max-width: calc(100% - 64px); }
    .carousel-dots[b-pkwqokuhd1] { left: 32px; right: auto; bottom: 28px; }
}

@media (max-width: 639px) {
    .carousel[b-pkwqokuhd1] { --carousel-radius: 18px; }
    .carousel-viewport[b-pkwqokuhd1] { aspect-ratio: 4 / 5; }
    .carousel-caption[b-pkwqokuhd1] { left: 20px; bottom: 64px; max-width: calc(100% - 40px); gap: 8px; }
    .carousel-caption strong[b-pkwqokuhd1] { font-size: 26px; }
    .carousel-text[b-pkwqokuhd1] { font-size: 14px; }
    .carousel-dots[b-pkwqokuhd1] { left: 20px; bottom: 20px; }
    .carousel-arrow[b-pkwqokuhd1] { top: auto; bottom: 14px; width: 44px; height: 44px; transform: none; }
    .carousel-arrow:hover[b-pkwqokuhd1] { transform: scale(1.06); }
    .carousel-prev[b-pkwqokuhd1] { left: auto; right: 68px; }
    .carousel-next[b-pkwqokuhd1] { right: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    .carousel-slide[b-pkwqokuhd1],
    .carousel-slide img[b-pkwqokuhd1],
    .carousel-dots label[b-pkwqokuhd1] { transition: none; }
    .carousel-control:checked + .carousel-slide img[b-pkwqokuhd1],
    .carousel-control:checked + .carousel-slide .carousel-caption > *[b-pkwqokuhd1] { animation: none; }
    .carousel-slide img[b-pkwqokuhd1] { transform: none; }
}
/* /Components/HoverCard.razor.rz.scp.css */
.hover-card[b-f1czkrfj9s] {
    position: relative;
    display: inline-block;
}

.hover-card-content[b-f1czkrfj9s] {
    --hc-tx: 0px;
    --hc-ty: 0px;
    --hc-sx: 0px;
    --hc-sy: 0px;
    position: absolute;
    z-index: 40;
    display: block;
    width: min(var(--hc-width), calc(100vw - 32px));
    padding: 16px;
    border: 1px solid var(--line, #e2e8f0);
    border-radius: 12px;
    background: white;
    color: var(--ink, #0f172a);
    box-shadow: 0 16px 40px -12px rgb(15 23 42 / 22%), 0 2px 6px rgb(15 23 42 / 6%);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
    white-space: normal;
    opacity: 0;
    visibility: hidden;
    scale: .96;
    translate: calc(var(--hc-tx) + var(--hc-sx)) calc(var(--hc-ty) + var(--hc-sy));
    transition: opacity .15s ease, scale .15s ease, translate .15s ease, visibility 0s linear .15s;
}

.hover-card[data-state="open"] > .hover-card-content[b-f1czkrfj9s] {
    --hc-sx: 0px;
    --hc-sy: 0px;
    opacity: 1;
    visibility: visible;
    scale: 1;
    transition: opacity .15s ease, scale .15s ease, translate .15s ease;
}

/* Invisible bridge across the gap so the pointer can travel from the trigger onto the card. */
.hover-card-content[b-f1czkrfj9s]::before {
    content: "";
    position: absolute;
}

/* Bottom */
[data-side="bottom"] > .hover-card-content[b-f1czkrfj9s] { top: 100%; margin-top: var(--hc-offset); --hc-sy: -6px; transform-origin: top center; }
[data-side="bottom"] > .hover-card-content[b-f1czkrfj9s]::before { left: 0; right: 0; bottom: 100%; height: calc(var(--hc-offset) + 2px); }

/* Top */
[data-side="top"] > .hover-card-content[b-f1czkrfj9s] { bottom: 100%; margin-bottom: var(--hc-offset); --hc-sy: 6px; transform-origin: bottom center; }
[data-side="top"] > .hover-card-content[b-f1czkrfj9s]::before { left: 0; right: 0; top: 100%; height: calc(var(--hc-offset) + 2px); }

/* Right */
[data-side="right"] > .hover-card-content[b-f1czkrfj9s] { left: 100%; margin-left: var(--hc-offset); --hc-sx: -6px; transform-origin: center left; }
[data-side="right"] > .hover-card-content[b-f1czkrfj9s]::before { top: 0; bottom: 0; right: 100%; width: calc(var(--hc-offset) + 2px); }

/* Left */
[data-side="left"] > .hover-card-content[b-f1czkrfj9s] { right: 100%; margin-right: var(--hc-offset); --hc-sx: 6px; transform-origin: center right; }
[data-side="left"] > .hover-card-content[b-f1czkrfj9s]::before { top: 0; bottom: 0; left: 100%; width: calc(var(--hc-offset) + 2px); }

/* Alignment along the trigger edge */
:is([data-side="top"], [data-side="bottom"])[data-align="start"] > .hover-card-content[b-f1czkrfj9s] { left: 0; }
:is([data-side="top"], [data-side="bottom"])[data-align="center"] > .hover-card-content[b-f1czkrfj9s] { left: 50%; --hc-tx: -50%; }
:is([data-side="top"], [data-side="bottom"])[data-align="end"] > .hover-card-content[b-f1czkrfj9s] { right: 0; }
:is([data-side="left"], [data-side="right"])[data-align="start"] > .hover-card-content[b-f1czkrfj9s] { top: 0; }
:is([data-side="left"], [data-side="right"])[data-align="center"] > .hover-card-content[b-f1czkrfj9s] { top: 50%; --hc-ty: -50%; }
:is([data-side="left"], [data-side="right"])[data-align="end"] > .hover-card-content[b-f1czkrfj9s] { bottom: 0; }

/* Narrow screens have no room beside the trigger, so side cards drop below it, centered. */
@media (max-width: 639px) {
    :is([data-side="left"], [data-side="right"]) > .hover-card-content[b-f1czkrfj9s] {
        inset: 100% auto auto 50%;
        margin: var(--hc-offset) 0 0;
        --hc-tx: -50%;
        --hc-ty: 0px;
        --hc-sx: 0px;
        --hc-sy: -6px;
        transform-origin: top center;
    }

    :is([data-side="left"], [data-side="right"]) > .hover-card-content[b-f1czkrfj9s]::before {
        inset: auto 0 100% 0;
        width: auto;
        height: calc(var(--hc-offset) + 2px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hover-card-content[b-f1czkrfj9s],
    .hover-card[data-state="open"] > .hover-card-content[b-f1czkrfj9s] {
        translate: var(--hc-tx) var(--hc-ty);
        scale: 1;
        transition: none;
    }
}
/* /Components/Questionnaire.razor.rz.scp.css */
.questionnaire[b-53otvahkds] { display: flex; flex-direction: column; gap: 20px; }

.q-progress[b-53otvahkds] { display: flex; flex-direction: column; gap: 10px; font-size: 13px; font-weight: 600; color: var(--muted); }
.q-progress-track[b-53otvahkds] { height: 6px; border-radius: 999px; background: #f1f5f9; overflow: hidden; }
.q-progress-track > span[b-53otvahkds] { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), #4f46e5); transition: width .35s cubic-bezier(.2, .8, .2, 1); }

.q-item[b-53otvahkds] { min-width: 0; margin: 0; padding: 0; border: 0; outline: none; animation: q-in-forward-0-b-53otvahkds .32s cubic-bezier(.2, .8, .2, 1); }
/* Alternating identical keyframes restarts the animation each step without re-creating the element. */
.q-forward-1[b-53otvahkds] { animation-name: q-in-forward-1-b-53otvahkds; }
.q-back-0[b-53otvahkds] { animation-name: q-in-back-0-b-53otvahkds; }
.q-back-1[b-53otvahkds] { animation-name: q-in-back-1-b-53otvahkds; }
.q-title[b-53otvahkds] { padding: 0; font-size: 19px; font-weight: 700; line-height: 1.35; letter-spacing: -.02em; color: var(--ink); }
.q-description[b-53otvahkds] { margin-top: 4px; font-size: 14px; color: var(--muted); }

.q-choices[b-53otvahkds] { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.q-choice[b-53otvahkds] { position: relative; display: flex; align-items: flex-start; gap: 12px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; background: white; cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s, transform .15s; }
.q-choice:hover[b-53otvahkds] { border-color: #93c5fd; background: #f8fbff; }
.q-choice:active[b-53otvahkds] { transform: scale(.995); }
.q-choice.is-selected[b-53otvahkds] { border-color: var(--blue); background: #eff6ff; box-shadow: 0 0 0 3px rgb(37 99 235 / 12%); }
.q-choice input[b-53otvahkds] { position: absolute; opacity: 0; pointer-events: none; }
.q-choice:has(input:focus-visible)[b-53otvahkds] { outline: 3px solid #60a5fa; outline-offset: 2px; }

.q-indicator[b-53otvahkds] { position: relative; flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; border: 1.5px solid #cbd5e1; background: white; transition: border-color .15s, background .15s; }
.q-radio[b-53otvahkds] { border-radius: 50%; }
.q-check[b-53otvahkds] { border-radius: 5px; }
.is-selected .q-indicator[b-53otvahkds] { border-color: var(--blue); background: var(--blue); }
.is-selected .q-radio[b-53otvahkds]::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: white; }
.is-selected .q-check[b-53otvahkds]::after { content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid white; border-width: 0 2px 2px 0; transform: rotate(45deg); }

.q-choice-text[b-53otvahkds] { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.q-choice-label[b-53otvahkds] { font-size: 15px; font-weight: 600; color: var(--ink); }
.q-choice-description[b-53otvahkds] { font-size: 13px; line-height: 1.45; color: var(--muted); }
.q-kbd[b-53otvahkds] { flex-shrink: 0; display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 5px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; background: var(--surface); font: 600 11px ui-monospace, Consolas, monospace; color: var(--muted); }
.is-selected .q-kbd[b-53otvahkds] { border-color: #93c5fd; color: var(--blue); background: white; }

.q-input[b-53otvahkds] { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: white; color: var(--ink); font-size: 15px; transition: border-color .15s, box-shadow .15s; }
.q-input[b-53otvahkds]::placeholder { color: #94a3b8; }
.q-input:focus[b-53otvahkds] { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgb(37 99 235 / 15%); }
.q-input.is-filled[b-53otvahkds] { border-color: var(--blue); background: #eff6ff; }

.q-error[b-53otvahkds] { margin-top: 12px; font-size: 13px; font-weight: 600; color: #dc2626; animation: q-shake-b-53otvahkds .3s; }
.q-item[aria-invalid="true"] .q-choice[b-53otvahkds], .q-item[aria-invalid="true"] .q-input[b-53otvahkds] { border-color: #fca5a5; }

.q-actions[b-53otvahkds] { display: flex; align-items: center; gap: 8px; padding-top: 4px; }
.q-spacer[b-53otvahkds] { flex: 1; }
.q-button[b-53otvahkds] { min-height: 40px; padding: 8px 18px; border-radius: 10px; border: 1px solid transparent; font-size: 14px; font-weight: 600; transition: background .15s, transform .15s, box-shadow .15s; }
.q-primary[b-53otvahkds] { background: var(--ink); color: white; box-shadow: 0 6px 14px rgb(15 23 42 / 18%); }
.q-primary:hover[b-53otvahkds] { background: #1e293b; transform: translateY(-1px); }
.q-ghost[b-53otvahkds] { background: transparent; color: var(--body); border-color: var(--line); }
.q-ghost:hover[b-53otvahkds] { background: var(--surface); color: var(--ink); }

@keyframes q-in-forward-0-b-53otvahkds { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
@keyframes q-in-forward-1-b-53otvahkds { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
@keyframes q-in-back-0-b-53otvahkds { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }
@keyframes q-in-back-1-b-53otvahkds { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }
@keyframes q-shake-b-53otvahkds { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

@media (max-width: 639px) {
    .q-title[b-53otvahkds] { font-size: 17px; }
    .q-kbd[b-53otvahkds] { display: none; }
}
