.ui-field label {
    display: inline-block;
    font-family: Arimo, sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1;
    color: #1E17E0;
    margin: 0 0 8px;
}

.ui-control {
    height: 46px;
    width: 100%;
    border-radius: 32px;
    border: 1px solid #eceff6;
    background: #eceef3;
    color: #001f48;
    font-size: 16px;
    line-height: 1;
    outline: none;
    box-shadow: none;
}

.ui-input {
    padding: 12px 24px;
}

.ui-input::placeholder {
    color: #d8d8d8;
}

.ui-textarea {
    height: auto;
    border-radius: 16px;
    padding: 12px 24px;
    resize: vertical;
    line-height: 1.5;
}

.ui-textarea::placeholder {
    color: #d8d8d8;
}

.ui-select {
    padding: 0 42px 0 16px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7 10L12 15L17 10' stroke='%23274369' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.ui-control:focus-visible {
    border: 1px solid #c3c3c3;
    outline: none;
    box-shadow: none;
}

.ui-field.is-invalid .ui-control {
    border-color: #c31818;
}

.ui-error {
    position: absolute;
    left: 0;
    bottom: -22px;
    color: #c31818;
    font-weight: 400;
    font-size: 14px;
    line-height: 1;
    display: none;
    margin: 0;
}

.ui-field.is-invalid .ui-error {
    display: block;
}

.ui-field.required label:after {
    content: "*";
    display: inline-block;
    margin-left: 2px;
    color: #0b1fa1;
    line-height: 20px;
}

.home-quote-native--hidden {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    height: 0;
    width: 0;
}

.home-quote-select {
    position: relative;
}

.home-quote-select__trigger {
    height: 46px;
    width: 100%;
    border-radius: 999px;
    border: 1px solid #C3C3C3;
    background: #F4F4F4;
    color: #001f48;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    padding: 12px 24px;
    text-align: left;
    position: relative;
}

.home-quote-select__trigger::after {
    content: '';
    position: absolute;
    right: 24px;
    top: 50%;
    width: 16px;
    height: 16px;
    transform: translateY(-50%);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7 10L12 15L17 10' stroke='%23274369' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

.home-quote-select__menu {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    border-radius: 14px;
    border: 1px solid #d9eafc;
    background: #ffffff;
    box-shadow: 0 16px 36px rgba(20, 78, 155, 0.14);
    max-height: 220px;
    overflow-y: auto;
    display: none;
    z-index: 30;
}

.home-quote-select.is-open .home-quote-select__menu {
    display: block;
}

.home-quote-select__option {
    width: 100%;
    border: none;
    background: transparent;
    text-align: left;
    padding: 10px 14px;
    font-size: 15px;
    line-height: 1.3;
    color: #001f48;
}

.home-quote-select__option:hover,
.home-quote-select__option.is-active {
    background: #eef4ff;
}

.home-quote-select__trigger:focus-visible {
    border-color: #315eb7;
    box-shadow: 0 0 0 3px rgba(30, 23, 224, 0.14);
}
