@font-face {
    font-family: 'interstate';
    font-style: normal;
    font-weight: normal;
    src: local(''), url('/fonts/interstate/interstate-light-cond-58b64220b1490.woff') format('woff');
}

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: interstate, sans-serif;
    -webkit-font-smoothing: antialiased;
    background: #e5f1eb;
    color: #202124;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 24px;
/*    margin-bottom: 60px;*/
}

.parking-card {

    max-width: 520px;
    width: 100%;
    overflow: hidden;
    background-color: #fff;
    border-radius: 3.4375rem 0 3.4375rem 0;
/*    display: flex;*/
/*    flex-flow: column nowrap;*/
}
.parking-card-reversed {
    max-width: 520px;
    width: 100%;
    overflow: hidden;
    background-color: #fff;
    border-radius: 0 3.4375rem 0 3.4375rem;
    /*    display: flex;*/
    /*    flex-flow: column nowrap;*/
}

/* ── Header ── */
.parking-header {
    background: linear-gradient(135deg, #c9d32c 100%, #c4dfd0 100%);
/*    color: #fff;*/
    padding: 28px 24px 20px;
}

.parking-header-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.parking-header-icon {
    width: 48px;
    height: 48px;
    background: #e5f1eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.parking-header h1 {
    font-family: Playfair Display;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.2;
}

.parking-header .parking-subtitle {
    font-size: 13px;
    opacity: .85;
    margin-top: 2px;
}

.parking-status-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.parking-status-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #e5f1eb;
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 13px;
}

.parking-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #66ff66;
    box-shadow: 0 0 6px #66ff66;
    flex-shrink: 0;
}

.parking-dot.busy {
    background: #ffb300;
    box-shadow: 0 0 6px #ffb300;
}

.parking-dot.full {
    background: #e53935;
    box-shadow: 0 0 6px #e53935;
}

.parking-vacancy-row {
    margin-top: 12px;
}

.parking-vacancy-label {
    font-size: 16px;
    margin-bottom: 5px;
}

.parking-vacancy-bar-bg {
    background: rgba(255,255,255,.25);
    border-radius: 6px;
    height: 8px;
    overflow: hidden;
}

.parking-vacancy-bar-fill {
    height: 100%;
    border-radius: 6px;
    background: #66ff66;
    transition: width .6s ease;
}

.parking-vacancy-bar-fill.busy {
    background: #ffb300;
}

.parking-vacancy-bar-fill.full {
    background: #e53935;
}

/* ── Live ticker ── */
.parking-live-section {
    padding: 16px 24px;
    border-bottom: 1px solid #e8eaed;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.parking-live-label {
    font-size: 13px;
    color: #5f6368;
}

.parking-live-value {
    font-size: 22px;
    font-weight: 700;
    color: #80861c;
}

.parking-live-sub {
    font-size: 12px;
    color: #5f6368;
    text-align: right;
}

/* ── Popular times section ── */
.parking-popular-section {
    padding: 20px 24px 8px;
}

.parking-section-title {
    font-size: 14px;
    font-weight: 600;
    color: #202124;
    margin-bottom: 14px;
    letter-spacing: .2px;
}

/* Day tabs */
.parking-day-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    overflow-x: auto;
    scrollbar-width: none;
}

.parking-day-tabs::-webkit-scrollbar {
    display: none;
}

.green {
    color: #c9d32c;
/*    background: #c9d32c;*/
}
    .green:hover {
        color: #80861c;
    }

.parking-day-tab {
    flex-shrink: 0;
    padding: 6px 12px;
    border-radius: 20px;
    border: none;
    background: #f1f3f4;
    color: #5f6368;
    font-size: 13px;
    cursor: pointer;
    transition: background .15s, color .15s;
    font-family: inherit;
}

    .parking-day-tab:hover {
        background: #e8eaed;
    }

    .parking-day-tab.active {
        background: #c9d32c;
/*        color: #80861c;*/
        font-weight: 600;
    }

/* Chart */
.parking-chart-wrap {
    position: relative;
    padding-bottom: 4px;
}

.parking-chart {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 80px;
    padding: 0 2px;
}

.parking-bar-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    cursor: pointer;
    position: relative;
}

.parking-bar {
    position:absolute;
    width: 100%;
    border-radius: 3px 3px 0 0;
    background: #c4dfd0;
    transition: height .35s cubic-bezier(.4,0,.2,1), background .2s;
    min-height: 3px;
}

    .parking-bar.highlight {
        background: #c9d32c;
    }

.parking-bar.current {
    background: #c42b1c;
    opacity: .8;
}

.parking-bar.gray {
    background: #e8eaed;
}
.parking-bar.future {
    background: #edf832;
    opacity: .9;
}

/* Tooltip */
.parking-tooltip {
    display: none;
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: #3c4043;
    color: #fff;
    font-size: 12px;
    border-radius: 6px;
    padding: 5px 9px;
    white-space: nowrap;
    pointer-events: none;
    z-index: 10;
}

.parking-tooltip::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #3c4043;
}

.parking-bar-col:hover .parking-tooltip {
    display: block;
}

/* Hour labels */
.parking-chart-labels {
    display: flex;
    padding: 4px 2px 0;
}

.parking-chart-label {
    flex: 1;
    font-size: 10px;
    color: #9aa0a6;
    text-align: center;
}

    .parking-chart-label.show {
        color: #5f6368;
        font-weight: 500;
    }

    .parking-chart-label.now {
        color: #e53935;
        font-weight: 700;
    }

/* Current busy tag */
.parking-busy-tag {
    margin-top: 12px;
    font-size: 13px;
    color: #5f6368;
    min-height: 18px;
}

.parking-busy-tag span {
    font-weight: 600;
    color: #202124;
}

/* ── Info grid ── */
.parking-info-grid-1 {
    padding: 0px 24px 24px;
    display: grid;
    grid-template-columns: 1fr;
    
}

.parking-info-grid-2 {
    padding: 0px 24px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.parking-info-item {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 12px 14px;
}

.parking-info-item-label {
    font-size: 11px;
    color: #9aa0a6;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 4px;
}

.parking-info-item-value {
    font-size: 14px;
    font-weight: 600;
    color: #202124;
}

.parking-info-item-sub {
    font-size: 12px;
    color: #5f6368;
    margin-top: 2px;
}

/* ── Footer ── */
.parking-footer {
    padding: 14px 24px;
    border-top: 1px solid #e8eaed;
    font-size: 11px;
    color: #9aa0a6;
    text-align: center;
}

    .parking-footer a {
        color: #80861c;
        text-decoration: none;
    }


/* ── Map ── */
#map {
    flex: 1;
    width: 100%;
    height: 500px;
    border: none;
}

/* correct position of ifon */
.extra-marker .svg-inline--fa, .extra-marker i.fa, .extra-marker i.fab, .extra-marker i.fas, .extra-marker i.far, .extra-marker i.fal {
    margin-top: 10px;
    margin-left: 2px; 
}

.leaflet-container {
    font-family: inherit !important;
}

/* ── Address Search ── */
/* ── autoComplete.js ── */

.autoComplete_wrapper {
    width: 100%;
    position: relative;
}

.autoComplete_wrapper > input {
    width: 100%;
}

#autoComplete_list_1 {
    position: absolute;
    z-index: 1000;
    width: 100%;
    background: #fff;
    border: 1px solid #e8eaed;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    margin-top: 4px;
    padding: 4px 0;
    max-height: 260px;
    overflow-y: auto;
    list-style: none;
}

#autoComplete_list_1 li {
    padding: 10px 14px;
    font-size: 14px;
    font-family: interstate, sans-serif;
    color: #202124;
    cursor: pointer;
    border-bottom: 1px solid #f1f3f4;
    transition: background-color 0.15s ease;
}

#autoComplete_list_1 li:last-child {
    border-bottom: none;
}

#autoComplete_list_1 li:hover,
#autoComplete_list_1 li[aria-selected="true"] {
    background-color: #f8f9fa;
    color: #202124;
}

#autoComplete_list_1 li mark {
    background: none;
    color: #80861c;
    font-weight: 600;
    padding: 0;
}

.autoComplete-info {
    padding: 8px 14px 4px;
    font-size: 12px;
    color: #9aa0a6;
    border-bottom: 1px solid #f1f3f4;
    margin: 0;
}

