/* Shared hiring form used by the homepage, service pages and contact flow. */
.domestica-hiring-form {
    position: relative;
    padding-top: 120px !important;
    padding-bottom: 120px !important;
    scroll-margin-top: 88px;
    background-position: center !important;
    background-size: cover !important;
}

.domestica-hiring-form .talk-us__item {
    padding: clamp(26px, 5vw, 54px) !important;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 24px !important;
    background: rgba(12, 34, 67, .94) !important;
    box-shadow: 0 28px 70px rgba(4, 17, 37, .28);
}

.domestica-hiring-form .talk-us__item h2,
.domestica-hiring-form .talk-us__item h5 {
    font-family: 'Outfit', 'Poppins', sans-serif !important;
}

.domestica-hiring-form .talk-us__item .section-header h2 {
    margin-top: 10px;
    font-size: clamp(32px, 4vw, 46px);
}

.domestica-hiring-form .talk-us__item label {
    font-family: 'Inter', 'Nunito', sans-serif !important;
    font-size: 15px !important;
    font-weight: 500 !important;
}

.domestica-hiring-form .talk-us__item .form-control,
.domestica-hiring-form .talk-us__item .form-select {
    width: 100%;
    padding: 12px 16px !important;
    border: 1px solid rgba(255, 255, 255, .26) !important;
    border-radius: 8px !important;
    color: #495057 !important;
    background-color: #fff !important;
    box-shadow: none !important;
    font-family: 'Inter', 'Nunito', sans-serif !important;
    font-size: 15px !important;
}

.domestica-hiring-form .talk-us__item input.form-control,
.domestica-hiring-form .talk-us__item select.form-select {
    height: 52px !important;
    line-height: normal !important;
}

.domestica-hiring-form .talk-us__item .form-control:focus,
.domestica-hiring-form .talk-us__item .form-select:focus {
    border-color: #9ebcff !important;
    box-shadow: 0 0 0 4px rgba(118, 159, 255, .2) !important;
}

.domestica-hiring-form .staff-preference-field label {
    display: block;
    min-height: 24px;
}

.domestica-hiring-form .staff-preference-field .form-select {
    padding-right: 42px !important;
    text-overflow: ellipsis;
}

.domestica-hiring-form .talk-us__item button[type="submit"] {
    height: 56px !important;
    border: 0 !important;
    border-radius: 8px !important;
    color: #fff !important;
    background: #2f68ed !important;
    box-shadow: 0 12px 28px rgba(16, 42, 99, .3) !important;
    font-family: 'Inter', 'Nunito', sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    transition: background-color .2s ease, transform .2s ease !important;
}

.domestica-hiring-form .talk-us__item button[type="submit"]:hover {
    background: #1f4db6 !important;
    transform: translateY(-1px);
}

@media (max-width: 767px) {
    .domestica-hiring-form {
        padding-top: 72px !important;
        padding-bottom: 72px !important;
        scroll-margin-top: 76px;
    }

    .domestica-hiring-form .talk-us__item {
        padding: 28px 20px !important;
    }

    .domestica-hiring-form .talk-us__item .section-header {
        margin-bottom: 24px !important;
    }
}

@media (max-width: 420px) {
    .domestica-hiring-form .talk-us__item label {
        min-height: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .domestica-hiring-form .talk-us__item button[type="submit"] {
        transition: none !important;
    }
}
