/* =========================================================
   NOVO AUTO – SEARCH FORM DARK GLASS
   novo-search.css
========================================================= */

/* WRAP */
.novo-search-wrap {
    width: 100%;
    font-family: inherit;
}

/* FORM */
.novo-search-form {
    background: linear-gradient(
        180deg,
        rgba(18,22,30,.88) 0%,
        rgba(7,9,13,.97) 100%
    );
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    box-shadow:
        0 24px 70px rgba(0,0,0,.5),
        inset 0 1px 0 rgba(255,255,255,.06);
    padding: 28px 28px 22px;
    box-sizing: border-box;
}

/* ROWS */
.novo-search-row {
    display: grid;
    gap: 14px;
}

.novo-search-row--main {
    grid-template-columns: repeat(4, minmax(0,1fr));
}

.novo-search-row--secondary {
    grid-template-columns: repeat(4, minmax(0,1fr));
}

/* DIVIDER */
.novo-divider {
    height: 1px;
    background: rgba(255,255,255,.08);
    margin: 18px 0;
}

/* FIELD */
.novo-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.novo-field label {
    color: rgba(255,255,255,.5);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin: 0;
    padding: 0;
    line-height: 1;
}

/* SELECT WRAP */
.novo-select-wrap {
    position: relative;
    width: 100%;
}

.novo-select {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    background: linear-gradient(
        180deg,
        rgba(255,255,255,.07),
        rgba(255,255,255,.03)
    );
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 10px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    padding: 0 38px 0 14px;
    height: 48px;
    outline: none;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-sizing: border-box;
}

.novo-select:hover {
    border-color: rgba(229,9,20,.45);
    background: linear-gradient(
        180deg,
        rgba(229,9,20,.07),
        rgba(255,255,255,.03)
    );
}

.novo-select:focus {
    border-color: rgba(229,9,20,.65);
    box-shadow: 0 0 0 3px rgba(229,9,20,.12);
}

.novo-select option {
    background: #0d0f15;
    color: #ffffff;
    font-size: 13px;
}

.novo-select:disabled {
    opacity: 0.38;
    cursor: not-allowed;
}

/* CHEVRON */
.novo-chevron {
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: rgba(255,255,255,.5);
    display: flex;
    align-items: center;
    transition: color .2s ease;
}

.novo-select:focus ~ .novo-chevron {
    color: #e50914;
}

/* RANGE FIELD */
.novo-range-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
}

.novo-range-wrap .novo-select-wrap {
    flex: 1;
    min-width: 0;
}

.novo-range-sep {
    color: rgba(255,255,255,.3);
    font-size: 13px;
    font-weight: 600;
    flex-shrink: 0;
    user-select: none;
}

/* ACTION */
.novo-search-action {
    display: flex;
    justify-content: center;
    padding-top: 2px;
}

/* BUTTON */
.novo-btn-search {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #e50914;
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
    border: none;
    border-radius: 10px;
    height: 52px;
    padding: 0 60px;
    min-width: 300px;
    cursor: pointer;
    box-shadow: 0 8px 28px rgba(229,9,20,.35);
    transition: background .25s ease, box-shadow .25s ease, transform .2s ease;
}

.novo-btn-search:hover {
    background: #c8000f;
    box-shadow: 0 12px 36px rgba(229,9,20,.52);
    transform: translateY(-2px);
}

.novo-btn-search:active {
    transform: translateY(0);
    box-shadow: 0 6px 18px rgba(229,9,20,.35);
}

.novo-btn-search svg {
    flex-shrink: 0;
}

/* LOADING state pe Model select */
.novo-select--loading {
    opacity: 0.6;
    pointer-events: none;
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1100px) {
    .novo-search-row--main,
    .novo-search-row--secondary {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

@media (max-width: 640px) {
    .novo-search-form {
        padding: 20px 16px 18px;
        border-radius: 12px;
    }

    .novo-search-row--main,
    .novo-search-row--secondary {
        grid-template-columns: 1fr;
    }

    .novo-btn-search {
        width: 100%;
        min-width: unset;
        padding: 0 24px;
    }
}
