/* AM Tour — public car rental page */

.amt-rentacar-hero {
    position: relative;
    padding: clamp(3rem, 7vw, 6rem) 0 3.5rem;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 85% 5%, rgb(111 168 255 / 24%), transparent 36%),
        linear-gradient(135deg, #edf5ff 0%, #f8fbff 55%, #eaf3ff 100%);
}

.amt-rentacar-hero-content {
    max-width: 760px;
    margin: 0 auto 2rem;
    text-align: center;
}

.amt-rentacar-eyebrow {
    display: inline-flex;
    align-items: center;
    color: #1759a6;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.amt-rentacar-hero h1 {
    max-width: 760px;
    margin: 1rem auto;
    color: #132b49;
    font-size: clamp(2.2rem, 5vw, 4.25rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.08;
}

.amt-rentacar-intro {
    max-width: 620px;
    margin: 0 auto;
    color: #53657a;
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.7;
}

.amt-rentacar-search {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 1.25rem;
}

.amt-rentacar-search .card-body {
    padding: clamp(1rem, 3vw, 2rem);
}

.amt-rentacar-search .form-label {
    color: #263c55;
    font-size: 0.92rem;
    font-weight: 650;
}

.amt-rentacar-search .form-select,
.amt-rentacar-search .form-control {
    min-height: 3.25rem;
    border-color: #d7e0eb;
    border-radius: 0.7rem;
}

.amt-rentacar-search .form-select:focus,
.amt-rentacar-search .form-control:focus {
    border-color: #6ea8fe;
    box-shadow: 0 0 0 0.2rem rgb(13 110 253 / 14%);
}

.amt-trip-type {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.amt-trip-option {
    position: relative;
    cursor: pointer;
}

.amt-trip-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.amt-trip-option span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 2.75rem;
    padding: 0.65rem 1rem;
    border: 1px solid #d7e0eb;
    border-radius: 999px;
    background: #fff;
    color: #354b63;
    font-size: 0.92rem;
    font-weight: 650;
}

.amt-trip-option input:checked + span {
    border-color: #0d6efd;
    background: #eaf3ff;
    color: #084298;
}

.amt-trip-option input:focus-visible + span {
    outline: 3px solid rgb(13 110 253 / 35%);
    outline-offset: 2px;
}

.amt-passenger-panel {
    padding: 1rem;
    border: 1px solid #e0e7ef;
    border-radius: 0.9rem;
    background: #f8fafc;
}

.amt-passenger-control {
    display: flex;
    min-height: 3.5rem;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.amt-counter {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.2rem;
    padding: 0.2rem;
    border: 1px solid #d6e0eb;
    border-radius: 0.7rem;
    background: #fff;
}

.amt-counter-btn {
    display: inline-grid;
    width: 2.15rem;
    height: 2.15rem;
    place-items: center;
    border: 0;
    border-radius: 0.45rem;
    background: #edf4fc;
    color: #164b85;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
}

.amt-counter-btn:hover:not(:disabled) {
    background: #d9eaff;
}

.amt-counter-btn:focus-visible {
    outline: 3px solid rgb(13 110 253 / 35%);
    outline-offset: 2px;
}

.amt-counter-btn:disabled {
    cursor: not-allowed;
    opacity: 0.4;
}

.amt-counter-value {
    width: 2.3rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: #172b43;
    font-weight: 750;
    text-align: center;
    appearance: textfield;
    -moz-appearance: textfield;
}

.amt-counter-value::-webkit-inner-spin-button,
.amt-counter-value::-webkit-outer-spin-button {
    margin: 0;
    appearance: none;
}

.amt-rentacar-benefit {
    height: 100%;
    padding: 1.5rem;
    border: 1px solid #e3eaf2;
    border-radius: 1rem;
    background: var(--bs-body-bg);
}

.amt-rentacar-benefit > i {
    display: inline-grid;
    width: 3rem;
    height: 3rem;
    place-items: center;
    border-radius: 0.85rem;
    background: #eaf3ff;
    color: #1759a6;
    font-size: 1.4rem;
}

.amt-rentacar-result {
    border-radius: 1rem;
}

.amt-rentacar-result .card-body {
    padding: 1.4rem;
}

@media (max-width: 575.98px) {
    .amt-rentacar-hero {
        padding-top: 2.75rem;
        padding-bottom: 2rem;
    }

    .amt-rentacar-hero h1 {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .amt-rentacar-search {
        border-radius: 1rem;
    }

    .amt-passenger-panel {
        padding: 0.85rem;
    }

    .amt-passenger-control {
        align-items: flex-start;
    }
}

.amt-city-autocomplete {
    position: relative;
}

.amt-city-suggestions {
    position: absolute;
    z-index: 1050;
    top: 100%;
    right: 0;
    left: 0;
    max-height: 240px;
    overflow-y: auto;
    border-radius: 0 0 0.5rem 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.12);
}

.amt-city-suggestions[hidden] {
    display: none !important;
}

.amt-rentacar-vehicle-image,
.amt-rentacar-vehicle-placeholder {
    display: block;
    width: 100%;
    height: 210px;
    object-fit: cover;
    background: #f2f5f9;
}

.amt-rentacar-vehicle-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 3rem;
}