@tailwind base;
@tailwind components;
@tailwind utilities;

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Poppins:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');
@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
    : root

{
    --sidebar-background: 0 0% 98%;
    --sidebar-foreground: 240 5.3% 26.1%;
    --sidebar-primary: 240 5.9% 10%;
    --sidebar-primary-foreground: 0 0% 98%;
    --sidebar-accent: 240 4.8% 95.9%;
    --sidebar-accent-foreground: 240 5.9% 10%;
    --sidebar-border: 220 13% 91%;
    --sidebar-ring: 217.2 91.2% 59.8%
}

.dark {
    --sidebar-background: 240 5.9% 10%;
    --sidebar-foreground: 240 4.8% 95.9%;
    --sidebar-primary: 224.3 76.3% 48%;
    --sidebar-primary-foreground: 0 0% 100%;
    --sidebar-accent: 240 3.7% 15.9%;
    --sidebar-accent-foreground: 240 4.8% 95.9%;
    --sidebar-border: 240 3.7% 15.9%;
    --sidebar-ring: 217.2 91.2% 59.8%
}

}

html.no-transitions *,
html.no-transitions *::before,
html.no-transitions *::after {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    animation-duration: 0.01ms !important;
    animation-delay: -0.01ms !important;
    scroll-behavior: auto !important;
    display: none !important;
}

.selected {
    outline: 2px solid #9c7dff !important;
    background-color: rgba(156, 125, 255, 0.5) !important;
}

.hovered-pre-selected {
    outline: 2px solid #9c7dff !important;
    background-color: rgba(213, 205, 249, 0.5) !important;
}

.inline-selected {
    outline: 2px dashed #9c7dff !important;
    background-color: transparent !important;
}

.inline-hovered-pre-selected {
    outline: 2px solid #9c7dff;
    background-color: rgba(213, 205, 249, 0.3);
}

/* REMOVED: an authoring-tool artifact that shipped. `.inline-locked` painted a purple outline over the
   element and hung a black tooltip reading "Text linked to DB or code. Ask AI to edit." — a message for
   whoever was building the page, rendered by production CSS on a partner's ad-licence screen. Nothing in
   this repository applies the class, so it was never seen; leaving it in place meant one stray class
   attribute would show a partner our internal tooling talking to us about them. The same block still sits
   in wwwroot/css/Home/newHome.css and wwwroot/css/Client/client-new-ad-license.css, which this change does
   not own — worth removing there too. */

:root {
    --color-primary: hsl(255, 45%, 52%);
    --color-primary-foreground: hsl(0, 0%, 100%);
    --color-secondary: hsl(255, 30%, 65%);
    --color-secondary-foreground: hsl(0, 0%, 100%);
    --color-bg-dark: hsl(256, 32%, 14%);
    --color-bg-mid: hsl(256, 30%, 20%);
    --color-card: hsl(256, 28%, 18%);
    --color-border: hsla(255, 40%, 65%, 0.25);
    --color-success: hsl(142, 50%, 45%);
    --color-warning: hsl(43, 90%, 55%);
    --font-sans: 'Inter', sans-serif;
    --font-heading: 'Poppins', sans-serif;
    --font-mono: 'IBM Plex Mono', monospace;
    --border-radius: 1rem;
}

html, body {
    color: hsl(210, 11%, 15%);
    background-color: hsl(0, 0%, 100%);
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    line-height: 1.5;
}

* {
    box-sizing: border-box;
}
/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: hsl(256, 32%, 14%);
}

::-webkit-scrollbar-thumb {
    background: hsl(255, 40%, 40%);
    border-radius: 3px;
}

input:focus, select:focus, textarea:focus {
    outline: none;
}
/* purple text gradient */
.aurora-text {
    background: linear-gradient(135deg, hsl(255, 80%, 75%), hsl(280, 75%, 80%), hsl(255, 65%, 70%));
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: aurora 4s ease-in-out infinite;
}

@keyframes aurora {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}
/* glass card */
.glass-card {
    background: hsla(256, 35%, 20%, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid hsla(255, 40%, 65%, 0.2);
}
/* step connector */
.step-line {
    background: linear-gradient(90deg, hsl(255, 45%, 52%), hsla(255, 40%, 65%, 0.3));
}
/* floating label on dark bg */
.float-label-container {
    position: relative;
}
/* input dark style — used on dark hero etc */
.dark-input {
    background: hsla(256, 30%, 22%, 0.8);
    border: 1px solid hsla(255, 40%, 65%, 0.2);
    color: white;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

    .dark-input:focus {
        border-color: hsl(255, 45%, 62%);
        box-shadow: 0 0 0 3px hsla(255, 60%, 55%, 0.15);
    }

    .dark-input::placeholder {
        color: hsla(255, 20%, 70%, 0.5);
    }

    .dark-input option {
        background: hsl(256, 28%, 18%);
        color: white;
    }
/* light form input style — used in the form page */
.light-input {
    background: hsl(0, 0%, 100%);
    border: 1.5px solid hsl(210, 14%, 89%);
    color: hsl(210, 11%, 15%);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    appearance: auto;
    -webkit-appearance: auto;
}

    .light-input:focus {
        border-color: hsl(255, 45%, 52%);
        box-shadow: 0 0 0 3px hsla(255, 55%, 52%, 0.12);
    }

    .light-input::placeholder {
        color: hsl(210, 10%, 70%);
    }

    .light-input option {
        background: hsl(0, 0%, 100%);
        color: hsl(210, 11%, 15%);
    }
/* form card on light background */
.form-card {
    background: hsl(0, 0%, 100%);
    border: 1.5px solid hsl(210, 14%, 91%);
    box-shadow: 0 2px 16px hsla(210, 20%, 60%, 0.1);
    height: auto;
    min-height: 0;
}
/* pill badge light variant */
.pill-badge-light {
    background: hsla(255, 45%, 52%, 0.08);
    border: 1px solid hsla(255, 45%, 52%, 0.25);
    color: hsl(255, 45%, 45%);
    border-radius: var(--radius-pill);
    padding: 0.25rem 0.875rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}
/* pill badge */
.pill-badge {
    background: hsla(255, 45%, 52%, 0.15);
    border: 1px solid hsla(255, 45%, 62%, 0.4);
    color: hsl(255, 60%, 80%);
    border-radius: var(--radius-pill);
    padding: 0.25rem 0.875rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}
/* glow pulse animation for CTA */
@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 0 20px hsla(255, 60%, 55%, 0.4);
    }

    50% {
        box-shadow: 0 0 36px hsla(255, 60%, 55%, 0.7);
    }
}

.glow-pulse {
    animation: glowPulse 2.5s ease-in-out infinite;
}
/* Smooth fade/slide in */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-slide-up {
    animation: fadeSlideUp 0.5s ease-out forwards;
}
/* progress bar */
.progress-bar {
    background: linear-gradient(90deg, #6A5D8B, #8B7BAF);
    border-radius: var(--radius-pill);
    transition: width 0.5s ease;
}

[dir="rtl"] .progress-bar {
    background: linear-gradient(270deg, #6A5D8B, #8B7BAF);
}
/* hide scrollbar while keeping scrollability */
.no-scrollbar {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

    .no-scrollbar::-webkit-scrollbar {
        display: none;
    }
/* xs breakpoint helpers (< 480px) */
@media (min-width: 480px) {
    .xs\:block {
        display: block;
    }

    .xs\:hidden {
        display: none;
    }
}


/* ! tailwindcss v3.4.5 | MIT License | https://tailwindcss.com */ *, ::after, ::before {
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    border-color: hsl(210, 16%, 94%)
}

::after, ::before {
    --tw-content: ''
}

:host, html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    -moz-tab-size: 4;
    tab-size: 4;
    font-family: "Inter", sans-serif;
    font-feature-settings: normal;
    font-variation-settings: normal;
    -webkit-tap-highlight-color: transparent
}

body {
    margin: 0;
    line-height: inherit
}

hr {
    height: 0;
    color: inherit;
    border-top-width: 1px
}

abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted
}

h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit
}

a {
    color: inherit;
    text-decoration: inherit
}

b, strong {
    font-weight: bolder
}

code, kbd, pre, samp {
    font-family: "IBM Plex Mono", monospace;
    font-feature-settings: normal;
    font-variation-settings: normal;
    font-size: 1em
}

small {
    font-size: 80%
}

sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline
}

sub {
    bottom: -.25em
}

sup {
    top: -.5em
}

table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse
}

button, input, optgroup, select, textarea {
    font-family: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    font-size: 100%;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    color: inherit;
    margin: 0;
    padding: 0
}

button, select {
    text-transform: none
}

button, input:where([type=button]), input:where([type=reset]), input:where([type=submit]) {
    -webkit-appearance: button;
    background-color: transparent;
    background-image: none
}

:-moz-focusring {
    outline: auto
}

:-moz-ui-invalid {
    box-shadow: none
}

progress {
    vertical-align: baseline
}

::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto
}

[type=search] {
    -webkit-appearance: textfield;
    outline-offset: -2px
}

::-webkit-search-decoration {
    -webkit-appearance: none
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit
}

summary {
    display: list-item
}

blockquote, dd, dl, figure, h1, h2, h3, h4, h5, h6, hr, p, pre {
    margin: 0
}

fieldset {
    margin: 0;
    padding: 0
}

legend {
    padding: 0
}

menu, ol, ul {
    list-style: none;
    margin: 0;
    padding: 0
}

dialog {
    padding: 0
}

textarea {
    resize: vertical
}

    input::placeholder, textarea::placeholder {
        opacity: 1;
        color: #9ca3af
    }

[role=button], button {
    cursor: pointer
}

:disabled {
    cursor: default
}

audio, canvas, embed, iframe, img, object, svg, video {
    display: block;
    vertical-align: middle
}

img, video {
    max-width: 100%;
    height: auto
}

[hidden] {
    display: none
}

*, ::before, ::after {
    --tw-border-spacing-x: 0;
    --tw-border-spacing-y: 0;
    --tw-translate-x: 0;
    --tw-translate-y: 0;
    --tw-rotate: 0;
    --tw-skew-x: 0;
    --tw-skew-y: 0;
    --tw-scale-x: 1;
    --tw-scale-y: 1;
    --tw-pan-x:;
    --tw-pan-y:;
    --tw-pinch-zoom:;
    --tw-scroll-snap-strictness: proximity;
    --tw-gradient-from-position:;
    --tw-gradient-via-position:;
    --tw-gradient-to-position:;
    --tw-ordinal:;
    --tw-slashed-zero:;
    --tw-numeric-figure:;
    --tw-numeric-spacing:;
    --tw-numeric-fraction:;
    --tw-ring-inset:;
    --tw-ring-offset-width: 0px;
    --tw-ring-offset-color: #fff;
    --tw-ring-color: rgb(59 130 246 / 0.5);
    --tw-ring-offset-shadow: 0 0 #0000;
    --tw-ring-shadow: 0 0 #0000;
    --tw-shadow: 0 0 #0000;
    --tw-shadow-colored: 0 0 #0000;
    --tw-blur:;
    --tw-brightness:;
    --tw-contrast:;
    --tw-grayscale:;
    --tw-hue-rotate:;
    --tw-invert:;
    --tw-saturate:;
    --tw-sepia:;
    --tw-drop-shadow:;
    --tw-backdrop-blur:;
    --tw-backdrop-brightness:;
    --tw-backdrop-contrast:;
    --tw-backdrop-grayscale:;
    --tw-backdrop-hue-rotate:;
    --tw-backdrop-invert:;
    --tw-backdrop-opacity:;
    --tw-backdrop-saturate:;
    --tw-backdrop-sepia:;
    --tw-contain-size:;
    --tw-contain-layout:;
    --tw-contain-paint:;
    --tw-contain-style:
}

::backdrop {
    --tw-border-spacing-x: 0;
    --tw-border-spacing-y: 0;
    --tw-translate-x: 0;
    --tw-translate-y: 0;
    --tw-rotate: 0;
    --tw-skew-x: 0;
    --tw-skew-y: 0;
    --tw-scale-x: 1;
    --tw-scale-y: 1;
    --tw-pan-x:;
    --tw-pan-y:;
    --tw-pinch-zoom:;
    --tw-scroll-snap-strictness: proximity;
    --tw-gradient-from-position:;
    --tw-gradient-via-position:;
    --tw-gradient-to-position:;
    --tw-ordinal:;
    --tw-slashed-zero:;
    --tw-numeric-figure:;
    --tw-numeric-spacing:;
    --tw-numeric-fraction:;
    --tw-ring-inset:;
    --tw-ring-offset-width: 0px;
    --tw-ring-offset-color: #fff;
    --tw-ring-color: rgb(59 130 246 / 0.5);
    --tw-ring-offset-shadow: 0 0 #0000;
    --tw-ring-shadow: 0 0 #0000;
    --tw-shadow: 0 0 #0000;
    --tw-shadow-colored: 0 0 #0000;
    --tw-blur:;
    --tw-brightness:;
    --tw-contrast:;
    --tw-grayscale:;
    --tw-hue-rotate:;
    --tw-invert:;
    --tw-saturate:;
    --tw-sepia:;
    --tw-drop-shadow:;
    --tw-backdrop-blur:;
    --tw-backdrop-brightness:;
    --tw-backdrop-contrast:;
    --tw-backdrop-grayscale:;
    --tw-backdrop-hue-rotate:;
    --tw-backdrop-invert:;
    --tw-backdrop-opacity:;
    --tw-backdrop-saturate:;
    --tw-backdrop-sepia:;
    --tw-contain-size:;
    --tw-contain-layout:;
    --tw-contain-paint:;
    --tw-contain-style:
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0
}

.pointer-events-none {
    pointer-events: none
}

.absolute {
    position: absolute
}

.relative {
    position: relative
}

.left-0 {
    left: 0px
}

.left-4 {
    left: 1rem
}

.right-3 {
    right: 0.75rem
}

.top-0 {
    top: 0px
}

.top-1\/2 {
    top: 50%
}

.mx-auto {
    margin-left: auto;
    margin-right: auto
}

.mb-2 {
    margin-bottom: 0.5rem
}

.mb-3 {
    margin-bottom: 0.75rem
}

.mb-5 {
    margin-bottom: 1.25rem
}

.mb-6 {
    margin-bottom: 1.5rem
}

.ml-auto {
    margin-left: auto
}

.mr-2 {
    margin-right: 0.5rem
}

.mt-1 {
    margin-top: 0.25rem
}

.block {
    display: block
}

.flex {
    display: flex
}

.grid {
    display: grid
}

.hidden {
    display: none
}

.h-1 {
    height: 0.25rem
}

.h-10 {
    height: 2.5rem
}

.h-11 {
    height: 2.75rem
}

.h-9 {
    height: 2.25rem
}

.h-full {
    height: 100%
}

.h-px {
    height: 1px
}

.min-h-screen {
    min-height: 100vh
}

.ad-form-shell .min-h-screen,
.ad-form-canvas,
.ad-form-canvas__section {
    min-height: 0;
}

.w-10 {
    width: 2.5rem
}

.w-9 {
    width: 2.25rem
}

.w-full {
    width: 100%
}

.min-w-0 {
    min-width: 0px
}

.min-w-\[3rem\] {
    min-width: 3rem
}

.max-w-\[4\.5rem\] {
    max-width: 4.5rem
}

.max-w-\[860px\] {
    max-width: 860px
}

.flex-1 {
    flex: 1 1 0%
}

.flex-shrink-0 {
    flex-shrink: 0
}

.-translate-y-1\/2 {
    --tw-translate-y: -50%;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))
}

.scale-110 {
    --tw-scale-x: 1.1;
    --tw-scale-y: 1.1;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))
}

.cursor-pointer {
    cursor: pointer
}

.select-none {
    -webkit-user-select: none;
    user-select: none
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr))
}

.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr))
}

.flex-col {
    flex-direction: column
}

.flex-wrap {
    flex-wrap: wrap
}

.items-start {
    align-items: flex-start
}

.items-center {
    align-items: center
}

.justify-end {
    justify-content: flex-end
}

.justify-center {
    justify-content: center
}

.justify-between {
    justify-content: space-between
}

.gap-2 {
    gap: 0.5rem
}

.gap-3 {
    gap: 0.75rem
}

.gap-4 {
    gap: 1rem
}

.gap-5 {
    gap: 1.25rem
}

.space-y-0 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-y-reverse: 0;
    margin-top: calc(0px * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(0px * var(--tw-space-y-reverse))
}

.overflow-hidden {
    overflow: hidden
}

.whitespace-nowrap {
    white-space: nowrap
}

.rounded-2xl {
    border-radius: 1.5rem
}

.rounded-full {
    border-radius: var(--radius-pill)
}

.rounded-lg {
    border-radius: 1rem
}

.rounded-xl {
    border-radius: 1.25rem
}

.border {
    border-width: 1px
}

.border-transparent {
    border-color: transparent
}

.bg-gradient-purple {
    background-image: linear-gradient(135deg, #6A5D8B, #8B7BAF)
}

.px-2 {
    padding-left: 0.5rem;
    padding-right: 0.5rem
}

.px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem
}

.px-8 {
    padding-left: 2rem;
    padding-right: 2rem
}

.py-1\.5 {
    padding-top: 0.375rem;
    padding-bottom: 0.375rem
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem
}

.py-3\.5 {
    padding-top: 0.875rem;
    padding-bottom: 0.875rem
}

.py-5 {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem
}

.py-6 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem
}

.pb-2 {
    padding-bottom: 0.5rem
}

.pl-9 {
    padding-left: 2.25rem
}

.pr-4 {
    padding-right: 1rem
}

.pt-6 {
    padding-top: 1.5rem
}

.font-heading {
    font-family: "Poppins", sans-serif
}

.font-sans {
    font-family: "Inter", sans-serif
}

.text-base {
    font-size: 1rem;
    line-height: 1.5rem
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem
}

.text-xs {
    font-size: 0.75rem;
    line-height: 1rem
}

.font-light {
    font-weight: 300
}

.font-medium {
    font-weight: 500
}

.font-normal {
    font-weight: 400
}

.font-semibold {
    font-weight: 600
}

.text-brand-purple {
    --tw-text-opacity: 1;
    color: #6A5D8B
}

.text-gray-400 {
    --tw-text-opacity: 1;
    color: hsl(210 11% 71% / var(--tw-text-opacity))
}

.text-red-500 {
    --tw-text-opacity: 1;
    color: rgb(239 68 68 / var(--tw-text-opacity))
}

.text-white {
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity))
}

.shadow-purple-glow {
    --tw-shadow: 0 0 30px rgba(106, 93, 139, 0.35);
    --tw-shadow-colored: 0 0 30px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)
}

.shadow-purple-sm {
    --tw-shadow: 0 0 12px rgba(106, 93, 139, 0.2);
    --tw-shadow-colored: 0 0 12px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)
}

.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms
}

.transition-colors {
    transition-property: color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms
}

.duration-200 {
    transition-duration: 200ms
}

.duration-300 {
    transition-duration: 300ms
}

@keyframes enter {
    from {
        opacity: var(--tw-enter-opacity, 1);
        transform: translate3d(var(--tw-enter-translate-x, 0), var(--tw-enter-translate-y, 0), 0) scale3d(var(--tw-enter-scale, 1), var(--tw-enter-scale, 1), var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))
    }
}

@keyframes exit {
    to {
        opacity: var(--tw-exit-opacity, 1);
        transform: translate3d(var(--tw-exit-translate-x, 0), var(--tw-exit-translate-y, 0), 0) scale3d(var(--tw-exit-scale, 1), var(--tw-exit-scale, 1), var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))
    }
}

.duration-200 {
    animation-duration: 200ms
}

.duration-300 {
    animation-duration: 300ms
}

.hover\:border-brand-purple\/30:hover {
    border-color: rgba(106, 93, 139, 0.3)
}

.hover\:opacity-90:hover {
    opacity: 0.9
}

.disabled\:cursor-not-allowed:disabled {
    cursor: not-allowed
}

.group:hover .group-hover\:border-brand-purple\/40 {
    border-color: rgba(106, 93, 139, 0.4)
}

.group:hover .group-hover\:text-gray-600 {
    --tw-text-opacity: 1;
    color: hsl(210 8% 43% / var(--tw-text-opacity))
}

@media (min-width: 480px) {
    .xs\:block {
        display: block
    }

    .xs\:hidden {
        display: none
    }
}

@media (min-width: 640px) {
    .sm\:mb-6 {
        margin-bottom: 1.5rem
    }

    .sm\:mb-8 {
        margin-bottom: 2rem
    }

    .sm\:h-11 {
        height: 2.75rem
    }

    .sm\:h-12 {
        height: 3rem
    }

    .sm\:w-11 {
        width: 2.75rem
    }

    .sm\:w-12 {
        width: 3rem
    }

    .sm\:w-auto {
        width: auto
    }

    .sm\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .sm\:gap-2\.5 {
        gap: 0.625rem
    }

    .sm\:gap-4 {
        gap: 1rem
    }

    .sm\:gap-5 {
        gap: 1.25rem
    }

    .sm\:px-6 {
        padding-left: 1.5rem;
        padding-right: 1.5rem
    }

    .sm\:px-8 {
        padding-left: 2rem;
        padding-right: 2rem
    }

    .sm\:py-10 {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem
    }

    .sm\:py-6 {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem
    }

    .sm\:py-8 {
        padding-top: 2rem;
        padding-bottom: 2rem
    }

    .sm\:text-2xl {
        font-size: 1.5rem;
        line-height: 2rem
    }

    .sm\:text-lg {
        font-size: 1.125rem;
        line-height: 1.75rem
    }

    .sm\:text-sm {
        font-size: 0.875rem;
        line-height: 1.25rem
    }
}

@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

/* Wizard layout: Tailwind subset omits sm:flex-row */
.new-ad-license-step-footer {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.new-ad-license-step-footer__btn {
    box-sizing: border-box;
}

@media (max-width: 639.98px) {
    .new-ad-license-step-footer__btn {
        width: 100%;
    }
}

@media (min-width: 640px) {
    .new-ad-license-step-footer {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
    }

    .new-ad-license-step-footer__btn {
        width: auto;
        flex: 0 0 auto;
    }
}

.new-ad-license-inline-row {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .new-ad-license-inline-row {
        flex-direction: row;
        align-items: stretch;
    }

    .new-ad-license-inline-row > .new-ad-license-inline-row__grow {
        flex: 1 1 0%;
        min-width: 0;
    }
}

/* Horizontal lines between stepper icons (New Ad License wizard) */
.ad-license-stepper-row .ad-license-step-connector {
    flex: 1 1 0;
    min-width: 0.5rem;
    height: 2px;
    align-self: start;
    margin-top: 1.125rem;
    background: rgb(229, 232, 235);
    border-radius: var(--radius-pill);
}

@media (min-width: 640px) {
    .ad-license-stepper-row .ad-license-step-connector {
        margin-top: 1.375rem;
    }
}

/* ── Mobile: map, stepper, chips, verify button ───────────────────────────── */
.new-ad-license-map-shell {
    height: min(360px, 45vh);
    min-height: 220px;
    max-height: 360px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    border: 1.5px solid rgb(223, 227, 231);
}

.new-ad-license-map-shell #newAdLicenseMap {
    min-height: 100%;
    height: 100%;
}

@media (min-width: 640px) {
    .new-ad-license-map-shell {
        height: 360px;
        min-height: 360px;
    }
}

.new-ad-license-verify-btn {
    height: 48px;
    min-width: 110px;
    padding: 0 24px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    box-sizing: border-box;
}

@media (max-width: 639.98px) {
    .new-ad-license-verify-btn {
        width: 100%;
        min-width: 0;
        padding: 0 16px;
    }
}

.ad-license-stepper-row {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.ad-license-stepper-row > button {
    min-width: 0;
}

#propertyTypeContainer .property-type-btn,
.facade-option-field {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: anywhere;
    word-break: break-word;
    text-align: center;
}

@media (max-width: 479.98px) {
    .ad-license-stepper-row > button {
        margin-left: 0 !important;
        margin-right: 0 !important;
        gap: 0.35rem;
    }

    .ad-license-stepper-row > button > div[id^="stepIcon"] {
        width: 2rem;
        height: 2rem;
        border-radius: 0.65rem;
        transform: none !important;
    }

    .ad-license-stepper-row > button > div[id^="stepIcon"].scale-110 {
        transform: none !important;
    }

    .ad-license-stepper-row > button > div[id^="stepIcon"] svg {
        width: 14px;
        height: 14px;
    }

    .ad-license-stepper-row .ad-license-step-connector {
        min-width: 0.25rem;
        margin-top: 0.95rem;
    }

    .ad-license-stepper-row > button span {
        font-size: 0.65rem;
        line-height: 1.1;
    }
}

@media (max-width: 359.98px) {
    #propertyTypeContainer {
        grid-template-columns: minmax(0, 1fr);
    }
}
