/*
 * Narcsoft WTS bridge
 * Keeps NanoArc helper widgets visually aligned with the Narcsoft theme.
 */

.wts-form-new-gen .form-control,
.wts-form-new-gen input[type="text"],
.wts-form-new-gen input[type="email"],
.wts-form-new-gen input[type="tel"],
.wts-form-new-gen input[type="number"],
.wts-form-new-gen input[type="date"],
.wts-form-new-gen input[type="time"],
.wts-form-new-gen select,
.wts-form-new-gen textarea {
    width: 100%;
    border: 1px solid rgba(34, 34, 34, .14) !important;
    border-radius: 18px !important;
    background: #fff !important;
    color: #27211f !important;
    font-family: "Quicksand", sans-serif !important;
    font-weight: 500;
    box-shadow: none !important;
    outline: 0;
}

.wts-form-new-gen input[type="text"],
.wts-form-new-gen input[type="email"],
.wts-form-new-gen input[type="tel"],
.wts-form-new-gen input[type="number"],
.wts-form-new-gen input[type="date"],
.wts-form-new-gen input[type="time"],
.wts-form-new-gen select {
    min-height: 58px;
    padding: 0 20px;
}

.wts-form-new-gen textarea {
    min-height: 136px;
    padding: 18px 20px;
    resize: vertical;
}

.wts-form-new-gen .form-control::placeholder,
.wts-form-new-gen input::placeholder,
.wts-form-new-gen textarea::placeholder {
    color: rgba(39, 33, 31, .48) !important;
}

.wts-form-new-gen .form-control:focus,
.wts-form-new-gen input:focus,
.wts-form-new-gen select:focus,
.wts-form-new-gen textarea:focus {
    border-color: #db5205 !important;
    box-shadow: 0 0 0 4px rgba(219, 82, 5, .10) !important;
}

.wts-form-new-gen label {
    color: #3b2d28;
    font-weight: 700;
}

.wts-form-new-gen label .required,
.wts-form-new-gen .required-mark {
    color: #db5205;
}

.select2-container {
    width: 100% !important;
    font-family: "Quicksand", sans-serif !important;
}

.select2-container--default .select2-selection--single {
    height: 58px !important;
    border: 1px solid rgba(34, 34, 34, .14) !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: none !important;
}

.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single {
    border-color: #db5205 !important;
    box-shadow: 0 0 0 4px rgba(219, 82, 5, .10) !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    height: 56px !important;
    padding: 0 48px 0 20px !important;
    color: #27211f !important;
    line-height: 56px !important;
    font-weight: 500;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: rgba(39, 33, 31, .48) !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    width: 42px !important;
    height: 56px !important;
    right: 6px !important;
}

.select2-dropdown {
    overflow: hidden;
    border: 1px solid rgba(34, 34, 34, .14) !important;
    border-radius: 18px !important;
    box-shadow: 0 20px 60px rgba(25, 20, 18, .16);
}

.select2-container--default .select2-results__option {
    padding: 11px 18px;
    color: #27211f;
    font-family: "Quicksand", sans-serif;
    font-weight: 600;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: #db5205 !important;
    color: #fff !important;
}

.select2-container--default .select2-results__option[aria-selected="true"] {
    background: rgba(219, 82, 5, .10) !important;
    color: #db5205 !important;
}

.flatpickr-calendar {
    border: 1px solid rgba(34, 34, 34, .10);
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(25, 20, 18, .18);
    font-family: "Quicksand", sans-serif;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected:hover {
    border-color: #db5205;
    background: #db5205;
}

.fileuploader {
    font-family: "Quicksand", sans-serif;
}

.fileuploader-input {
    border-color: rgba(34, 34, 34, .14) !important;
    border-radius: 18px !important;
    background: #fff !important;
}

.fileuploader-input .fileuploader-input-button {
    border-radius: 999px !important;
    background: #db5205 !important;
    color: #fff !important;
    font-weight: 700;
}

.swal2-container {
    z-index: 2147483000 !important;
    font-family: "Quicksand", sans-serif !important;
}

.swal2-popup {
    border-radius: 28px !important;
    padding: 36px 34px !important;
    background: #12100f !important;
    color: #fff !important;
    box-shadow: 0 30px 90px rgba(18, 16, 15, .36) !important;
}

.swal2-title {
    color: #fff !important;
    font-family: "Quicksand", sans-serif !important;
    font-size: 27px !important;
    font-weight: 800 !important;
}

.swal2-content,
.swal2-html-container {
    color: rgba(255, 255, 255, .82) !important;
    font-family: "Quicksand", sans-serif !important;
    font-size: 16px !important;
    line-height: 1.58 !important;
}

.swal2-styled.swal2-confirm {
    min-width: 132px;
    border-radius: 999px !important;
    background: #db5205 !important;
    color: #fff !important;
    font-family: "Quicksand", sans-serif !important;
    font-weight: 800 !important;
    box-shadow: none !important;
}

.swal2-styled.swal2-cancel {
    border-radius: 999px !important;
    background: rgba(255, 255, 255, .14) !important;
    color: #fff !important;
    font-family: "Quicksand", sans-serif !important;
    font-weight: 800 !important;
    box-shadow: none !important;
}

.swal2-icon.swal2-error,
.swal2-icon.swal2-warning,
.swal2-icon.swal2-success {
    margin-top: 0 !important;
}

.legal-page-hero .breadcrumb-2__content-box,
.site-search-page .breadcrumb-2__content-box {
    max-width: 920px;
}

.legal-page-hero .breadcrumb-2__heading .title,
.site-search-page .breadcrumb-2__heading .title {
    letter-spacing: 0;
}

.site-search-main {
    padding-bottom: 110px;
}

.site-search-panel {
    display: grid;
    gap: 28px;
    border: 1px solid rgba(17, 17, 17, .08);
    border-radius: 30px;
    background: #fff;
    padding: 34px;
    box-shadow: 0 28px 90px rgba(17, 17, 17, .07);
}

.site-search-form {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 74px;
    border: 1px solid rgba(17, 17, 17, .09);
    border-radius: 999px;
    background: #f7f7f4;
    padding: 8px 10px 8px 18px;
    transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
}

.site-search-form:focus-within {
    border-color: rgba(219, 82, 5, .36);
    background: #fff;
    box-shadow: 0 0 0 6px rgba(219, 82, 5, .08);
}

.site-search-form i {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    color: #db5205;
    font-size: 17px;
}

.site-search-form input {
    width: 100%;
    height: 58px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #222;
    font-family: "Quicksand", sans-serif;
    font-size: 18px;
    font-weight: 750;
    line-height: 1;
}

.site-search-form input::placeholder {
    color: rgba(17, 17, 17, .42);
}

.site-search-form button {
    min-width: 150px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-family: "Quicksand", sans-serif;
    font-size: 15px;
    font-weight: 900;
    line-height: 1;
    transition: background .25s ease, transform .25s ease;
}

.site-search-form button:hover {
    background: #db5205;
    transform: translateY(-1px);
}

.site-search-results-section {
    display: grid;
    gap: 22px;
}

.site-search-results-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid rgba(17, 17, 17, .08);
    padding-bottom: 16px;
}

.site-search-results-title h2 {
    color: #111;
    font-family: "Quicksand", sans-serif;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.2;
    margin: 0;
}

.site-search-results-title span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    border-radius: 999px;
    background: rgba(219, 82, 5, .10);
    color: #db5205;
    font-size: 13px;
    font-weight: 900;
    padding: 0 14px;
    white-space: nowrap;
}

.site-search-results-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.site-search-card {
    position: relative;
    min-height: 238px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    border: 1px solid rgba(17, 17, 17, .08);
    border-radius: 24px;
    background: #fff;
    color: #111;
    padding: 24px;
    text-decoration: none;
    box-shadow: 0 18px 60px rgba(17, 17, 17, .06);
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.site-search-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 6px;
    background: linear-gradient(90deg, #db5205, #ff9a47);
    opacity: .92;
}

.site-search-card:hover {
    border-color: rgba(219, 82, 5, .28);
    color: #111;
    box-shadow: 0 24px 76px rgba(17, 17, 17, .10);
    transform: translateY(-3px);
}

.site-search-card__type {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #db5205;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.site-search-card__type i {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(219, 82, 5, .10);
}

.site-search-card h3 {
    color: #111;
    font-family: "Quicksand", sans-serif;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.18;
    letter-spacing: 0;
    margin: 0 0 12px;
}

.site-search-card p {
    color: rgba(17, 17, 17, .62);
    font-size: 15px;
    font-weight: 650;
    line-height: 1.58;
    margin: 0;
}

.site-search-card__footer {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #111;
    font-size: 14px;
    font-weight: 900;
    margin-top: 24px;
}

.site-search-card__footer i {
    color: #db5205;
    transition: transform .25s ease;
}

.site-search-card:hover .site-search-card__footer i {
    transform: translateX(4px);
}

.site-search-faq {
    grid-column: 1 / -1;
    min-height: auto;
}

.site-search-customer {
    min-height: 190px;
}

.search-highlight {
    display: inline;
    border-radius: 7px;
    background: rgba(219, 82, 5, .14);
    color: #db5205;
    font-weight: 900;
    padding: 0 3px;
}

.site-search-empty {
    display: grid;
    justify-items: center;
    gap: 12px;
    border: 1px dashed rgba(17, 17, 17, .16);
    border-radius: 26px;
    background: #f7f7f4;
    color: rgba(17, 17, 17, .62);
    text-align: center;
    padding: 46px 26px;
}

.site-search-empty i {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    color: #db5205;
    font-size: 21px;
}

.site-search-empty h2 {
    color: #111;
    font-size: 26px;
    font-weight: 900;
    line-height: 1.2;
    margin: 0;
}

.site-search-empty p {
    max-width: 580px;
    color: rgba(17, 17, 17, .62);
    font-size: 16px;
    font-weight: 650;
    line-height: 1.65;
    margin: 0;
}

@media (max-width: 1199px) {
    .site-search-results-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .site-search-panel {
        border-radius: 24px;
        padding: 22px;
    }

    .site-search-form {
        grid-template-columns: 44px minmax(0, 1fr);
        border-radius: 28px;
        padding: 10px;
    }

    .site-search-form i {
        width: 40px;
        height: 40px;
    }

    .site-search-form input {
        height: 48px;
        font-size: 15px;
    }

    .site-search-form button {
        grid-column: 1 / -1;
        width: 100%;
        min-width: 0;
    }

    .site-search-results-title {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-search-results-grid {
        grid-template-columns: 1fr;
    }

    .site-search-card {
        min-height: 210px;
        border-radius: 22px;
        padding: 22px;
    }
}
