/* ==========================================================================
   Parkify Client — Parkingjet Enterprise
   Page-only stylesheet.
   Dropdown styling is intentionally NOT defined here.
   ========================================================================== */

:root {
    --pmx-bg: #06111d;
    --pmx-surface: #091a29;
    --pmx-surface-2: #0c2031;
    --pmx-surface-3: #102638;
    --pmx-line: rgba(148, 184, 211, .14);
    --pmx-line-strong: rgba(148, 184, 211, .22);
    --pmx-text: #f2fbff;
    --pmx-soft: #d2e0ea;
    --pmx-muted: #859caf;
    --pmx-emerald: #2ce0a4;
    --pmx-cyan: #25d9e8;
    --pmx-blue: #4da3ff;
    --pmx-amber: #f5c84c;
    --pmx-violet: #9b7bff;
    --pmx-danger: #fb7185;
    --pmx-radius: 16px;
    --pmx-shadow: 0 18px 48px rgba(0, 0, 0, .18);
}

.pmx-page,
.pmx-page *,
.pmx-page *::before,
.pmx-page *::after {
    box-sizing: border-box;
}

body.pf-parking-market-page {
    overflow-x: hidden;
    background:
        radial-gradient(circle at 8% 0, rgba(44, 224, 164, .06), transparent 30rem),
        radial-gradient(circle at 92% 4%, rgba(37, 217, 232, .05), transparent 36rem),
        var(--pmx-bg);
}

.pmx-page {
    min-width: 0;
    color: var(--pmx-text);
}

.pmx-shell {
    width: min(calc(100% - clamp(16px, 3vw, 48px)), 1740px);
    margin-inline: auto;
}

.pmx-hero {
    padding: clamp(16px, 2vw, 26px) 0 0;
}

.pmx-hero-card {
    display: grid;
    grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
    align-items: center;
    gap: clamp(26px, 3.5vw, 54px);
    min-height: 190px;
    padding: clamp(22px, 2.5vw, 34px);
    border: 1px solid var(--pmx-line);
    border-radius: 18px;
    background:
        radial-gradient(circle at 0 0, rgba(44, 224, 164, .055), transparent 26rem),
        linear-gradient(145deg, rgba(12, 32, 48, .96), rgba(7, 22, 35, .98));
    box-shadow: var(--pmx-shadow);
}

.pmx-hero-copy {
    min-width: 0;
    padding-right: clamp(18px, 2vw, 30px);
    border-right: 1px solid var(--pmx-line);
}

.pmx-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #64efc3;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .105em;
    text-transform: uppercase;
}

.pmx-eyebrow i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--pmx-emerald);
    box-shadow: 0 0 12px rgba(44, 224, 164, .62);
}

.pmx-hero-copy h1 {
    max-width: 290px;
    margin: 11px 0 8px;
    font-size: clamp(25px, 2vw, 33px);
    line-height: 1.06;
    letter-spacing: -.038em;
}

.pmx-hero-copy p {
    max-width: 290px;
    margin: 0;
    color: var(--pmx-muted);
    font-size: 12px;
    line-height: 1.6;
}

.pmx-hero-actions {
    min-width: 0;
}

.pmx-search-form {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) minmax(140px, .28fr) minmax(100px, .2fr);
    gap: 12px;
}

.pmx-search-input,
.pmx-price-input {
    min-width: 0;
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 13px;
    border: 1px solid var(--pmx-line);
    border-radius: 11px;
    background: rgba(4, 16, 27, .48);
    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.pmx-search-input:focus-within,
.pmx-price-input:focus-within {
    border-color: rgba(37, 217, 232, .42);
    background: rgba(37, 217, 232, .035);
    box-shadow: 0 0 0 3px rgba(37, 217, 232, .06);
}

.pmx-search-input > span,
.pmx-price-input > span {
    flex: 0 0 auto;
    color: #6d8799;
    font-size: 12px;
    font-weight: 850;
}

.pmx-search-input input,
.pmx-price-input input {
    min-width: 0;
    width: 100%;
    min-height: 44px;
    padding: 0;
    border: 0;
    outline: 0;
    color: var(--pmx-text);
    background: transparent;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
}

.pmx-search-input input::placeholder,
.pmx-price-input input::placeholder {
    color: #687f91;
}

.pmx-search-button,
.pmx-apply-button {
    min-height: 48px;
    border: 0;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--pmx-emerald), var(--pmx-cyan));
    color: #03151b;
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
    transition:
        transform .18s ease,
        box-shadow .18s ease;
}

.pmx-search-button:hover,
.pmx-apply-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(44, 224, 164, .15);
}

.pmx-quick-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.pmx-quick-filter {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 10px;
    border: 1px solid rgba(44, 224, 164, .20);
    border-radius: 9px;
    background: rgba(44, 224, 164, .055);
    color: #68e9c1;
    font-size: 10px;
    font-weight: 850;
    text-decoration: none;
    transition:
        transform .16s ease,
        background .16s ease,
        border-color .16s ease;
}

.pmx-quick-filter:hover {
    transform: translateY(-1px);
    border-color: rgba(44, 224, 164, .38);
    background: rgba(44, 224, 164, .10);
}

.pmx-quick-filter.is-active {
    border-color: rgba(44, 224, 164, .5);
    background: rgba(44, 224, 164, .14);
    color: #b1f6df;
    box-shadow: inset 0 0 0 1px rgba(44, 224, 164, .06);
}

.pmx-quick-filter span {
    font-size: 10px;
}

.pmx-content {
    padding: 12px 0 56px;
}

.pmx-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

.pmx-metric {
    min-width: 0;
    min-height: 84px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 14px 17px;
    border: 1px solid var(--pmx-line);
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(11, 29, 45, .94), rgba(7, 21, 33, .98));
    box-shadow: 0 12px 32px rgba(0, 0, 0, .13);
}

.pmx-metric-icon {
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border: 1px solid;
    border-radius: 11px;
    font-size: 11px;
    font-weight: 900;
}

.pmx-metric-icon.is-emerald {
    color: var(--pmx-emerald);
    border-color: rgba(44, 224, 164, .18);
    background: rgba(44, 224, 164, .07);
}

.pmx-metric-icon.is-blue {
    color: var(--pmx-blue);
    border-color: rgba(77, 163, 255, .18);
    background: rgba(77, 163, 255, .07);
}

.pmx-metric-icon.is-amber {
    color: var(--pmx-amber);
    border-color: rgba(245, 200, 76, .18);
    background: rgba(245, 200, 76, .07);
}

.pmx-metric-icon.is-violet {
    color: var(--pmx-violet);
    border-color: rgba(155, 123, 255, .18);
    background: rgba(155, 123, 255, .07);
}

.pmx-metric div {
    min-width: 0;
    display: grid;
    gap: 5px;
}

.pmx-metric strong {
    font-size: clamp(20px, 1.35vw, 27px);
    line-height: 1;
    letter-spacing: -.035em;
}

.pmx-metric small {
    color: var(--pmx-muted);
    font-size: 10px;
    font-weight: 700;
}

.pmx-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

.pmx-filter-panel,
.pmx-results-header,
.pmx-card {
    border: 1px solid var(--pmx-line);
    background: linear-gradient(145deg, rgba(11, 29, 45, .95), rgba(7, 21, 33, .98));
    box-shadow: 0 14px 38px rgba(0, 0, 0, .15);
}

.pmx-filter-panel {
    position: sticky;
    top: 92px;
    padding: 14px;
    border-radius: 14px;
}

.pmx-filter-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 15px;
}

.pmx-filter-header span {
    color: var(--pmx-emerald);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .09em;
}

.pmx-filter-header h2 {
    margin: 4px 0 0;
    font-size: 15px;
    letter-spacing: -.02em;
}

.pmx-filter-header a {
    color: #69e8c0;
    font-size: 10px;
    font-weight: 800;
    text-decoration: none;
}

.pmx-filter-form {
    display: grid;
    gap: 12px;
}

.pmx-field {
    min-width: 0;
    display: grid;
    gap: 6px;
}

.pmx-field > label {
    color: #8ea4b5;
    font-size: 9px;
    font-weight: 800;
}

.pmx-field > input {
    width: 100%;
    min-height: 42px;
    padding: 0 11px;
    border: 1px solid var(--pmx-line);
    border-radius: 10px;
    outline: 0;
    color: var(--pmx-text);
    background: rgba(255, 255, 255, .025);
    font: inherit;
    font-size: 12px;
}

.pmx-field > input:focus {
    border-color: rgba(37, 217, 232, .42);
    box-shadow: 0 0 0 3px rgba(37, 217, 232, .06);
}

.pmx-price-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.pmx-feature-list {
    display: grid;
    gap: 7px;
}

.pmx-feature {
    min-height: 40px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border: 1px solid var(--pmx-line);
    border-radius: 10px;
    background: rgba(255, 255, 255, .024);
    cursor: pointer;
    transition:
        border-color .16s ease,
        background .16s ease;
}

.pmx-feature:hover,
.pmx-feature.is-checked {
    border-color: rgba(44, 224, 164, .26);
    background: rgba(44, 224, 164, .06);
}

.pmx-feature input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.pmx-feature-icon {
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: #79d9ff;
    background: rgba(77, 163, 255, .09);
    font-size: 10px;
    font-weight: 900;
}

.pmx-feature strong {
    min-width: 0;
    font-size: 10px;
}

.pmx-feature em {
    color: #71899a;
    font-size: 9px;
    font-style: normal;
    font-weight: 800;
}

.pmx-apply-button {
    width: 100%;
    margin-top: 3px;
}

.pmx-results {
    min-width: 0;
}

.pmx-results-header {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 17px;
    border-radius: 14px;
}

.pmx-results-header h2 {
    margin: 3px 0 4px;
    font-size: clamp(19px, 1.45vw, 25px);
    line-height: 1.08;
    letter-spacing: -.03em;
}

.pmx-results-header p {
    margin: 0;
    color: var(--pmx-muted);
    font-size: 10px;
}

.pmx-results-actions {
    display: flex;
    align-items: center;
    gap: 9px;
}

.pmx-results-actions form {
    min-width: 190px;
}

.pmx-mobile-filter-button {
    display: none;
    min-height: 42px;
    align-items: center;
    gap: 7px;
    padding: 0 11px;
    border: 1px solid var(--pmx-line);
    border-radius: 10px;
    color: var(--pmx-text);
    background: rgba(255, 255, 255, .03);
    font: inherit;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

.pmx-mobile-filter-button span {
    min-width: 20px;
    min-height: 20px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #062018;
    background: var(--pmx-emerald);
    font-size: 9px;
}

.pmx-active-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 9px 0 10px;
}

.pmx-active-chips a {
    min-height: 29px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 9px;
    border: 1px solid rgba(44, 224, 164, .2);
    border-radius: 9px;
    color: #69e9c0;
    background: rgba(44, 224, 164, .055);
    font-size: 9px;
    font-weight: 800;
    text-decoration: none;
}

.pmx-active-chips span {
    font-size: 12px;
}

.pmx-alert {
    margin: 10px 0;
    padding: 12px 14px;
    border: 1px solid rgba(251, 113, 133, .22);
    border-radius: 12px;
    color: #ffabb7;
    background: rgba(251, 113, 133, .07);
    font-size: 11px;
    font-weight: 750;
}

.pmx-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.pmx-card {
    min-width: 0;
    overflow: hidden;
    border-radius: 13px;
    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.pmx-card:hover {
    transform: translateY(-2px);
    border-color: rgba(44, 224, 164, .26);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .22);
}

.pmx-card-media {
    position: relative;
    height: clamp(180px, 11vw, 220px);
    display: block;
    overflow: hidden;
    background: #0b1d2d;
}

.pmx-card-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .35s ease;
}

.pmx-card:hover .pmx-card-media img {
    transform: scale(1.025);
}

.pmx-live,
.pmx-price {
    position: absolute;
    z-index: 2;
    min-height: 25px;
    display: inline-flex;
    align-items: center;
    padding: 0 8px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 900;
}

.pmx-live {
    left: 9px;
    top: 9px;
    color: #032017;
    background: rgba(44, 224, 164, .94);
}

.pmx-price {
    right: 9px;
    bottom: 9px;
    border: 1px solid rgba(255, 255, 255, .14);
    color: #fff;
    background: rgba(5, 16, 27, .9);
    backdrop-filter: blur(10px);
}

.pmx-card-body {
    display: grid;
    gap: 9px;
    padding: 12px;
}

.pmx-card-head {
    min-width: 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 9px;
}

.pmx-card-head > div {
    min-width: 0;
}

.pmx-card-title {
    display: block;
    overflow: hidden;
    color: var(--pmx-text);
    font-size: 13px;
    font-weight: 850;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pmx-card-head > div > span {
    display: block;
    margin-top: 3px;
    overflow: hidden;
    color: var(--pmx-muted);
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pmx-heart {
    width: 31px;
    height: 31px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border: 1px solid var(--pmx-line);
    border-radius: 9px;
    color: #8da5b6;
    background: rgba(255, 255, 255, .025);
    cursor: pointer;
    transition:
        transform .16s ease,
        color .16s ease,
        border-color .16s ease,
        background .16s ease;
}

.pmx-heart:hover {
    transform: scale(1.05);
    color: var(--pmx-danger);
    border-color: rgba(251, 113, 133, .34);
}

.pmx-heart.is-active {
    color: #ff8799;
    border-color: rgba(251, 113, 133, .38);
    background: rgba(251, 113, 133, .10);
}

.pmx-heart.is-loading {
    opacity: .55;
    pointer-events: none;
}

.pmx-card-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
}

.pmx-card-stats span {
    min-width: 0;
    padding: 7px 8px;
    border: 1px solid var(--pmx-line);
    border-radius: 9px;
    color: var(--pmx-muted);
    background: rgba(255, 255, 255, .018);
    font-size: 9px;
}

.pmx-card-stats strong {
    display: block;
    margin-bottom: 2px;
    color: var(--pmx-text);
    font-size: 13px;
}

.pmx-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.pmx-card-badges span {
    min-height: 22px;
    display: inline-flex;
    align-items: center;
    padding: 0 7px;
    border-radius: 999px;
    color: #9db0bf;
    background: rgba(255, 255, 255, .045);
    font-size: 8px;
    font-weight: 750;
}

.pmx-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 1px;
}

.pmx-card-footer small {
    min-width: 0;
    overflow: hidden;
    color: var(--pmx-muted);
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pmx-card-footer a {
    min-height: 35px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border-radius: 9px;
    color: #03151b;
    background: linear-gradient(135deg, var(--pmx-emerald), var(--pmx-cyan));
    font-size: 10px;
    font-weight: 900;
    text-decoration: none;
}

.pmx-card.is-live-changed {
    border-color: rgba(44, 224, 164, .4);
    box-shadow:
        0 0 0 3px rgba(44, 224, 164, .06),
        0 16px 44px rgba(0, 0, 0, .18);
}

.pmx-card.is-live-full {
    opacity: .78;
}

.pmx-card.is-live-full [data-live-free] {
    color: #fff;
    background: rgba(251, 113, 133, .92);
}

.pmx-card.is-live-full [data-live-reserve] {
    pointer-events: none;
    color: #8597a7;
    background: rgba(148, 163, 184, .12);
}

.pmx-card.is-live-offline [data-live-free] {
    color: #fde68a;
    background: rgba(245, 200, 76, .16);
}

.pmx-empty-state {
    min-height: 360px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 9px;
    margin-top: 10px;
    padding: 28px;
    border: 1px dashed var(--pmx-line-strong);
    border-radius: 14px;
    text-align: center;
    background: rgba(8, 24, 38, .5);
}

.pmx-empty-state > span {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: var(--pmx-emerald);
    background: rgba(44, 224, 164, .08);
    font-weight: 900;
}

.pmx-empty-state h3,
.pmx-empty-state p {
    margin: 0;
}

.pmx-empty-state h3 {
    font-size: 16px;
}

.pmx-empty-state p {
    max-width: 440px;
    color: var(--pmx-muted);
    font-size: 11px;
    line-height: 1.6;
}

.pmx-empty-state a {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 9px;
    color: #03151b;
    background: linear-gradient(135deg, var(--pmx-emerald), var(--pmx-cyan));
    font-size: 10px;
    font-weight: 900;
    text-decoration: none;
}

.pmx-filter-backdrop {
    display: none;
}

@media (max-width: 1480px) {
    .pmx-shell {
        width: min(calc(100% - 24px), 1420px);
    }

    .pmx-layout {
        grid-template-columns: 260px minmax(0, 1fr);
    }

    .pmx-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1120px) {
    .pmx-hero-card {
        grid-template-columns: 1fr;
    }

    .pmx-hero-copy {
        padding: 0 0 18px;
        border-right: 0;
        border-bottom: 1px solid var(--pmx-line);
    }

    .pmx-hero-copy h1,
    .pmx-hero-copy p {
        max-width: 600px;
    }

    .pmx-layout {
        grid-template-columns: 1fr;
    }

    .pmx-filter-panel {
        position: fixed;
        z-index: 1200;
        top: 0;
        bottom: 0;
        left: 0;
        width: min(350px, calc(100vw - 32px));
        overflow-y: auto;
        border-radius: 0 16px 16px 0;
        transform: translateX(-105%);
        transition: transform .24s ease;
    }

    body.is-filter-open .pmx-filter-panel {
        transform: translateX(0);
    }

    .pmx-mobile-filter-button {
        display: inline-flex;
    }

    .pmx-filter-backdrop {
        position: fixed;
        z-index: 1190;
        inset: 0;
        background: rgba(2, 10, 17, .68);
        backdrop-filter: blur(5px);
    }

    body.is-filter-open .pmx-filter-backdrop {
        display: block;
    }
}

@media (max-width: 760px) {
    .pmx-search-form {
        grid-template-columns: 1fr 1fr;
    }

    .pmx-search-input {
        grid-column: 1 / -1;
    }

    .pmx-metrics {
        grid-template-columns: 1fr 1fr;
    }

    .pmx-grid {
        grid-template-columns: 1fr 1fr;
    }

    .pmx-results-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .pmx-results-actions {
        width: 100%;
    }

    .pmx-results-actions form {
        min-width: 0;
        flex: 1;
    }
}

@media (max-width: 520px) {
    .pmx-shell {
        width: calc(100% - 14px);
    }

    .pmx-hero-card {
        padding: 17px;
    }

    .pmx-hero-copy h1 {
        font-size: 24px;
    }

    .pmx-search-form,
    .pmx-metrics,
    .pmx-grid {
        grid-template-columns: 1fr;
    }

    .pmx-search-input {
        grid-column: auto;
    }

    .pmx-search-button {
        width: 100%;
    }

    .pmx-card-media {
        height: 215px;
    }
}

@media (max-width: 360px) {
    .pmx-price-grid {
        grid-template-columns: 1fr;
    }

    .pmx-results-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .pmx-mobile-filter-button {
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pmx-page *,
    .pmx-page *::before,
    .pmx-page *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}
