.theme-transition, .theme-transition * {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, fill 0.3s ease, box-shadow 0.3s ease;
}

/* Base layout */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

html, body * {
    scrollbar-width: none !important;
}

/* Let #app fill the viewport height */
#app {
    height: 100vh;
}

.no-select {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

#blazor-error-ui {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    background: #b71c1c;
    color: #fff;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    display: none;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    z-index: 10000;
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
    white-space: nowrap;
}

#blazor-error-ui .reload,
#blazor-error-ui .dismiss {
    color: #ffd6d6;
    cursor: pointer;
    text-decoration: underline;
}

#blazor-error-ui .dismiss {
    text-decoration: none;
    font-weight: bold;
}

.d-none {
    display: none !important;
}

.w-\[0\%\] {
    width: 100%;
}

.w-\[1\%\] {
    width: 99%;
}

.w-\[2\%\] {
    width: 98%;
}

.w-\[3\%\] {
    width: 97%;
}

.w-\[4\%\] {
    width: 96%;
}

.w-\[5\%\] {
    width: 95%;
}

.w-\[6\%\] {
    width: 94%;
}

.w-\[7\%\] {
    width: 93%;
}

.w-\[8\%\] {
    width: 92%;
}

.w-\[9\%\] {
    width: 91%;
}

.w-\[10\%\] {
    width: 90%;
}

.w-\[11\%\] {
    width: 89%;
}

.w-\[12\%\] {
    width: 88%;
}

.w-\[13\%\] {
    width: 87%;
}

.w-\[14\%\] {
    width: 86%;
}

.w-\[15\%\] {
    width: 85%;
}

.w-\[16\%\] {
    width: 84%;
}

.w-\[17\%\] {
    width: 83%;
}

.w-\[18\%\] {
    width: 82%;
}

.w-\[19\%\] {
    width: 81%;
}

.w-\[20\%\] {
    width: 80%;
}

.w-\[21\%\] {
    width: 79%;
}

.w-\[22\%\] {
    width: 78%;
}

.w-\[23\%\] {
    width: 77%;
}

.w-\[24\%\] {
    width: 76%;
}

.w-\[25\%\] {
    width: 75%;
}

.w-\[26\%\] {
    width: 74%;
}

.w-\[27\%\] {
    width: 73%;
}

.w-\[28\%\] {
    width: 72%;
}

.w-\[29\%\] {
    width: 71%;
}

.w-\[30\%\] {
    width: 70%;
}

.w-\[31\%\] {
    width: 69%;
}

.w-\[32\%\] {
    width: 68%;
}

.w-\[33\%\] {
    width: 67%;
}

.w-\[34\%\] {
    width: 66%;
}

.w-\[35\%\] {
    width: 65%;
}

.w-\[36\%\] {
    width: 64%;
}

.w-\[37\%\] {
    width: 63%;
}

.w-\[38\%\] {
    width: 62%;
}

.w-\[39\%\] {
    width: 61%;
}

.w-\[40\%\] {
    width: 60%;
}

.w-\[41\%\] {
    width: 59%;
}

.w-\[42\%\] {
    width: 58%;
}

.w-\[43\%\] {
    width: 57%;
}

.w-\[44\%\] {
    width: 56%;
}

.w-\[45\%\] {
    width: 55%;
}

.w-\[46\%\] {
    width: 54%;
}

.w-\[47\%\] {
    width: 53%;
}

.w-\[48\%\] {
    width: 52%;
}

.w-\[49\%\] {
    width: 51%;
}

.w-\[50\%\] {
    width: 50%;
}

.w-\[51\%\] {
    width: 49%;
}

.w-\[52\%\] {
    width: 48%;
}

.w-\[53\%\] {
    width: 47%;
}

.w-\[54\%\] {
    width: 46%;
}

.w-\[55\%\] {
    width: 45%;
}

.w-\[56\%\] {
    width: 44%;
}

.w-\[57\%\] {
    width: 43%;
}

.w-\[58\%\] {
    width: 42%;
}

.w-\[59\%\] {
    width: 41%;
}

.w-\[60\%\] {
    width: 40%;
}

.w-\[61\%\] {
    width: 39%;
}

.w-\[62\%\] {
    width: 38%;
}

.w-\[63\%\] {
    width: 37%;
}

.w-\[64\%\] {
    width: 36%;
}

.w-\[65\%\] {
    width: 35%;
}

.w-\[66\%\] {
    width: 34%;
}

.w-\[67\%\] {
    width: 33%;
}

.w-\[68\%\] {
    width: 32%;
}

.w-\[69\%\] {
    width: 31%;
}

.w-\[70\%\] {
    width: 30%;
}

.w-\[71\%\] {
    width: 29%;
}

.w-\[72\%\] {
    width: 28%;
}

.w-\[73\%\] {
    width: 27%;
}

.w-\[74\%\] {
    width: 26%;
}

.w-\[75\%\] {
    width: 25%;
}

.w-\[76\%\] {
    width: 24%;
}

.w-\[77\%\] {
    width: 23%;
}

.w-\[78\%\] {
    width: 22%;
}

.w-\[79\%\] {
    width: 21%;
}

.w-\[80\%\] {
    width: 20%;
}

.w-\[81\%\] {
    width: 19%;
}

.w-\[82\%\] {
    width: 18%;
}

.w-\[83\%\] {
    width: 17%;
}

.w-\[84\%\] {
    width: 16%;
}

.w-\[85\%\] {
    width: 15%;
}

.w-\[86\%\] {
    width: 14%;
}

.w-\[87\%\] {
    width: 13%;
}

.w-\[88\%\] {
    width: 12%;
}

.w-\[89\%\] {
    width: 11%;
}

.w-\[90\%\] {
    width: 10%;
}

.w-\[91\%\] {
    width: 9%;
}

.w-\[92\%\] {
    width: 8%;
}

.w-\[93\%\] {
    width: 7%;
}

.w-\[94\%\] {
    width: 6%;
}

.w-\[95\%\] {
    width: 5%;
}

.w-\[96\%\] {
    width: 4%;
}

.w-\[97\%\] {
    width: 3%;
}

.w-\[98\%\] {
    width: 2%;
}

.w-\[99\%\] {
    width: 1%;
}

.w-\[100\%\] {
    width: 0%;
}

.toast-item {
    animation: toast-slide-in 150ms ease-out both;
}

@keyframes toast-slide-in {
    from {
        opacity: 0;
        transform: translateY(0.5rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .toast-item {
        animation: none;
    }
}

.country-flag {
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Segoe UI Symbol", sans-serif;
    font-size: 1.2rem;
    line-height: 1;
    display: inline-block;
}

.catalog-scroll {
    overflow-anchor: none;
}

.catalog-search {
    transform: translateY(0);
    transition: transform 180ms ease-out;
    will-change: transform;
}

.catalog-scroll[data-search-hidden="true"] .catalog-search {
    transform: translateY(-100%);
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    .catalog-search {
        transition: none;
    }
}

/* Normalize API text colors while retaining the wrapper's theme-aware color. */
.service-description * {
    color: inherit !important;
}
/* Remove provider backgrounds that could conflict with the current theme. */
.service-description,
.service-description * {
    background-color: transparent !important;
}
.service-description > * + * {
    margin-top: 0.625rem;
}
.service-description :is(h1, h2, h3, h4, h5, h6) {
    font-size: inherit;
    font-weight: 600;
}
.service-description :is(ul, ol) {
    margin-block: 0.625rem;
    padding-left: 1.25rem;
}
.service-description ul {
    list-style-type: disc;
}
.service-description ol {
    list-style-type: decimal;
}
.service-description a {
    text-decoration: underline;
    text-underline-offset: 2px;
}
.service-description img {
    max-width: 100%;
    height: auto;
}