/* Custom dropdown UI for the conditional form router (.cfr-router select).
 */

.cfr-local-form {
    width: 100%;
    max-width: 752px;
    border-radius: 10px 10px 0 0 !important;
    margin: auto;
    border: none;
    background: #fff;
}

.cfr-local-form-header {
    background: #0c5e8c;
    border-radius: 10px 10px 0 0;
    text-align: center;
    padding: 15px !important;
    font-size: 22px;
    color: #fff;
}

.cfr-local-form-body {
    padding: 20px 48px 30px;
}

.cfr-local-form-header p {
    color: #fff;
    font-weight: 700;
    font-family: 'Nunito Sans';
}

.cfr-combobox {
    position: relative;
    width: 100%;
}

.cfr-combobox__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    background: #fff;
    border: 1px solid #b8bdc9;
    border-radius: 6px;
    padding: 0.65rem 0.9rem;
    font: inherit;
    color: inherit;
    text-align: left;
    font-weight: 700;
    cursor: pointer;
}

.cfr-combobox__trigger:hover {
    border-color: #999;
}

.cfr-combobox__trigger:focus-visible {
    outline: 2px solid #1B6B63;
    outline-offset: 2px;
}

.cfr-combobox__trigger[aria-expanded="true"] {
    border-color: #0c5e8c;
}

.cfr-combobox__value--placeholder {
    color: #767b74;
}

.jotform-container {
    background: #f6f6f6;
    padding: 30px 0;
}

.cfr-router__label {
    color: #0c5e8b;
    font-size: 1.10em;
    font-weight: 600;
    line-height: 1.45;
    font-family: "Inter", sans-serif;
    margin-bottom: 15px;
    display: block;
}

.cfr-combobox__chevron {
    width: 0.55em;
    height: 0.55em;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-top: -0.25em;
    flex-shrink: 0;
    transition: transform 0.15s ease;
}

.cfr-combobox__trigger[aria-expanded="true"] .cfr-combobox__chevron {
    transform: rotate(-135deg);
    margin-top: 0.15em;
}

.cfr-combobox__list {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 20;
    margin: 0;
    padding: 0.3rem;
    list-style: none;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    max-height: 280px;
    overflow-y: auto;
}

.cfr-combobox__list [role="option"] {
    padding: 0.55rem 0.7rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.95rem;
}

.cfr-combobox__list [role="option"].is-active {
    background: #0c5e8c24;
}

.cfr-combobox__list [role="option"].cfr-combobox__placeholder {
    color: #0c5e8c;
}

@media screen and (max-width: 768px) {
    .cfr-local-form-body {
        padding: 30px 24px 30px;
    }
}

@media screen and (max-width: 480px) {
    .cfr-local-form-body {
        padding: 20px 12px 30px;
    }
}
 .cfr-form-shell {
    position: relative;
    min-height: 260px;
}

.cfr-form-shell .dfs-iframe-wrap {
    position: relative;
    z-index: 1;
}

.cfr-spinner {
    position: absolute;
    top: 15%;
    left: 50%;
    z-index: 1;
    width: 36px;
    height: 36px;
    margin: -18px 0 0 -18px;
    border: 3px solid rgba(0, 0, 0, 0.12);
    border-top-color: #0c5e8c;
    border-radius: 50%;
    animation: cfr-spin 0.8s linear infinite;
    pointer-events: none;
}

@keyframes cfr-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .cfr-spinner {
        animation: none;
        opacity: 0.6;
    }
}