/* ═══════════════════════════════════════════════════════════
   BRAND TOKENS
   To rebrand: update only this :root block.
   All colours throughout this file are derived from these variables.

   RGB triplet vars (--*-rgb) are needed for rgba() usage:
     rgba(var(--color-primary-rgb), 0.10)
   ═══════════════════════════════════════════════════════════ */
:root {
    /* ── Primary (cyan) ── */
    --color-primary: #00AEEF;
    --color-primary-rgb: 0, 174, 239;
    --color-primary-lt: #7dd8f8; /* hover / gradient midpoint  */
    --color-primary-dk: #0080b8; /* success message text        */

    /* ── Navy scale ── */
    --color-navy: #1B3A6B; /* main text, borders, buttons */
    --color-navy-rgb: 27, 58, 107;
    --color-navy-deep: #132d56; /* footer bg, stat bar         */
    --color-navy-deep-rgb: 19, 45, 86;
    --color-navy-card: #1e4a85; /* benefit / step card bg      */
    --color-navy-dark: #0f2a4e; /* body text, headings         */
    --color-navy-darkest: #0a1a2e; /* button label on primary bg  */

    /* ── Backgrounds ── */
    --color-bg: #f0f5fb; /* page bg, input bg           */
    --color-bg-focus: #e6f4fd; /* input focus state bg        */
    --color-white: #ffffff;

    /* ── Error ── */
    --color-error: #e05252; /* error border                */
    --color-error-text: #dc2626; /* error message text          */
    --color-error-bg: #fff5f5; /* error input background      */

    /* ── Typography scale ─────────────────────────────────────────────────────
       Mirror of tailwind.config.theme.extend.fontSize in pulaparking.js.
       Use these vars inside CSS rules; use text-* Tailwind classes in HTML.
       ── */
    --fs-tiny: 10px; /* text-tiny  — tiny sub-labels (dur-btn price) */
    --fs-label: 11px; /* text-label — ALL CAPS labels, form-lbl       */
    --fs-sub: 11.5px; /* text-sub   — errors, sub-text, legal links   */
    --fs-meta: 13px; /* text-meta  — meta info, stat labels          */
    --fs-note: 12.5px; /* text-note  — notes, wallet btns, success msg */
    --fs-ui: 13px; /* text-ui    — UI controls, footer links       */
    --fs-para: 13.5px; /* text-para  — card body paragraphs            */
    --fs-body: 14px; /* text-body  — standard body text, nav         */
    --fs-input: 15px; /* text-input — form inputs, step headings      */
    --fs-lead: 16px; /* text-lead  — section lead text               */
    --fs-desc: 17px; /* text-desc  — hero description                */
    --fs-h4: 18px; /* text-h4    — card / section headings         */
    --fs-h3: 22px; /* text-h3    — page title, hvala time          */
    --fs-stat: 26px; /* text-stat  — stat counter numbers            */
    --fs-price: 30px; /* text-price — price display                   */
    --fs-dpk: 36px; /* text-dpk   — DPK fine amount                 */
    --fs-step: 2.8rem; /* text-step  — decorative step numbers         */
    --fs-h2: clamp(24px, 3.5vw, 38px); /* text-h2    — section headings                */
    --fs-h2-lg: clamp(26px, 4vw, 44px); /* text-h2-lg — benefits section heading        */
    --fs-h1: clamp(34px, 5vw, 58px); /* text-h1    — hero main heading               */
}

/* ═══════════════════════════════════════════════════════════
   BASE
   ═══════════════════════════════════════════════════════════ */
html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: var(--color-bg);
    color: var(--color-navy-dark);
}

/* ── Cyan gradient line ── */
.gold-line {
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-lt) 50%, var(--color-primary) 100%);
}

/* ── Hero: full-screen parking photo with dark overlay ── */
.hero-bg {
    position: relative;
    background: url("images/pp-hero-1CUXrBB.jpg") center/cover no-repeat;
    min-height: calc(100vh - 60px);
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(var(--color-navy-deep-rgb), 0.5);
}

.hero-bg > * {
    position: relative;
}

/* ── Nav ── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--color-white);
}

.ks-nav {
    background: var(--color-white);
    border-bottom: 2px solid var(--color-navy);
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    gap: 24px;
}

.mobile-lang-bar {
    display: none;
    background: var(--color-white);
    border-bottom: 1px solid rgba(var(--color-navy-rgb), 0.12);
}

.mobile-lang-bar__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
}

/* ── CTA Buttons ── */
.btn-ks-gold {
    background: var(--color-primary);
    color: var(--color-white);
    border: 2px solid var(--color-primary);
    font-weight: 700;
    font-size: var(--fs-note);
    /*letter-spacing: 0.08em;
    text-transform: uppercase;*/
    padding: 10px 22px;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.18s ease;
    white-space: nowrap;
    font-family: inherit;
}

.btn-ks-gold:hover {
    background: var(--color-primary-lt);
    border-color: var(--color-primary-lt);
}

.btn-ks-outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    font-weight: 700;
    font-size: var(--fs-note);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 10px 22px;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.18s ease;
    white-space: nowrap;
    font-family: inherit;
}

.btn-ks-outline:hover {
    background: var(--color-primary);
    color: var(--color-navy-darkest);
}

.btn-ks-contact {
    background: var(--color-primary);
    color: var(--color-navy-darkest);
    border: 2px solid var(--color-primary);
    font-weight: 700;
    font-size: var(--fs-note);
    letter-spacing: 0.05em;
    padding: 8px 18px;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.18s;
    font-family: inherit;
}

.btn-ks-contact:hover {
    background: var(--color-primary-lt);
    border-color: var(--color-primary-lt);
}

/* ── Nav links ── */
.nav-link {
    font-size: var(--fs-input);
    color: rgba(var(--color-navy-rgb), 0.75);
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 3px;
    transition: color 0.15s;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--color-navy);
}

/* ── Lang btns ── */
.lang-btn {
    font-size: var(--fs-meta);
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 3px;
    border: 1.5px solid transparent;
    background: transparent;
    cursor: pointer;
    color: rgba(var(--color-navy-rgb), 0.55);
    font-family: inherit;
    transition: all 0.15s;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    display: inline-block;
}

.lang-btn.active {
    border-color: var(--color-navy);
    color: var(--color-navy);
}

.lang-btn:hover:not(.active) {
    color: var(--color-navy);
}

.hero-card .vtype-btn {
    color: rgba(var(--color-navy-rgb), 0.65);
    border-color: rgba(var(--color-primary-rgb), 0.40);
}

.hero-card .vtype-btn.active {
    background: rgba(var(--color-primary-rgb), 0.12);
    color: var(--color-primary);
    border-color: var(--color-primary);
}



/* ── Card tabs ── */
.tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: var(--fs-ui);
    font-weight: 700;
    /*text-transform: uppercase;
    letter-spacing: 0.08em;*/
    padding: 8px 14px 10px;
    color: rgba(var(--color-navy-rgb), 0.63);
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: color 0.15s, border-color 0.15s;
}

.tab-btn.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.tab-btn:hover:not(.active) {
    color: rgba(var(--color-navy-rgb), 0.9);
}

/* ── Hero card ── */
.hero-card {
    background: var(--color-white);
    border: 1px solid rgba(var(--color-navy-rgb), 0.15);
    border-top: 3px solid var(--color-primary);
    border-radius: 6px;
    backdrop-filter: blur(8px);
}

/* Hero card – scoped overrides for white background */
.hero-card .zone-pill.inactive {
    color: rgba(var(--color-navy-rgb), 0.65);
    border-color: rgba(var(--color-primary-rgb), 0.45);
}

.hero-card .zone-pill.inactive:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.hero-card .zone-pill.disabled {
    color: rgba(var(--color-navy-rgb), 0.25);
    border-color: rgba(var(--color-navy-rgb), 0.12);
    background: rgba(var(--color-navy-rgb), 0.04);
}

.hero-card .dur-btn {
    color: rgba(var(--color-navy-rgb), 0.65);
    border-color: rgba(var(--color-primary-rgb), 0.40);
}

/* ── Benefit card (navy) ── */
.benefit-card {
    background: var(--color-navy-card);
    border-radius: 8px;
    padding: 28px 24px;
    transition: border-color 0.18s, transform 0.18s;
    border: 1px solid transparent;
}

.benefit-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

/* ── Step card ── */
.step-card {
    background: var(--color-navy-card);
    border-radius: 6px;
    padding: 28px 24px;
}

.step-num {
    font-size: var(--fs-step);
    font-weight: 900;
    color: rgba(var(--color-primary-rgb), 0.20);
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}


/* ── Animations ── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.anim-1 {
    animation: fadeUp 0.5s ease both;
}

.anim-2 {
    animation: fadeUp 0.5s ease 0.12s both;
}

/* ── Stat bar ── */
.stat-bar {
    background: var(--color-navy-deep);
    border-top: 1px solid rgba(var(--color-primary-rgb), 0.20);
    border-bottom: 1px solid rgba(var(--color-primary-rgb), 0.20);
}

/* ── Hamburger ── */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-navy);
    border-radius: 2px;
}

@media (max-width: 639px) {
    .hero-card {
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
}

@media (max-width: 1023px) {
    .ks-nav {
        padding: 0 20px;
    }

    .nav-desktop {
        display: none !important;
    }

    .hamburger {
        display: flex !important;
    }

    .mobile-lang-bar {
        display: block;
    }

    .mobile-lang-bar__inner {
        justify-content: flex-start;
    }
}

/* ── Footer ── */
.site-footer {
    background: var(--color-navy-deep) !important;
    margin-top: auto !important;
    display: block !important;
    width: 100% !important;
}

.site-footer__inner {
    max-width: 680px !important;
    margin: 0 auto !important;
    padding: 36px 32px 20px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    background: transparent !important;
}

.site-footer__logo {
    height: 44px !important;
    width: auto !important;
    object-fit: contain !important;
    margin-bottom: 24px !important;
    filter: brightness(0) invert(1) !important;
    opacity: 0.85 !important;
}

.site-footer__nav {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 6px 28px !important;
    margin-bottom: 20px !important;
    background: transparent !important;
}

.site-footer__link {
    font-size: var(--fs-input) !important;
    color: rgba(255, 255, 255, 0.50) !important;
    text-decoration: none !important;
    background: transparent !important;
    transition: color 0.15s;
}

.site-footer__link:hover {
    color: var(--color-primary) !important;
}

.site-footer__divider {
    height: 1px !important;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-lt) 50%, var(--color-primary) 100%) !important;
    opacity: 0.30 !important;
    margin: 0 32px !important;
}

.site-footer__bottom {
    max-width: 680px !important;
    margin: 0 auto !important;
    padding: 16px 32px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
    background: transparent !important;
}

.site-footer__copyright {
    font-size: var(--fs-meta) !important;
    color: rgba(255, 255, 255, 0.35) !important;
    text-align: center !important;
    margin: 0 !important;
    background: transparent !important;
}

.site-footer__credit {
    color: rgba(255, 255, 255, 0.25) !important;
    text-decoration: none !important;
    margin-left: 6px !important;
    transition: color 0.15s;
}

.site-footer__credit:hover {
    color: var(--color-primary) !important;
}

.site-footer__legal {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 4px 16px !important;
    background: transparent !important;
}

.site-footer__legal-link {
    font-size: var(--fs-meta) !important;
    color: rgba(255, 255, 255, 0.30) !important;
    text-decoration: none !important;
    background: transparent !important;
    transition: color 0.15s;
}

.site-footer__legal-link:hover {
    color: var(--color-primary) !important;
}

/* ═══════════════════════════════════════════════════════════
   PURCHASE PAGES  (kupnja.php · dpk.php · hvala.php)
   ═══════════════════════════════════════════════════════════ */

/* ── Page ── */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.page {
    flex: 1;
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
    padding: 36px 20px 60px;
}

.page-label {
    font-size: var(--fs-ui);
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 6px;
}

.page-title {
    font-size: var(--fs-h3);
    font-weight: 700;
    color: var(--color-navy-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

/* ── Field label split (with hint on right) ── */
.field-lbl-split {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.field-hint {
    font-size: var(--fs-label);
    color: rgba(var(--color-navy-rgb), 0.45);
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
}

/* ── Payment error message ── */
.pay-error {
    background: #fff0f0;
    border: 1px solid #f5c6cb;
    color: #842029;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: var(--fs-body);
    line-height: 1.5;
    margin-bottom: 10px;
}

/* ── Full-width pay button ── */
.btn-pay {
    width: 100%;
    justify-content: center;
    font-size: var(--fs-body);
    padding: 13px 22px;
    margin-bottom: 8px;
}

/* ── Wallet buttons grid ── */
.wallet-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 4px;
}

/* ── Purchase card ── */
.purchase-card {
    background: var(--color-white);
    border: 1px solid rgba(var(--color-navy-rgb), 0.13);
    border-top: 3px solid var(--color-primary);
    border-radius: 10px;
    box-shadow: 0 4px 24px rgba(var(--color-navy-rgb), 0.09);
    overflow: hidden;
    position: relative;
}

/* ── Card tabs ── */
.card-tabs {
    display: flex;
    border-bottom: 1px solid rgba(var(--color-navy-rgb), 0.10);
    padding: 0 24px;
}

/* ── Card body ── */
.card-body {
    padding: 22px 24px 24px;
}

/* ── Field ── */
.field {
    margin-bottom: 18px;
}

.field--last {
    margin-bottom: 0;
}

.field-sub {
    font-size: var(--fs-sub);
    color: rgba(var(--color-navy-rgb), 0.45);
    margin-bottom: 8px;
    margin-top: -3px;
}

.field-lbl {
    display: block;
    font-size: var(--fs-ui);
    font-weight: 700;
    /*letter-spacing: 0.09em;
    text-transform: uppercase;*/
    color: var(--color-navy);
    margin-bottom: 7px;
}

/* ── Plate input ── */
.plate-input {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid rgba(var(--color-navy-rgb), 0.20);
    border-radius: 4px;
    background: var(--color-bg);
    color: var(--color-navy);
    font-size: var(--fs-input);
    font-weight: 600;
    letter-spacing: 0.06em;
    font-family: inherit;
    outline: none;
    transition: border-color 0.15s, background 0.15s;
}

.plate-input::placeholder {
    color: rgba(var(--color-navy-rgb), 0.35);
}

.plate-input:focus {
    border-color: var(--color-primary);
    background: var(--color-bg-focus);
}

.plate-input.err {
    border-color: var(--color-error);
    background: var(--color-error-bg);
}

.plate-err {
    font-size: var(--fs-sub);
    color: var(--color-error-text);
    margin-top: 5px;
    display: none;
}

.plate-err.show {
    display: block;
}

/* ── Duration buttons ── */
.dur-btn {
    padding: 10px 4px;
    border-radius: 4px;
    font-size: var(--fs-input);
    font-weight: 700;
    font-family: inherit;
    border: 2px solid rgba(var(--color-primary-rgb), 0.35);
    background: transparent;
    cursor: pointer;
    color: rgba(var(--color-navy-rgb), 0.65);
    transition: all 0.15s;
    text-align: center;
}

.dur-btn small {
    display: block;
    font-size: var(--fs-ui);
    font-weight: 500;
    color: rgba(var(--color-navy-rgb), 0.45);
    margin-top: 2px;
}

.dur-btn.active {
    background: rgba(var(--color-primary-rgb), 0.10);
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.dur-btn.active small {
    color: rgba(var(--color-primary-rgb), 0.75);
}

.dur-btn:hover:not(.active) {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.dur-btn--more {
    border-style: dashed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dur-btn--more svg {
    width: 16px;
    height: 16px;
}

/* ── Zone pill group & vehicle type grid ── */
.zone-pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.zone-pill-group .zone-pill {
    flex: 1;
}

.vtype-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}

/* ── Zone pills (purchase page overrides) ── */
.zone-pill {
    padding: 6px 11px;
    border-radius: 4px;
    font-size: var(--fs-ui);
    font-weight: 700;
    cursor: pointer;
    border: 2px solid;
    transition: all 0.15s;
    font-family: inherit;
    background: none;
    letter-spacing: 0.03em;
}

.zone-pill.active {
    background: var(--zone-pill-active-bg, var(--color-primary));
    color: var(--zone-pill-active-text, var(--color-navy-darkest));
    border-color: var(--zone-pill-active-border, var(--color-primary));
}

.zone-pill.inactive {
    color: rgba(var(--color-navy-rgb), 0.65);
    border-color: rgba(var(--color-primary-rgb), 0.40);
}

.zone-pill.inactive:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.zone-pill.disabled {
    color: rgba(var(--color-navy-rgb), 0.22);
    border-color: rgba(var(--color-navy-rgb), 0.10);
    background: rgba(var(--color-navy-rgb), 0.03);
    cursor: not-allowed;
}

/* ── Vehicle type buttons (purchase page overrides) ── */
.vtype-btn {
    padding: 8px 6px;
    border-radius: 4px;
    font-size: var(--fs-ui);
    font-weight: 700;
    font-family: inherit;
    border: 2px solid rgba(var(--color-primary-rgb), 0.35);
    background: transparent;
    cursor: pointer;
    color: rgba(var(--color-navy-rgb), 0.65);
    transition: all 0.15s;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.vtype-btn svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.vtype-btn.active {
    background: rgba(var(--color-primary-rgb), 0.10);
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.vtype-btn.disabled {
    color: rgba(var(--color-navy-rgb), 0.22);
    border-color: rgba(var(--color-navy-rgb), 0.10);
    background: rgba(var(--color-navy-rgb), 0.03);
    cursor: not-allowed;
}

.vtype-btn:hover:not(.active):not(.disabled) {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* ── Price box ── */
.price-box {
    background: rgba(var(--color-primary-rgb), 0.08);
    border: 1px solid rgba(var(--color-primary-rgb), 0.22);
    border-radius: 6px;
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
}

.price-amount {
    font-size: var(--fs-price);
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: -0.01em;
}

.price-detail {
    font-size: var(--fs-meta);
    color: rgba(var(--color-navy-rgb), 0.55);
    text-align: right;
    line-height: 1.5;
}

/* ── Wallet pay buttons (purchase page overrides) ── */
.pay-wallet-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    background: var(--color-white);
    color: var(--color-navy);
    border: 1.5px solid rgba(var(--color-navy-rgb), 0.18);
    border-radius: 4px;
    padding: 10px;
    font-size: var(--fs-note);
    font-weight: 700;
    /*
    letter-spacing: 0.04em;
    text-transform: uppercase;*/
    cursor: pointer;
    font-family: inherit;
    transition: border-color 0.15s, background 0.15s;
}

.pay-wallet-btn:hover {
    border-color: var(--color-navy);
    background: var(--color-bg);
}

.pay-wallet-btn svg {
    flex-shrink: 0;
}

/* ── Secure note ── */
.secure-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: var(--fs-label);
    color: rgba(var(--color-navy-rgb), 0.40);
    margin-top: 11px;
}

.secure-note svg {
    width: 12px;
    height: 12px;
    stroke: rgba(var(--color-navy-rgb), 0.40);
    fill: none;
    stroke-width: 2;
}

/* ── Responsive ── */
@media (max-width: 520px) {
    .page {
        padding: 0;
    }

    .page-label {
        padding: 12px 12px 0 12px;
    }

    .page-title {
        padding: 0 12px 12px 12px;
        margin-bottom: 0;
    }

    .card-body {
        padding: 18px 16px 20px;
    }

    .purchase-card {
        border-radius: 0;
    }

    .card-tabs {
        padding: 0px;
    }
}

/* ═══════════════════════════════════════════════════════════
   DPK PAGE  (dpk.php)
   ═══════════════════════════════════════════════════════════ */

.dpk-info-box {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    background: rgba(var(--color-primary-rgb), 0.07);
    border: 1px solid rgba(var(--color-primary-rgb), 0.20);
    border-radius: 6px;
    padding: 12px 14px;
    font-size: var(--fs-note);
    color: rgba(var(--color-navy-rgb), 0.65);
    line-height: 1.6;
    margin-top: 8px;
}

.dpk-info-box svg {
    flex-shrink: 0;
    margin-top: 1px;
    width: 15px;
    height: 15px;
    stroke: var(--color-primary);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
}

.dpk-amount {
    font-size: var(--fs-dpk);
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: -0.02em;
    line-height: 1;
}

.dpk-amount-label {
    font-size: var(--fs-label);
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: rgba(var(--color-navy-rgb), 0.50);
    margin-bottom: 6px;
}

.dpk-num-display {
    font-size: var(--fs-meta);
    color: rgba(var(--color-navy-rgb), 0.50);
    margin-top: 5px;
}

.spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(var(--color-primary-rgb), 0.25);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ═══════════════════════════════════════════════════════════
   HVALA PAGE  (hvala.php)
   ═══════════════════════════════════════════════════════════ */

.check-circle {
    width: 84px;
    height: 84px;
    display: block;
    margin: 0 auto 20px;
    stroke: var(--color-primary);
}

.check-circle__ring {
    stroke-dasharray: 145;
    stroke-dashoffset: 145;
    animation: checkRingDraw 0.5s ease-out forwards;
}

.check-circle__tick {
    stroke-dasharray: 36;
    stroke-dashoffset: 36;
    animation: checkTickDraw 0.35s ease-out forwards 0.45s;
}

@keyframes checkRingDraw {
    to { stroke-dashoffset: 0; }
}

@keyframes checkTickDraw {
    to { stroke-dashoffset: 0; }
}

.hvala-info {
    text-align: center;
    font-size: var(--fs-body);
    color: rgba(var(--color-navy-rgb), 0.60);
    line-height: 1.7;
    margin-bottom: 4px;
}

.hvala-info strong {
    color: var(--color-navy-dark);
}

.hvala-info .time {
    font-size: var(--fs-h3);
    letter-spacing: -0.01em;
}

.section-divider {
    border: none;
    border-top: 1px solid rgba(var(--color-navy-rgb), 0.10);
    margin: 20px 0;
}

.invoice-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 20px;
    border: 2px solid var(--color-navy);
    border-radius: 6px;
    background: transparent;
    color: var(--color-navy);
    font-size: var(--fs-ui);
    font-weight: 700;
    letter-spacing: 0.04em;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    text-transform: uppercase;
}

.invoice-btn:hover {
    background: var(--color-navy);
    color: var(--color-white);
}

.invoice-btn svg {
    flex-shrink: 0;
}

.field-row {
    display: flex;
    gap: 8px;
}

.field-row .plate-input {
    flex: 1;
    min-width: 0;
    font-size: var(--fs-body);
    font-weight: 400;
    letter-spacing: 0;
}

.field-row .field-btn {
    flex-shrink: 0;
    padding: 0 18px;
    height: 44px;
    background: var(--color-navy);
    color: var(--color-white);
    border: none;
    border-radius: 4px;
    font-size: var(--fs-ui);
    font-weight: 700;
    letter-spacing: 0.04em;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s;
    text-transform: uppercase;
}

.field-row .field-btn:hover {
    background: var(--color-primary);
}

.phone-row {
    display: flex;
    gap: 8px;
}

.phone-row .iti {
    flex: 1;
    min-width: 0;
}

.phone-row .iti .plate-input {
    width: 100%;
    font-size: var(--fs-body);
    font-weight: 400;
    letter-spacing: 0;
}

.phone-row .field-btn {
    flex-shrink: 0;
    padding: 0 14px;
    height: 44px;
    background: var(--color-navy);
    color: var(--color-white);
    border: none;
    border-radius: 4px;
    font-size: var(--fs-ui);
    font-weight: 700;
    letter-spacing: 0.04em;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s;
    text-transform: uppercase;
}

.phone-row .field-btn:hover {
    background: var(--color-primary);
}

.success-msg {
    display: none;
    margin-top: 8px;
    padding: 9px 14px;
    background: rgba(var(--color-primary-rgb), 0.08);
    border: 1px solid rgba(var(--color-primary-rgb), 0.25);
    border-radius: 4px;
    font-size: var(--fs-note);
    font-weight: 600;
    color: var(--color-primary-dk);
}

.success-msg.show {
    display: block;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 24px;
    font-size: var(--fs-note);
    color: rgba(var(--color-navy-rgb), 0.45);
    text-decoration: none;
    transition: color 0.15s;
}

.back-link:hover {
    color: var(--color-primary);
}

@media (max-width: 400px) {
    .phone-row .field-btn,
    .field-row .field-btn {
        padding: 0 10px;
        font-size: var(--fs-meta);
    }
}
