.hrf-wrap {
    font-family: 'Frutiger', sans-serif;
    padding-left: 56px;
    padding-right: 56px;
}

/* Success / error messages */
.hrf-wrap .hrf-success {
    padding: 16px 0;
    margin-bottom: 32px;
    color: #da0725;
    font-weight: 700;
    font-size: 16px;
    border-bottom: 2px solid #da0725;
}

.hrf-wrap .hrf-errors {
    padding: 16px 0;
    margin-bottom: 24px;
    color: #da0725;
    font-size: 15px;
    border-bottom: 2px solid #da0725;
}

.hrf-wrap .hrf-errors p {
    margin: 0 0 4px;
}

.hrf-wrap .hrf-errors p:last-child {
    margin-bottom: 0;
}

/* Section titles */
.hrf-wrap .hrf-section-title {
    font-family: 'Foro', sans-serif;
    font-size: 52px;
    font-weight: 400;
    line-height: 1;
    color: #da0725;
    text-transform: uppercase;
    margin: 40px 0 24px;
}

.hrf-wrap .hrf-form .hrf-section-title:first-of-type {
    margin-top: 0;
}

/* Field rows */
.hrf-wrap .hrf-field-row {
    display: grid;
    grid-template-columns: 26% 1fr;
    align-items: start;
    gap: 16px;
    margin-bottom: 6px;
}

.hrf-wrap .hrf-field-row > *:last-child {
    min-width: 0;
    width: 100% !important;
}

.hrf-wrap .hrf-field-row .hrf-label {
    padding-top: 8px;
}

.hrf-wrap .hrf-field-row-inline {
    grid-template-columns: 1fr auto;
    align-items: center;
}

/* Labels */
.hrf-wrap .hrf-label {
    font-family: 'Frutiger', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #000;
    line-height: 1.3;
}

/* Inputs */
.hrf-wrap input.hrf-input,
.hrf-wrap select.hrf-input {
    display: block;
    width: 100% !important;
    min-width: 0;
    height: 32px;
    padding: 0 10px !important;
    background: #dedede !important;
    border: none !important;
    border-bottom: 1px solid #da0725 !important;
    border-radius: 0 !important;
    font-size: 14px !important;
    font-family: 'Frutiger', sans-serif !important;
    font-weight: 400 !important;
    color: #000 !important;
    outline: none;
    box-shadow: none !important;
    appearance: none;
    -webkit-appearance: none;
    box-sizing: border-box;
}

.hrf-wrap input.hrf-input:focus,
.hrf-wrap select.hrf-input:focus {
    border-bottom-color: #b00020 !important;
    outline: none;
}

/* Select chevron */
.hrf-wrap select.hrf-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23da0725'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
    padding-right: 28px !important;
    cursor: pointer;
}

/* Small inline select (Yes/No) */
.hrf-wrap select.hrf-select-inline {
    width: auto !important;
    min-width: 72px;
}

/* Zip code: two inputs side by side */
.hrf-wrap .hrf-zip-group {
    display: grid;
    grid-template-columns: 1fr 80px;
    gap: 8px;
}

/* Date of birth: three selects */
.hrf-wrap .hrf-dob-group {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
}

/* Submit */
.hrf-wrap .hrf-submit-row {
    margin-top: 40px;
    display: flex;
    justify-content: flex-end;
}

.hrf-wrap .hrf-submit,
.hrf-wrap .hrf-submit:hover {
    border-width: 0 !important;
    border-radius: 100px !important;
    padding-top: 0.6rem !important;
    padding-left: 52px !important;
    padding-right: 52px !important;
    font-family: 'Frutiger', sans-serif !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    cursor: pointer;
}

.hrf-wrap .hrf-submit {
    background-color: #da0725 !important;
}

.hrf-wrap .hrf-submit:hover {
    background-color: #b00020 !important;
}

.hrf-wrap .hrf-submit::after {
    font-size: 18px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin-top: 0 !important;
    right: 40px !important;
    opacity: 0 !important;
    transition: all 300ms ease !important;
}

.hrf-wrap .hrf-submit:hover::after {
    right: 28px !important;
    opacity: 1 !important;
}

/* Responsive */
@media (max-width: 640px) {
    .hrf-wrap {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hrf-wrap .hrf-section-title {
        font-size: 28px;
    }

    .hrf-wrap .hrf-field-row,
    .hrf-wrap .hrf-field-row-inline {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .hrf-wrap select.hrf-select-inline {
        width: 100% !important;
    }

    .hrf-wrap .hrf-dob-group {
        grid-template-columns: 1fr 1fr 1fr;
    }
}
