/*
 * jQuery UI's datepicker sniffs the z-index of the input's positioned
 * ancestors and stacks itself one above that — on this theme that lands
 * around z-index:4, well below sections further down the page (e.g. the
 * marquee band), so the calendar renders but is painted over and appears
 * not to open at all. Force it above everything else on the page.
 */
#ui-datepicker-div {
    z-index: 999999 !important;
}

/*
 * The theme only styles input[type="text"]/[type="email"] inside
 * .why-choose-one__form — a native input[type="time"] falls back to the
 * browser's own (smaller, black-bordered) chrome without this.
 */
.why-choose-one__form .input-box input[type="time"] {
    position: relative;
    display: block;
    height: 50px;
    width: 100%;
    background-color: var(--trnspot-white);
    border: 1px solid rgba(var(--trnspot-black-rgb), .15);
    padding-left: 20px;
    padding-right: 40px;
    outline: none;
    font-size: 15px;
    font-weight: 400;
    color: var(--trnspot-gray);
    border-radius: var(--trnspot-bdr-radius);
    font-family: var(--trnspot-font);
}

/*
 * Keep the native picker control working (display:none removes the only
 * clickable trigger for the dropdown) but make it invisible and stretch it
 * over the whole field, so clicking anywhere — not just the browser's own
 * tiny icon — opens the dropdown, while the theme's icon shows on top.
 */
.why-choose-one__form .input-box input[type="time"]::-webkit-calendar-picker-indicator {
    background: none;
    color: transparent;
    opacity: 0;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.quote-form__login-prompt {
    margin: -10px 0 20px;
    font-size: 14px;
    color: var(--trnspot-gray);
    text-align: center;
}

.quote-form__login-prompt a {
    color: var(--trnspot-base);
    font-weight: 600;
    text-decoration: underline;
}

.quote-form__welcome {
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: 600;
    color: var(--trnspot-base);
}

.quote-form__field {
    margin-bottom: 15px;
}

.quote-form__field .input-box {
    margin-bottom: 0;
}

.quote-form__label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--trnspot-gray);
}

.quote-form__required {
    color: #e53935;
}

.quote-form__timing-options {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.quote-form__radio {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 400;
    color: var(--trnspot-gray);
    cursor: pointer;
}

.quote-form__radio input[type="radio"] {
    width: 16px;
    height: 16px;
    accent-color: var(--trnspot-base);
    cursor: pointer;
}

[x-cloak] {
    display: none !important;
}
