/* =========================================================
   VEHICLE FILTER FORM ONLY
========================================================= */

.ce-vehicle-search-wrapper,
.ce-vehicle-search-wrapper * {
    box-sizing: border-box;
}

.ce-vehicle-search-wrapper {
    width: 100%;
    background: #191815;
    padding: 25px 5% 11px 5%;
}

.form-tip-text{
color: #fff;
  font-size: 12px;
  padding-top: 8px;
  margin-top: 25px;
  border-top: 1px solid #ffffff1c;
}

/* =========================================================
   FORM LAYOUT
========================================================= */

.ce-vehicle-search-form {
    display: grid;
    grid-template-columns:
        minmax(160px, 1fr)
        minmax(160px, 1fr)
        minmax(150px, 1fr)
        minmax(150px, 1fr)
        minmax(170px, 1fr)
        120px;

    gap: 15px;
    align-items: end;
    width: 100%;
}


/* =========================================================
   FIELD
========================================================= */

.ce-filter-field {
    min-width: 0;
}

.ce-filter-field label {
    display: block;
    margin: 0 0 9px;

    color: #aaa7a0;

    font-size: 11px;
    font-weight: 500;
    line-height: 1.2;

    letter-spacing: 1.2px;
}


/* =========================================================
   SELECT + DATE INPUT
========================================================= */

.ce-filter-field select,
.ce-filter-field input[type="date"] {
    width: 100%;
    height: 45px;

    margin: 0;
    padding: 0 15px;

    border: 1px solid #34332f;
    border-radius: 0;

    outline: none;

    background-color: #262522;

    color: #ffffff;

    font-family: inherit;
    font-size: 12px;
    font-weight: 500;

    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}


/* Hover */

.ce-filter-field select:hover,
.ce-filter-field input[type="date"]:hover {
    background-color: #2c2b27;
    border-color: #44433e;
}


/* Focus */

.ce-filter-field select:focus,
.ce-filter-field input[type="date"]:focus {
    background-color: #2c2b27;
    border-color: #ffc400;

    box-shadow:
        0 0 0 2px rgba(255, 196, 0, 0.08);
}



/* =========================================================
   SELECT
========================================================= */

.ce-select-wrap {
    position: relative;
}

.ce-filter-field select {
    appearance: none;
    -webkit-appearance: none;

    padding-right: 42px;

    cursor: pointer;
}

.ce-filter-field select option {
    background: #262522;
    color: #ffffff;
}


/* Custom dropdown arrow */

.ce-select-wrap::after {
    content: "";

    position: absolute;
    right: 16px;
    top: 50%;

    width: 6px;
    height: 6px;

    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;

    transform:
        translateY(-70%)
        rotate(45deg);

    pointer-events: none;
}


/* =========================================================
   DATE
========================================================= */

.ce-filter-field input[type="date"] {
    color-scheme: dark;
    cursor: pointer;
}

.ce-filter-field
input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0.85;
    cursor: pointer;
}


/* =========================================================
   SEARCH BUTTON
========================================================= */

.ce-filter-submit {
    display: flex;
    align-items: flex-end;
}

.ce-filter-submit button {
    width: 100%;
    min-width: 118px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 18px;

    border: 1px solid #ffc400;
    border-radius: 0;

    background: #ffc400;
    color: #151515;

    font-family: inherit;
    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.2px;

    cursor: pointer;

    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.ce-filter-submit button:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #111111;

    transform: translateY(-2px);

    box-shadow:
        0 7px 20px rgba(0, 0, 0, 0.18);
}

.ce-filter-submit button:active {
    transform: translateY(0);
}


/* =========================================================
   LAPTOP
========================================================= */

@media (max-width: 1200px) {

    .ce-vehicle-search-form {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .ce-filter-submit button {
        width: 100%;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .ce-vehicle-search-wrapper {
        padding: 25px;
    }

    .ce-vehicle-search-form {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 18px;
    }

    .ce-filter-submit,
    .ce-filter-submit button {
        width: 100%;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .ce-vehicle-search-wrapper {
        padding: 22px 18px;
    }

    .ce-vehicle-search-form {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ce-filter-field label {
        margin-bottom: 7px;
    }

    .ce-filter-field select,
    .ce-filter-field input[type="date"],
    .ce-filter-submit button {
        height: 49px;
    }

    .ce-filter-submit,
    .ce-filter-submit button {
        width: 100%;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .ce-vehicle-search-wrapper {
        padding: 20px 15px;
    }

}