* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.login-page {
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: 2rem 1rem;
    background: linear-gradient(145deg, #edf2f5, #f8f9fa 55%, #e6ecef);
}

.login-brand {
    position: absolute;
    top: 2rem;
    left: max(2rem, calc((100vw - 68rem) / 2));
    color: #202a34;
    font-size: 1.15rem;
    font-weight: 800;
    text-decoration: none;
}

.login-brand span { color: #d33; }

.login-card {
    width: min(100%, 28rem);
    padding: 2.5rem;
    border: 1px solid #e1e6e9;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 18px 50px rgb(25 45 60 / 10%);
}

.login-eyebrow {
    margin-bottom: 0.5rem;
    color: #687984;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.login-card h1 { font-size: 1.7rem; }

.login-intro {
    margin: 0.5rem 0 1.5rem;
    color: #667580;
}

.login-card form { display: grid; gap: 0.65rem; }

.login-card form label {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    font-weight: 700;
}

.login-card form input {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid #cbd4da;
    border-radius: 0.5rem;
    background: #fff;
    color: #202a34;
    font: inherit;
}

.login-card form input:focus {
    outline: 3px solid rgb(61 109 138 / 20%);
    border-color: #3d6d8a;
}

.login-submit {
    margin-top: 0.75rem;
    padding: 0.9rem 1rem;
    border: 0;
    border-radius: 0.5rem;
    background: #202a34;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.login-submit:hover { background: #354654; }

.login-error {
    margin: 0 0 1rem;
    padding: 0.8rem 1rem;
    border-radius: 0.5rem;
    background: #fff0f0;
    color: #9f2525;
    font-size: 0.9rem;
}

.login-home {
    display: inline-block;
    margin-top: 1.5rem;
    color: #465965;
    font-size: 0.9rem;
    text-decoration: none;
}

.login-home:hover { text-decoration: underline; }

.login-switch {
    margin-top: 1.25rem;
    color: #667580;
    font-size: 0.9rem;
    text-align: center;
}

.login-switch a {
    color: #202a34;
    font-weight: 700;
    text-decoration: none;
}

.login-switch a:hover { text-decoration: underline; }


body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #f4f6f8;
    color: #202a34;
    font-family: 'Manrope', Arial, sans-serif;
}

main {
    flex: 1;
    padding: 0 10em 3rem;
}

.hero_section {
    position: relative;
    isolation: isolate;
    z-index: 2;
    display: flex;
    gap: 0.5rem;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: 0 10em 0;
    height: 100vh;
    color: #f4f6f8;
    text-shadow: .5px .5px black;
}

.hero_section::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -6px;
    background-image:url("../images/dealer.png");
    background-position: center;
    background-size: cover;
    filter: blur(10px);
}

.hero_nav_container {
    position: absolute;
    top: 2em;
    left: 0;
    right: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    padding: 0 10em 0;
    justify-content: space-between;
}

.hero_nav {
    font-weight: lighter;
    border-radius: 0.75rem;
    padding: 0.75rem;
    border: 1px solid #52616c;
    display: flex;
    gap: 1em;
}

.logo {
    font-weight: bolder;
    border-radius: 0.75rem;
    padding: 0.75rem;
}

.logo,
.hero_nav {
    background-color: #f4f6f8;
}



.logo span { color: red; }

.hero_section a {
    text-decoration: none;
    font-weight: lighter;
    color: #202a34;
}

.hero_section .mini-heading {
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero_section h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); }

.status-hero {
    min-height: 42vh;
    height: auto;
    justify-content: flex-end;
    padding: 7rem 10em 4rem;
}

.status-hero_content {
    position: relative;
    z-index: 1;
    max-width: 44rem;
    padding: 1.5rem 1.75rem;
    border: 1px solid rgb(244 246 248 / 20%);
    border-radius: 1rem;
    background: rgb(32 42 52 / 56%);
    backdrop-filter: blur(8px);
}

.status-hero_content p:last-child {
    margin-top: 0.65rem;
    color: #f4f6f8;
    max-width: 38rem;
    text-shadow: none;
}

.status-page {
    padding-top: 2rem;
    padding-bottom: 4rem;
}

.status-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.summary-card {
    padding: 1.25rem;
    border: 1px solid #d9e0e6;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 2px 8px rgb(25 45 60 / 6%);
}

.summary-card p {
    color: #667580;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.summary-card strong {
    display: block;
    margin-top: 0.45rem;
    font-size: 2rem;
}

.status-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 1rem;
}

.status-card {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 1.25rem;
    border: 1px solid #d9e0e6;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 2px 8px rgb(25 45 60 / 6%);
}

.status-card h3 {
    font-size: 1.05rem;
}

.status-card_label,
.status-card_meta {
    color: #667580;
    font-size: 0.9rem;
}

.status-pill {
    display: inline-flex;
    align-self: flex-start;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
}

.status_pending {
    background: #fff4d8;
    color: #8a6400;
}

.status_approved {
    background: rgba(33, 114, 72, 0.12);
    color: #1f6f45;
}

.status_cancelled {
    background: rgba(150, 60, 60, 0.12);
    color: #8d3232;
}

.status-empty {
    padding: 1.25rem;
    border: 1px dashed #cbd4da;
    border-radius: 1rem;
    background: #fff;
    color: #667580;
}

@media (max-width: 900px) {
    .status-hero,
    .hero_section,
    .hero_nav_container,
    main {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .status-summary {
        grid-template-columns: 1fr;
    }
}

.partners {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 3em;
    text-align: center;
    background-color: #000000;
    color: white;
}

.partners .eyebrow {
    font-size: 0.8rem;
    text-transform: uppercase;
}

.partner-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2rem;
    margin-top: 1rem;
    font-weight: 600;
}

.filter-search-bar {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    background-color: #ffffff;
    padding: 1em;
    border-radius: 0.75rem;
}

.field-container {
    display: flex;
    flex: 0 1 5em;
    flex-direction: column;
}
.field-container label {
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 0.55rem;
}

.field-container select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 1em;
    border: none;
}

.field-container input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: none;
    padding: 1em;
    background-color: #f3f3f3;
    border-radius: 3px;
}

.last-container {
    position: absolute;
    right: 1em;
}

.category {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin: 2.5rem 0 2.5rem;
}

#car-results {
    /* Keeps the fixed nav from covering the section after the browser jumps to it. */
    scroll-margin-top: 6rem;
}

.section-heading {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #d9e0e6;
}

.section-heading p {
    color: #667580;
    font-size: 0.9rem;
}

.cars {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.cars .car {
    position: relative;
    display: flex;
    flex-direction: column;
    /* Three cards fit per row after accounting for the two gaps between them. */
    flex: 0 0 calc((100% - 2rem) / 3);
    min-height: 17rem;
    padding: 1em;
    border: 1px solid #d9e0e6;
    border-radius: 0.25rem;
    background: white;
    box-shadow: 0 2px 8px rgb(25 45 60 / 6%);
    transition: color 150ms ease, border 150ms ease;
}

.cars .car:hover {
    border: 1px solid purple;
}

.badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 1;
    padding: 0.25rem 0.5rem;
    background: #f4f6f8;
    color: #000000;
    border: 1px solid #cee3d0;
    border-radius: 999px;
    font-size: 0.875rem;
}

.car h4 {
    overflow-wrap: anywhere;
}

.photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.photo {
    aspect-ratio: 4 / 3;
    margin: -1rem -1rem 0.75rem;
    padding: 0.75rem;
    background: #edf1f3;
}

.car h3 {
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.car .details {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    font-size: small;
    gap: 0.5rem;
    color: #53616c;
}

.car .price {
    color: #202a34;
    font-size: 1rem;
    font-weight: 700;
}

.car .price span {
    color: #667580;
    font-size: 0.8rem;
    font-weight: 400;
}

.car form button {
    padding: 0.55rem 0.75rem;
    width: 100%;
    border: 0;
    border-radius: 0.35rem;
    background: #dd6b36;
    color: white;
    font-weight: 700;
    cursor: pointer;
}

.rental-info {
    margin: 2rem 0;
}

.rental-info h2 {
    margin-bottom: 0.5rem;
}

footer {
    padding: 1rem 0;
    border-top: 1px solid #d9e0e6;
    color: #667580;
    font-size: 0.9rem;
    text-align: center;
}

/*color: #52616c;*/