/* agentguard-eu Assessment Funnel — Custom CSS */
/* Core styling handled by Tailwind CDN + Inter font */

/* Smooth HTMX transitions */
main {
    transition: opacity 0.12s ease-out;
}

.htmx-swapping {
    opacity: 0.4;
}

.htmx-settling {
    opacity: 1;
}

/* Code blocks */
pre code {
    font-family: 'SF Mono', 'Fira Code', 'Fira Mono', 'JetBrains Mono', monospace;
}

/* Custom radio cards — the :has selector handles checked state via Tailwind */
label:has(input[type="radio"]:checked) {
    border-color: #6366f1;
    background-color: #eef2ff;
}

/* Smooth scroll for the whole page */
html {
    scroll-behavior: smooth;
}

/* Focus styles */
input:focus-visible,
button:focus-visible {
    outline: 2px solid #6366f1;
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background-color: #c7d2fe;
    color: #312e81;
}
