/* v2 page shell (index2.php): top bar, sidebar, hero, side cards, "Ajutor rapid", footer. Same tokens as masini-v2.css */

.ev2-shell {
    --ev2s-font: "Inter", "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
    --ev2s-page: #f3f7fd;
    --ev2s-card: #ffffff;
    --ev2s-border: #e9edf4;
    --ev2s-text: #0f172a;
    --ev2s-text-2: #334155;
    --ev2s-muted: #64748b;
    --ev2s-faint: #94a3b8;
    --ev2s-soft: #f1f4f9;
    --ev2s-soft-2: #e6ebf3;
    --ev2s-accent: #ec4320;
    --ev2s-accent-2: #f6582a;
    --ev2s-grad: linear-gradient(135deg, #f6582a 0%, #ea3d1f 100%);
    --ev2s-tint: #fdeee8;
    --ev2s-nav: #44516e;
    --ev2s-blue: #1f6fe5;
    --ev2s-blue-tint: #ebf3fe;
    --ev2s-peach-tint: #fff0ec;
    --ev2s-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 4px 18px rgba(31, 58, 110, .05);
    --ev2s-shadow-hover: 0 8px 24px rgba(31, 58, 110, .1);
    --ev2s-gap: 18px;
    --ev2s-side-w: 208px;
    --ev2s-rail-w: 360px;
    --ev2s-ok-bg: #c9f2cb;
    --ev2s-ok-ic: #16a34a;
    --ev2s-warn-bg: #fde68a;
    --ev2s-warn-fg: #9a3412;
    --ev2s-warn-ic: #c2410c;
    --ev2s-exp-bg: #fde0e0;
    --ev2s-exp-fg: #dc2626;
    --ev2s-top-h: 64px;
    background: var(--ev2s-page);
}

[data-theme="dark"] .ev2-shell {
    --ev2s-page: #15181f;
    --ev2s-card: #262b36;
    --ev2s-border: #343a47;
    --ev2s-text: #f1f5f9;
    --ev2s-text-2: #e2e8f0;
    --ev2s-muted: #a3adbd;
    --ev2s-faint: #7c8798;
    --ev2s-soft: #313745;
    --ev2s-soft-2: #3a4150;
    --ev2s-tint: rgba(239, 68, 68, .16);
    --ev2s-nav: #b9c0cc;
    --ev2s-blue: #6ea8ff;
    --ev2s-blue-tint: rgba(59, 130, 246, .14);
    --ev2s-peach-tint: rgba(244, 81, 30, .13);
    --ev2s-shadow: 0 1px 3px rgba(0, 0, 0, .35);
    --ev2s-shadow-hover: 0 8px 22px rgba(0, 0, 0, .45);
    --ev2s-ok-bg: rgba(34, 197, 94, .22);
    --ev2s-ok-ic: #4ade80;
    --ev2s-warn-bg: rgba(251, 191, 36, .28);
    --ev2s-warn-fg: #fbbf24;
    --ev2s-warn-ic: #fbbf24;
    --ev2s-exp-bg: rgba(239, 68, 68, .22);
    --ev2s-exp-fg: #f87171;
}

[data-theme="dark"] body.ev2-shell {
    background-color: var(--ev2s-page) !important;
}

.ev2-shell [id] {
    scroll-margin-top: calc(var(--ev2s-top-h) + env(safe-area-inset-top, 0px) + 16px);
}

.ev2s-top,
.ev2s-hero,
.ev2s-card,
.ev2s-footer {
    font-family: var(--ev2s-font);
    color: var(--ev2s-text);
    -webkit-font-smoothing: antialiased;
}

.ev2s-top *,
.ev2s-hero *,
.ev2s-card *,
.ev2s-footer * {
    box-sizing: border-box;
}

.ev2s-top a,
.ev2s-hero a,
.ev2s-card a,
.ev2s-footer a {
    text-decoration: none !important;
}

/* ---------- Logo ---------- */

.ev2s-logo {
    display: inline-flex;
    align-items: center;
    flex: none;
}

.ev2s-logo img {
    display: block;
    width: auto;
    height: 32px;
}

.ev2s-logo-dark,
[data-theme="dark"] .ev2s-logo-light {
    display: none !important;
}

[data-theme="dark"] .ev2s-logo-dark {
    display: block !important;
}

/* ---------- Top bar ---------- */

.ev2s-top {
    position: sticky;
    top: 0;
    z-index: 1030;
    /* viewport-fit=cover: in the iOS app the page runs under the status bar */
    padding: calc(14px + env(safe-area-inset-top, 0px)) calc(24px + env(safe-area-inset-right, 0px)) 0 calc(24px + env(safe-area-inset-left, 0px));
    background: var(--ev2s-page);
}

.ev2s-top-in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 1600px;
    height: var(--ev2s-top-h);
    margin: 0 auto;
    padding: 0 14px 0 22px;
    border-radius: 18px;
    background: var(--ev2s-card);
    box-shadow: var(--ev2s-shadow);
}

.ev2s-top-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.ev2s-find {
    position: relative;
    display: flex;
    align-items: center;
    width: 340px;
    margin-right: 14px;
}

.ev2s-find > i {
    position: absolute;
    left: 15px;
    font-size: 14px;
    color: var(--ev2s-muted) !important;
    pointer-events: none;
}

.ev2s-find input {
    width: 100%;
    height: 42px;
    padding: 0 62px 0 42px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: #eef2fa;
    color: var(--ev2s-text);
    font-family: var(--ev2s-font);
    font-size: 14.5px;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.ev2s-find input::placeholder {
    color: #8792a8;
}

.ev2s-find input::-webkit-search-cancel-button {
    display: none;
}

.ev2s-find input:focus {
    outline: none;
    border-color: rgba(236, 67, 32, .45);
    background: var(--ev2s-card);
    box-shadow: 0 0 0 4px rgba(236, 67, 32, .1);
}

.ev2s-kbd {
    position: absolute;
    right: 9px;
    padding: 3px 7px;
    border: 0;
    border-radius: 7px;
    background: #dfe5f1;
    box-shadow: none;
    color: #66718a;
    font-family: var(--ev2s-font);
    font-size: 11.5px;
    font-weight: 600;
    pointer-events: none;
}

.ev2s-find input:focus + .ev2s-kbd {
    opacity: 0;
}

[data-theme="dark"] .ev2s-find input {
    background: var(--ev2s-soft);
}

[data-theme="dark"] .ev2s-kbd {
    background: var(--ev2s-soft-2);
    color: var(--ev2s-muted);
}

.ev2s-top-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    height: 42px;
    padding: 0 14px;
    border-radius: 12px;
    color: var(--ev2s-text-2) !important;
    font-size: 14.5px;
    font-weight: 600;
    transition: background-color .2s ease, color .2s ease;
}

.ev2s-top-link i {
    font-size: 18px;
    color: inherit !important;
}

.ev2s-icon-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: none;
    color: var(--ev2s-nav);
    font-size: 18px;
    cursor: pointer;
    transition: background-color .2s ease;
}

.ev2s-icon-btn i {
    color: inherit !important;
}

.ev2s-dot {
    position: absolute;
    top: 9px;
    right: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ev2s-accent);
    box-shadow: 0 0 0 2px var(--ev2s-card);
}

.ev2s-dot.is-soon {
    background: #f59e0b;
}

.ev2s-top-sep {
    width: 1px;
    height: 28px;
    margin: 0 8px;
    background: var(--ev2s-border);
}

.ev2s-user {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 46px;
    padding: 0 10px 0 4px;
    border: 0;
    border-radius: 999px;
    background: none;
    color: var(--ev2s-text) !important;
    font-family: var(--ev2s-font);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color .2s ease;
}

.ev2s-user-name {
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: inherit !important;
}

.ev2s-user-chev {
    font-size: 12px;
    color: var(--ev2s-muted) !important;
    transition: transform .2s ease;
}

.ev2s-pop.is-open .ev2s-user-chev {
    transform: rotate(180deg);
}

.ev2s-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--ev2s-grad);
    color: #fff !important;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(236, 67, 32, .28);
}

.ev2s-avatar i {
    color: #fff !important;
    font-size: 14px;
}

.ev2s-top-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 16px;
    border-radius: 12px;
    background: var(--ev2s-grad);
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 6px 14px rgba(236, 67, 32, .28);
    transition: transform .15s ease, box-shadow .2s ease;
}

.ev2s-top-btn i,
.ev2s-top-btn span {
    color: #fff !important;
}

@media (hover: hover) {
    .ev2s-top-link:hover,
    .ev2s-icon-btn:hover,
    .ev2s-user:hover {
        background: var(--ev2s-soft);
        color: var(--ev2s-text) !important;
    }

    .ev2s-top-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 8px 18px rgba(236, 67, 32, .36);
    }
}

.ev2s-pop.is-open > .ev2s-icon-btn,
.ev2s-pop.is-open > .ev2s-user {
    background: var(--ev2s-soft);
}

.ev2s-top-link:focus-visible,
.ev2s-icon-btn:focus-visible,
.ev2s-user:focus-visible,
.ev2s-top-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(236, 67, 32, .35);
}

/* Dropdown panels (alerts, account) */
.ev2s-pop {
    position: relative;
}

.ev2s-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 5;
    width: 340px;
    max-width: calc(100vw - 24px);
    padding: 8px;
    border: 1px solid var(--ev2s-border);
    border-radius: 16px;
    background: var(--ev2s-card);
    box-shadow: 0 18px 44px rgba(16, 24, 40, .16);
    font-family: var(--ev2s-font);
    animation: ev2s-pop-in .16s ease-out;
}

.ev2s-panel[hidden] {
    display: none;
}

@keyframes ev2s-pop-in {
    from { opacity: 0; transform: translateY(-4px) scale(.98); }
    to { opacity: 1; transform: none; }
}

.ev2s-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px 10px;
    font-size: 15px;
    color: var(--ev2s-text);
}

.ev2s-panel-count {
    min-width: 24px;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--ev2s-tint);
    color: var(--ev2s-accent);
    font-size: 12.5px;
    font-weight: 700;
    text-align: center;
}

.ev2s-panel-count:empty {
    display: none;
}

.ev2s-alerts {
    max-height: min(360px, 60vh);
    margin: 0;
    padding: 0;
    overflow-y: auto;
    list-style: none;
}

.ev2s-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px;
    border: 0;
    border-radius: 11px;
    background: none;
    color: var(--ev2s-text);
    font-family: inherit;
    text-align: left;
    cursor: pointer;
}

.ev2s-alert:hover,
.ev2s-alert:focus-visible {
    background: var(--ev2s-soft);
    outline: none;
}

.ev2s-alert-dot {
    flex: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #f59e0b;
}

.ev2s-alert.is-exp .ev2s-alert-dot {
    background: #dc2626;
}

.ev2s-alert-txt {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
}

.ev2s-alert-txt strong {
    font-size: 14px;
    font-weight: 700;
}

.ev2s-alert-txt span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    color: var(--ev2s-muted);
}

.ev2s-alert > i {
    font-size: 11px;
    color: var(--ev2s-faint) !important;
}

.ev2s-alerts-empty {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 12px 10px 14px;
    font-size: 14px;
    color: var(--ev2s-text-2);
}

.ev2s-alerts-empty[hidden] {
    display: none;
}

.ev2s-alerts-empty i {
    color: #16a34a !important;
    font-size: 17px;
}

.ev2s-panel-foot {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 6px;
    padding: 11px;
    border-top: 1px solid var(--ev2s-border);
    color: var(--ev2s-blue) !important;
    font-size: 14px;
    font-weight: 700;
}

.ev2s-user-panel {
    width: 270px;
}

.ev2s-user-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
    padding: 8px 10px 14px;
    border-bottom: 1px solid var(--ev2s-border);
}

.ev2s-user-head > span:last-child {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.ev2s-user-head strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 15px;
    color: var(--ev2s-text);
}

.ev2s-user-head small {
    font-size: 13px;
    color: var(--ev2s-muted);
}

.ev2s-menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 10px;
    border-radius: 10px;
    color: var(--ev2s-text) !important;
    font-size: 14.5px;
    font-weight: 600;
}

.ev2s-menu-link i {
    width: 18px;
    text-align: center;
    color: var(--ev2s-muted) !important;
}

.ev2s-menu-link:hover,
.ev2s-menu-link:focus-visible {
    background: var(--ev2s-soft);
    outline: none;
}

.ev2s-menu-link.is-danger,
.ev2s-menu-link.is-danger i {
    color: #dc2626 !important;
}

[data-theme="dark"] .ev2s-panel-foot,
[data-theme="dark"] .ev2s-menu-link.is-danger,
[data-theme="dark"] .ev2s-menu-link.is-danger i {
    color: #f87171 !important;
}

[data-theme="dark"] .ev2s-panel-foot {
    color: var(--ev2s-blue) !important;
}

/* ---------- Layout: sidebar + content ---------- */

.ev2s-layout {
    display: grid;
    grid-template-columns: var(--ev2s-side-w) minmax(0, 1fr);
    gap: var(--ev2s-gap);
    max-width: 1648px;
    margin: 0 auto;
    padding: var(--ev2s-gap) 24px 0;
}

.ev2s-content {
    min-width: 0;
}

/* Bootstrap containers inside the content column (lazy sections) span the column */
.ev2-shell .ev2s-content .container {
    width: auto !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.ev2-shell .ev2s-content .notika-email-post-area {
    margin-top: 0;
    margin-bottom: var(--ev2s-gap);
    padding-top: 0;
}

.ev2-shell .ev2s-content .ev2s-main-area {
    padding: 0;
}

.ev2s-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--ev2s-rail-w);
    gap: var(--ev2s-gap);
    align-items: start;
    margin-top: var(--ev2s-gap);
}

.ev2s-grid-full {
    grid-column: 1 / -1;
}

.ev2s-main {
    min-width: 0;
    container: ev2main / inline-size;
}

.ev2-shell .ev2s-main .listamasini {
    float: none;
    width: auto;
    margin: 0;
    padding: 0;
}

.ev2s-rail {
    display: flex;
    flex-direction: column;
    gap: var(--ev2s-gap);
    min-width: 0;
}

.ev2s-rail > .ev2s-card {
    margin: 0;
}

@media (min-width: 1200px) and (min-height: 820px) {
    .ev2s-rail {
        position: sticky;
        top: calc(var(--ev2s-top-h) + 14px + var(--ev2s-gap) + env(safe-area-inset-top, 0px));
    }
}

.ev2-shell .ev2s-rail #info1 {
    flex: none !important;
    max-width: none !important;
    width: auto;
    float: none;
    padding: 0;
}

.ev2-shell .ev2s-rail #info1:not(:has(> :not([style*="display:none"]):not([style*="display: none"]))) {
    display: none;
}

/* Sidebar (includes/menu.php) */
.ev2s-side {
    min-width: 0;
}

@media (min-width: 769px) {
    .ev2-shell .ev2s-side-nav {
        position: sticky;
        top: calc(var(--ev2s-top-h) + 14px + var(--ev2s-gap) + env(safe-area-inset-top, 0px));
        display: block;
        min-height: calc(100vh - var(--ev2s-top-h) - 14px - 3 * var(--ev2s-gap));
        padding: 12px;
        border-radius: 18px;
        background: var(--ev2s-card) !important;
        box-shadow: var(--ev2s-shadow);
    }

    .ev2-shell .ev2s-side .app-nav {
        display: flex !important;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 0;
        background: none !important;
        box-shadow: none;
        font-family: var(--ev2s-font);
    }

    .ev2-shell .ev2s-side .app-nav-item {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 13px 14px;
        border-radius: 12px;
        background: none;
        color: var(--ev2s-nav) !important;
        font-size: 15px;
        font-weight: 600;
        box-shadow: none;
    }

    .ev2-shell .ev2s-side .app-nav-item i,
    .ev2-shell .ev2s-side .app-nav-item span {
        color: inherit !important;
    }

    .ev2-shell .ev2s-side .app-nav-icon {
        width: 22px;
        font-size: 18px;
    }

    .ev2-shell .ev2s-side .app-nav-label {
        color: var(--ev2s-text-2) !important;
    }

    .ev2-shell .ev2s-side .app-nav-item:hover {
        background: var(--ev2s-soft) !important;
    }

    .ev2-shell .ev2s-side .app-nav-item.active,
    .ev2-shell .ev2s-side .app-nav-item.active:hover {
        background: var(--ev2s-tint) !important;
        color: var(--ev2s-accent) !important;
        box-shadow: none;
    }

    .ev2-shell .ev2s-side .app-nav-item.active .app-nav-label {
        color: var(--ev2s-accent) !important;
    }

    [data-theme="dark"] .ev2-shell .ev2s-side .app-nav-item.active,
    [data-theme="dark"] .ev2-shell .ev2s-side .app-nav-item.active .app-nav-label,
    [data-theme="dark"] .ev2-shell .ev2s-side .app-nav-item.active i {
        color: #ff8a73 !important;
    }
}

/* ---------- Hero ---------- */

.ev2s-hero {
    position: relative;
    overflow: hidden;
    background: var(--ev2s-card);
    border-radius: 18px;
    box-shadow: var(--ev2s-shadow);
    padding: 22px 22px 22px 28px;
}

.ev2s-hero-row {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.ev2s-hero-hi {
    flex: 1 1 auto;
    min-width: 0;
}

.ev2s-hello {
    margin: 0 0 4px;
    font-size: 17px;
    font-weight: 500;
    color: var(--ev2s-muted);
}

.ev2s-hello span {
    color: inherit;
}

.ev2s-hero .ev2s-name {
    margin: 0;
    font-family: var(--ev2s-font);
    font-size: 34px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.02em;
    color: var(--ev2s-text);
    overflow-wrap: anywhere;
}

.ev2s-wave {
    display: inline-block;
    font-size: .8em;
    transform-origin: 70% 80%;
    animation: ev2s-wave 2.4s ease-in-out 1s 2;
}

@keyframes ev2s-wave {
    0%, 60%, 100% { transform: rotate(0); }
    10%, 30% { transform: rotate(14deg); }
    20% { transform: rotate(-8deg); }
    40% { transform: rotate(-4deg); }
    50% { transform: rotate(10deg); }
}

.ev2s-summary {
    margin: 10px 0 0;
    font-size: 15px;
    line-height: 1.45;
    color: var(--ev2s-muted);
}

.ev2s-summary-st.is-exp {
    color: #dc2626 !important;
    font-weight: 600;
}

.ev2s-summary-st.is-soon {
    color: #c2410c !important;
    font-weight: 600;
}

[data-theme="dark"] .ev2s-summary-st.is-exp {
    color: #f87171 !important;
}

[data-theme="dark"] .ev2s-summary-st.is-soon {
    color: #fbbf24 !important;
}

.ev2s-tagline {
    margin: 10px 0 0;
    max-width: 640px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--ev2s-text-2);
}

.ev2s-tagline a {
    color: var(--ev2s-accent) !important;
    font-weight: 600;
}

.ev2s-tagline--muted {
    margin-top: 4px;
    color: var(--ev2s-muted);
}

.ev2s-promo {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 0 1 610px;
    min-width: 0;
    padding: 18px 20px 18px 18px;
    border-radius: 16px;
    background: linear-gradient(100deg, #fff3ef 0%, #ffebe5 100%);
    border: 1px solid rgba(236, 67, 32, .1);
    color: var(--ev2s-text) !important;
    transition: transform .2s cubic-bezier(.2, .8, .2, 1), box-shadow .2s ease;
}

.ev2s-promo-ic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 6px 16px rgba(236, 67, 32, .14);
}

.ev2s-promo-ic i {
    color: var(--ev2s-accent) !important;
    font-size: 25px;
    animation: ev2s-beat 2.6s ease-in-out infinite;
}

@keyframes ev2s-beat {
    0%, 60%, 100% { transform: scale(1); }
    68% { transform: scale(1.18); }
    76% { transform: scale(1); }
    84% { transform: scale(1.12); }
}

.ev2s-promo-txt {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1 1 auto;
    min-width: 0;
}

.ev2s-promo-txt strong {
    font-size: 16px;
    font-weight: 700;
    color: var(--ev2s-text);
}

.ev2s-promo-txt > span {
    font-size: 14px;
    line-height: 1.45;
    color: var(--ev2s-text-2);
}

.ev2s-promo-chev {
    flex: none;
    font-size: 13px;
    color: var(--ev2s-accent) !important;
    transition: transform .2s ease;
}

.ev2s-promo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex: none;
    height: 50px;
    padding: 0 24px;
    border-radius: 13px;
    background: var(--ev2s-grad);
    color: #fff !important;
    font-size: 15.5px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(236, 67, 32, .3), inset 0 1px 0 rgba(255, 255, 255, .18);
}

.ev2s-promo-btn i {
    color: #fff !important;
    font-size: 13px;
    transition: transform .2s ease;
}

@media (hover: hover) {
    .ev2s-promo:hover {
        transform: translateY(-1px);
        box-shadow: 0 10px 24px rgba(236, 67, 32, .12);
    }

    .ev2s-promo:hover .ev2s-promo-btn i,
    .ev2s-promo:hover .ev2s-promo-chev {
        transform: translateX(3px);
    }
}

.ev2s-promo:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(236, 67, 32, .35);
}

[data-theme="dark"] .ev2s-promo {
    background: linear-gradient(135deg, rgba(244, 81, 30, .16) 0%, rgba(229, 57, 53, .12) 100%);
    border-color: rgba(239, 68, 68, .28);
}

[data-theme="dark"] .ev2s-promo-ic {
    background: #313745;
    box-shadow: none;
}

[data-theme="dark"] .ev2s-promo-ic i {
    color: #f87171 !important;
}

[data-theme="dark"] .ev2s-hello,
[data-theme="dark"] .ev2s-hello span,
[data-theme="dark"] .ev2s-summary,
[data-theme="dark"] .ev2s-tagline--muted {
    color: var(--ev2s-muted) !important;
}

[data-theme="dark"] .ev2s-tagline a {
    color: #f87171 !important;
}

/* ---------- Hero: road illustration (index) ---------- */

/* --ev2s-car-x: where the car sits, as a share of the hero width. The greeting
   stops before it and the scene fades in towards it. */
.ev2s-hero--road {
    container-type: inline-size;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ev2s-hero-art,
.ev2s-hero--road .ev2s-hero-row {
    --ev2s-car-x: 57%;
}

.ev2s-hero--road .ev2s-hero-row {
    z-index: 1;
    flex-direction: row;
    align-items: center;
}

.ev2s-hero--road .ev2s-hero-hi {
    max-width: calc(var(--ev2s-car-x) - 100px);
}

.ev2s-hero-art {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(90deg, transparent calc(var(--ev2s-car-x) - 330px), #000 calc(var(--ev2s-car-x) - 130px), #000 calc(var(--ev2s-car-x) + 90px), transparent calc(var(--ev2s-car-x) + 200px));
    mask-image: linear-gradient(90deg, transparent calc(var(--ev2s-car-x) - 330px), #000 calc(var(--ev2s-car-x) - 130px), #000 calc(var(--ev2s-car-x) + 90px), transparent calc(var(--ev2s-car-x) + 200px));
}

/* Scene and car share this box, so car positions are in image percentages.
   66% / 80% of the image is the middle of the right lane. */
.ev2s-hero-stage {
    position: absolute;
    top: 50%;
    left: var(--ev2s-car-x);
    height: 240px;
    aspect-ratio: 1200 / 472;
    transform: translate(-66%, -54%);
}

.ev2s-hero-scene {
    position: absolute;
    inset: 0;
    background: url("../img/hero/hero-road.webp") center / 100% 100% no-repeat;
    transform-origin: 66% 80%;
    animation: ev2s-push 26s ease-in-out infinite alternate;
}

@keyframes ev2s-push {
    from { transform: scale(1); }
    to { transform: scale(1.05); }
}

.ev2s-hero-car {
    position: absolute;
    left: 57%;
    bottom: 20%;
    width: 18%;
    aspect-ratio: 280 / 241;
    animation:
        ev2s-car-in 1.6s cubic-bezier(.16, .84, .3, 1) .15s both,
        ev2s-car-sway 9s ease-in-out 1.8s infinite;
}

.ev2s-hero-car::before {
    content: "";
    position: absolute;
    left: 2%;
    right: 2%;
    bottom: -5%;
    height: 14%;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(15, 23, 42, .28), transparent);
}

.ev2s-hero-car-body {
    position: absolute;
    inset: 0;
    background: url("../img/hero/hero-car.webp") center / contain no-repeat;
    animation: ev2s-car-bob .7s ease-in-out infinite alternate;
}

/* Brake lights */
.ev2s-hero-car-body::before,
.ev2s-hero-car-body::after {
    content: "";
    position: absolute;
    top: 25%;
    width: 34%;
    height: 24%;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(255, 64, 48, .85), rgba(255, 64, 48, 0));
    mix-blend-mode: screen;
    opacity: 0;
    animation: ev2s-brake 8s ease-in-out 3s infinite;
}

.ev2s-hero-car-body::before {
    left: -1%;
}

.ev2s-hero-car-body::after {
    right: -1%;
}

@keyframes ev2s-car-in {
    from {
        opacity: 0;
        transform: translate(8%, 60%) scale(1.8);
    }
    35% {
        opacity: 1;
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes ev2s-car-sway {
    0%, 100% { translate: 0 0; }
    30% { translate: 5% -1%; rotate: .4deg; }
    65% { translate: -4% .5%; rotate: -.3deg; }
}

@keyframes ev2s-car-bob {
    from { transform: translateY(0); }
    to { transform: translateY(-1.4%); }
}

@keyframes ev2s-brake {
    0%, 70%, 100% { opacity: 0; }
    74%, 86% { opacity: 1; }
}

.ev2s-hero--road .ev2s-hello,
.ev2s-hero--road .ev2s-name,
.ev2s-hero--road .ev2s-summary,
.ev2s-hero--road .ev2s-tagline {
    text-shadow: 0 0 14px var(--ev2s-card), 0 0 4px var(--ev2s-card);
}

[data-theme="dark"] .ev2s-hero-scene {
    background-image: url("../img/hero/hero-road-dark.webp");
}

[data-theme="dark"] .ev2s-hero-car-body {
    filter: brightness(.82) saturate(.9);
}

[data-theme="dark"] .ev2s-hero-car::before {
    background: radial-gradient(closest-side, rgba(0, 0, 0, .5), transparent);
}

[data-theme="dark"] .ev2s-hero-car-body::before,
[data-theme="dark"] .ev2s-hero-car-body::after {
    animation-name: ev2s-brake-dusk;
}

@keyframes ev2s-brake-dusk {
    0%, 70%, 100% { opacity: .45; }
    74%, 86% { opacity: 1; }
}

/* Compact promo card floating over the road */
.ev2s-promo.ev2s-promo--mini {
    flex: 0 0 auto;
    width: 300px;
    max-width: 100%;
    flex-wrap: nowrap;
    gap: 14px;
    padding: 14px 16px 14px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .86);
    border: 1px solid rgba(15, 23, 42, .06);
    box-shadow: 0 10px 28px rgba(31, 58, 110, .12);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.ev2s-promo--mini .ev2s-promo-ic {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    box-shadow: 0 4px 14px rgba(236, 67, 32, .16);
}

.ev2s-promo-shield {
    width: 24px;
    height: 24px;
}

.ev2s-promo--mini .ev2s-promo-txt {
    flex: 1 1 auto;
    gap: 2px;
}

.ev2s-promo--mini .ev2s-promo-txt strong {
    font-size: 15px;
}

.ev2s-promo--mini .ev2s-promo-txt > span {
    font-size: 12.5px;
    line-height: 1.4;
    color: var(--ev2s-muted);
}

.ev2s-promo--mini .ev2s-promo-txt b {
    color: var(--ev2s-accent);
    font-weight: 700;
    white-space: nowrap;
}

.ev2s-promo--mini .ev2s-promo-chev {
    display: inline-block;
}

@media (hover: hover) {
    .ev2s-promo.ev2s-promo--mini:hover {
        box-shadow: 0 14px 32px rgba(31, 58, 110, .16);
    }
}

[data-theme="dark"] .ev2s-promo.ev2s-promo--mini {
    background: rgba(38, 43, 54, .82);
    border-color: rgba(255, 255, 255, .08);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .35);
}

[data-theme="dark"] .ev2s-promo--mini .ev2s-promo-txt b {
    color: #f87171;
}

@container (max-width: 960px) {
    .ev2s-hero-art,
    .ev2s-hero--road .ev2s-hero-row {
        --ev2s-car-x: calc(100% - 420px);
    }
}

/* Phone-only pieces: status tiles and the road inside the RCA card */
.ev2s-stats,
.ev2s-promo-art {
    display: none;
}

.ev2s-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ev2s-stat {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
    padding: 11px 10px;
    border-radius: 14px;
    background: var(--ev2s-card);
    border: 1px solid var(--ev2s-border);
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}

.ev2s-stat > i {
    flex: none;
    margin-top: 2px;
    font-size: 17px;
}

.ev2s-stat.is-exp > i {
    color: var(--ev2s-accent) !important;
}

.ev2s-stat.is-soon > i {
    color: var(--ev2s-nav) !important;
}

.ev2s-stat.is-ok > i {
    color: var(--ev2s-ok-ic) !important;
}

.ev2s-stat > span {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.ev2s-stat b {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--ev2s-text);
}

.ev2s-stat-l {
    margin-top: 2px;
    font-size: 11.5px;
    line-height: 1.3;
    color: var(--ev2s-muted);
}

.ev2s-promo-art {
    --ev2s-car-x: calc(100% - 54px);
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(90deg, transparent calc(100% - 180px), #000 calc(100% - 100px));
    mask-image: linear-gradient(90deg, transparent calc(100% - 180px), #000 calc(100% - 100px));
}

.ev2s-promo-art .ev2s-hero-stage {
    height: 132px;
    transform: translate(-66%, -60%);
}

/* Narrow: greeting, status tiles, then the RCA card with the road in it */
@container (max-width: 760px) {
    .ev2s-hero-art {
        display: none;
    }

    .ev2s-hero--road .ev2s-hero-hi {
        max-width: none;
    }

    .ev2s-hero--road .ev2s-hero-row {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .ev2s-stats:not([hidden]) {
        display: grid;
    }

    /* The tiles carry the status, the line above keeps only the car count */
    .ev2s-hero--road .ev2s-hero-row:has(.ev2s-stats:not([hidden])) .ev2s-summary-st:not(.is-wait) {
        display: none;
    }

    .ev2s-promo.ev2s-promo--mini {
        position: relative;
        overflow: hidden;
        width: auto;
        min-height: 80px;
        padding-right: 104px;
        background: linear-gradient(100deg, #fff1eb 0%, #fff6f2 55%, #fffaf8 100%);
        border-color: rgba(236, 67, 32, .1);
        box-shadow: none;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    .ev2s-promo--mini .ev2s-promo-art {
        display: block;
    }

    .ev2s-promo--mini .ev2s-promo-ic,
    .ev2s-promo--mini .ev2s-promo-txt {
        position: relative;
    }

    .ev2s-promo--mini .ev2s-promo-chev {
        display: none;
    }

    [data-theme="dark"] .ev2s-promo.ev2s-promo--mini {
        background: linear-gradient(100deg, rgba(244, 81, 30, .14) 0%, rgba(38, 43, 54, .9) 100%);
        border-color: rgba(239, 68, 68, .2);
        box-shadow: none;
    }
}

/* Small phones: tile label goes under icon + number, card gets tighter */
@container (max-width: 340px) {
    .ev2s-stat {
        display: grid;
        grid-template-columns: auto 1fr;
        align-items: center;
        gap: 4px 7px;
        padding: 10px 9px;
    }

    .ev2s-stat > i {
        margin-top: 0;
        font-size: 15px;
    }

    .ev2s-stat > span {
        display: contents;
    }

    .ev2s-stat-l {
        grid-column: 1 / -1;
    }

    .ev2s-promo.ev2s-promo--mini {
        gap: 12px;
        padding-left: 12px;
        padding-right: 88px;
    }

    .ev2s-promo--mini .ev2s-promo-ic {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 768px) {
    .ev2-shell .listamasini {
        margin-top: 0;
    }

    .ev2-shell .app-nav-item.active {
        color: var(--ev2s-accent);
    }

    .ev2-shell .app-nav-item.active .app-nav-icon {
        background: rgba(236, 67, 32, .1);
    }
}

/* ---------- Side cards: notifications, app ---------- */

.ev2s-card.ev2s-tint {
    padding: 12px;
}

.ev2s-tint-in {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 18px;
    border-radius: 15px;
    color: var(--ev2s-text) !important;
}

.ev2s-notif .ev2s-tint-in {
    background: var(--ev2s-blue-tint);
    transition: box-shadow .2s ease;
}

.ev2s-app .ev2s-tint-in {
    align-items: center;
    gap: 14px;
    padding: 18px 12px;
    background: linear-gradient(135deg, #fff4f0 0%, #ffece6 100%);
}

[data-theme="dark"] .ev2s-app .ev2s-tint-in {
    background: var(--ev2s-peach-tint);
}

.ev2s-tint-ic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 68px;
    height: 68px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .85);
    box-shadow: 0 8px 20px rgba(31, 111, 229, .12);
}

.ev2s-tint-ic i {
    font-size: 30px;
    background: linear-gradient(180deg, #4a9bff 0%, #1f6fe5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
}

[data-theme="dark"] .ev2s-tint-ic {
    background: rgba(255, 255, 255, .08);
    box-shadow: none;
}

.ev2s-tint-txt {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
}

.ev2s-tint-title,
.ev2s-tint-txt h2 {
    margin: 0;
    font-family: var(--ev2s-font);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.3;
    color: #13254a;
}

.ev2s-app .ev2s-tint-txt h2 {
    color: #3b1408;
}

[data-theme="dark"] .ev2s-tint-title,
[data-theme="dark"] .ev2s-app .ev2s-tint-txt h2 {
    color: var(--ev2s-text);
}

.ev2s-tint-p,
.ev2s-tint-txt p {
    margin: 6px 0 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--ev2s-text-2);
}

.ev2s-tint-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    color: var(--ev2s-blue) !important;
    font-size: 14.5px;
    font-weight: 700;
}

.ev2s-tint-link i {
    color: inherit !important;
    transition: transform .2s ease;
}

@media (hover: hover) {
    .ev2s-notif .ev2s-tint-in:hover {
        box-shadow: inset 0 0 0 1px rgba(31, 111, 229, .18);
    }

    .ev2s-notif .ev2s-tint-in:hover .ev2s-tint-link i {
        transform: translateX(3px);
    }
}

.ev2s-tint-in:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(31, 111, 229, .35);
}

/* Phone with the QR code (scanned from a computer) */
.ev2s-phone {
    position: relative;
    z-index: 1;
    display: block;
    flex: none;
    width: 74px;
    height: 140px;
    padding: 5px;
    border-radius: 20px;
    background: #1b1d22;
    box-shadow: 0 14px 26px rgba(59, 20, 8, .2), inset 0 0 0 1.5px #3a3d44;
    transform: rotate(-8deg);
    transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}

.ev2s-phone::before {
    content: "";
    position: absolute;
    top: 9px;
    left: 50%;
    z-index: 1;
    width: 22px;
    height: 5px;
    border-radius: 3px;
    background: #1b1d22;
    transform: translateX(-50%);
}

.ev2s-phone-screen {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    background: #fff;
}

.ev2s-qr-frame {
    position: relative;
    display: block;
    width: 54px;
    height: 54px;
    padding: 4px;
    color: #0f172a;
    background:
        linear-gradient(#0f172a, #0f172a) top left / 10px 2px,
        linear-gradient(#0f172a, #0f172a) top left / 2px 10px,
        linear-gradient(#0f172a, #0f172a) top right / 10px 2px,
        linear-gradient(#0f172a, #0f172a) top right / 2px 10px,
        linear-gradient(#0f172a, #0f172a) bottom left / 10px 2px,
        linear-gradient(#0f172a, #0f172a) bottom left / 2px 10px,
        linear-gradient(#0f172a, #0f172a) bottom right / 10px 2px,
        linear-gradient(#0f172a, #0f172a) bottom right / 2px 10px;
    background-repeat: no-repeat;
}

.ev2s-qr {
    display: block;
    width: 100%;
    height: 100%;
    shape-rendering: crispEdges;
}

@media (hover: hover) and (pointer: fine) {
    .ev2s-phone:hover,
    .ev2s-phone:focus-visible {
        transform: rotate(0) scale(1.7) translateX(10px);
        outline: none;
    }
}

.ev2s-stores {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 14px;
}

.ev2s-store-slot {
    flex: 0 0 auto;
    min-width: 0;
}

.ev2s-store {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    padding: 0 10px 0 8px;
    border-radius: 10px;
    background: #0b0b0c;
    border: 1px solid #0b0b0c;
    color: #fff !important;
    transition: transform .15s ease, box-shadow .2s ease;
}

.ev2s-store i {
    flex: none;
    font-size: 20px;
    color: #fff !important;
}

.ev2s-gp {
    flex: none;
    width: 17px;
    height: 19px;
}

.ev2s-store span {
    display: flex;
    flex-direction: column;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -.01em;
    color: #fff !important;
    white-space: nowrap;
}

.ev2s-store small {
    font-size: 8.5px;
    font-weight: 500;
    letter-spacing: 0;
    color: rgba(255, 255, 255, .85) !important;
}

[data-theme="dark"] .ev2s-store {
    border-color: #3a4150;
}

@media (hover: hover) {
    .ev2s-store:hover {
        transform: translateY(-1px);
        box-shadow: 0 8px 18px rgba(16, 24, 40, .22);
    }
}

/* ---------- Cards ("Ajutor rapid", app) ---------- */

.ev2-shell .ev2s-help-area {
    margin-top: 0;
}

.ev2-shell .ev2s-name #welcome-signal {
    font-size: inherit;
}

.ev2s-card {
    background: var(--ev2s-card);
    border-radius: 18px;
    box-shadow: var(--ev2s-shadow);
    padding: 22px;
    margin-bottom: var(--ev2s-gap);
}

.ev2s-card h2 {
    margin: 0;
    font-family: var(--ev2s-font);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -.01em;
    color: var(--ev2s-text);
}

.ev2s-card-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.ev2s-card-head p {
    margin: 3px 0 0;
    font-size: 14px;
    line-height: 1.45;
    color: var(--ev2s-muted);
}

.ev2s-head-ic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--ev2s-tint);
}

.ev2s-head-ic i {
    color: var(--ev2s-accent) !important;
    font-size: 20px;
}

[data-theme="dark"] .ev2s-card-head p,
[data-theme="dark"] .ev2s-tint-txt p,
[data-theme="dark"] .ev2s-tint-p {
    color: var(--ev2s-muted) !important;
}

[data-theme="dark"] .ev2s-head-ic i {
    color: #f87171 !important;
}

/* FAQ */
.ev2s-faq {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ev2s-faq-item {
    border: 1px solid var(--ev2s-border);
    border-radius: 16px;
    background: var(--ev2s-card);
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.ev2s-faq-item[open]:not(.is-closing) {
    border-color: rgba(229, 57, 53, .22);
    box-shadow: 0 6px 18px rgba(16, 24, 40, .06);
}

.ev2s-faq-item > summary {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    list-style: none;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    border-radius: 16px;
}

.ev2s-faq-item > summary::-webkit-details-marker {
    display: none;
}

.ev2s-faq-item > summary:focus {
    outline: none;
}

.ev2s-faq-item > summary:focus-visible {
    box-shadow: 0 0 0 3px rgba(229, 57, 53, .35);
}

.ev2s-faq-ic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--ev2s-soft);
    transition: background-color .2s ease, box-shadow .2s ease;
}

.ev2s-faq-ic i {
    color: var(--ev2s-text-2) !important;
    font-size: 15px;
    transition: color .2s ease;
}

.ev2s-faq-item[open]:not(.is-closing) .ev2s-faq-ic {
    background: var(--ev2s-grad);
    box-shadow: 0 4px 10px rgba(229, 57, 53, .28);
}

.ev2s-faq-item[open]:not(.is-closing) .ev2s-faq-ic i {
    color: #fff !important;
}

.ev2s-faq-q {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--ev2s-text);
}

.ev2s-faq-chev {
    flex: none;
    font-size: 13px;
    color: var(--ev2s-faint) !important;
    transition: transform .28s cubic-bezier(.2, .8, .2, 1);
}

.ev2s-faq-item[open]:not(.is-closing) .ev2s-faq-chev {
    transform: rotate(180deg);
}

@media (hover: hover) {
    .ev2s-faq-item:not([open]):hover {
        border-color: var(--ev2s-soft-2);
        background: #fbfbfc;
    }

    [data-theme="dark"] .ev2s-faq-item:not([open]):hover {
        background: #2b313d;
    }
}

.ev2s-faq-a {
    padding: 0 18px 16px 62px;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--ev2s-text-2);
}

.ev2s-faq-a p {
    margin: 0 0 10px;
    color: inherit;
}

.ev2s-faq-a > :last-child {
    margin-bottom: 0;
}

.ev2s-faq-a b,
.ev2s-faq-a strong,
.ev2s-faq-sign {
    color: var(--ev2s-text);
    font-weight: 700;
}

.ev2s-mark {
    display: inline-block;
    padding: 0 8px;
    border-radius: 999px;
    font-weight: 700;
    line-height: 1.6;
}

.ev2s-mark.is-warn {
    background: var(--ev2s-warn-bg);
    color: var(--ev2s-warn-fg);
}

.ev2s-mark.is-exp {
    background: var(--ev2s-exp-bg);
    color: var(--ev2s-exp-fg);
}

[data-theme="dark"] .ev2s-mark.is-warn {
    color: var(--ev2s-warn-fg) !important;
}

[data-theme="dark"] .ev2s-mark.is-exp {
    color: var(--ev2s-exp-fg) !important;
}

/* Color legend: same tiles as the car list */
.ev2s-legend {
    display: grid;
    gap: 10px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

.ev2s-legend li {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ev2s-swatch {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    flex: none;
    width: 60px;
    height: 52px;
    border-radius: 12px;
}

.ev2s-swatch b {
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
}

.ev2s-swatch i {
    font-size: 12px;
}

/* Same solid fills as the tiles in masini-v2.css */
.ev2s-swatch b {
    color: #fff !important;
}

.ev2s-swatch i {
    color: rgba(255, 255, 255, .88) !important;
}

.ev2s-swatch.is-ok {
    background: #4fa13a;
}

.ev2s-swatch.is-warn {
    background: #ec8209;
}

.ev2s-swatch.is-exp {
    background: #e02d2d;
}

.ev2s-swatch.is-missing {
    background: #e4e8ef;
}

.ev2s-swatch.is-missing b {
    color: #334155 !important;
}

.ev2s-swatch.is-missing i {
    color: #64748b !important;
}

[data-theme="dark"] .ev2s-swatch.is-missing { background: #3a4150; }
[data-theme="dark"] .ev2s-swatch.is-missing b { color: #e2e8f0 !important; }
[data-theme="dark"] .ev2s-swatch.is-missing i { color: #a3adbd !important; }

[data-theme="dark"] .ev2s-swatch.is-ok { background: #3d8a2b; }
[data-theme="dark"] .ev2s-swatch.is-warn { background: #c86e08; }
[data-theme="dark"] .ev2s-swatch.is-exp { background: #c42626; }

.ev2s-swatch.is-missing b {
    font-size: 12px;
    letter-spacing: .02em;
}

/* Contact + account deletion */
.ev2s-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--ev2s-border);
}

.ev2s-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--ev2s-soft);
    color: var(--ev2s-text-2) !important;
    font-size: 14px;
    font-weight: 600;
    transition: background-color .2s ease, color .2s ease;
}

.ev2s-chip i {
    color: var(--ev2s-accent) !important;
    font-size: 15px;
}

.ev2s-chip .fa-facebook {
    color: #1877f2 !important;
}

.ev2s-chip.is-wa i {
    color: #22c55e !important;
}

@media (hover: hover) {
    .ev2s-chip:hover {
        background: var(--ev2s-soft-2);
        color: var(--ev2s-text) !important;
    }
}

.ev2s-chip:focus-visible,
.ev2s-del:focus-visible,
.ev2s-btn:focus-visible,
.ev2s-store:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(229, 57, 53, .35);
}

.ev2s-danger {
    margin-top: 14px;
}

.ev2s-del {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 4px;
    border: 0;
    border-radius: 8px;
    background: none;
    color: #dc2626;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    opacity: .9;
    transition: opacity .2s ease;
}

.ev2s-del i {
    color: inherit !important;
    font-size: 13px;
}

@media (hover: hover) {
    .ev2s-del:hover {
        opacity: 1;
    }
}

[data-theme="dark"] .ev2s-del {
    color: #f87171 !important;
}

.ev2s-confirm {
    margin-top: 10px;
    padding: 14px 16px;
    border-radius: 14px;
    background: var(--ev2s-exp-bg);
}

.ev2s-confirm p {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ev2s-text);
}

.ev2s-confirm-btns {
    display: flex;
    gap: 8px;
}

.ev2s-btn {
    height: 38px;
    min-width: 72px;
    padding: 0 18px;
    border: 1px solid var(--ev2s-border);
    border-radius: 11px;
    background: var(--ev2s-card);
    color: var(--ev2s-text);
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.ev2s-btn.is-danger {
    border-color: transparent;
    background: #dc2626;
    color: #fff;
}

.ev2s-btn:disabled {
    opacity: .6;
    cursor: default;
}

/* ---------- Footer ---------- */

.ev2s-footer {
    padding: 4px 0 28px;
}

.ev2s-foot {
    position: relative;
    overflow: hidden;
    background: var(--ev2s-card);
    border-radius: 22px;
    box-shadow: var(--ev2s-shadow);
    padding: 26px 28px 18px;
}

.ev2s-foot::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--ev2s-grad);
}

.ev2s-foot-top {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px 32px;
}

.ev2s-foot-brand .ev2s-logo img {
    height: 30px;
}

.ev2s-foot-brand p {
    margin: 10px 0 0;
    max-width: 360px;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--ev2s-muted);
}

.ev2s-foot-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
}

.ev2s-foot-links a {
    color: var(--ev2s-text-2) !important;
    font-size: 14px;
    font-weight: 600;
    transition: color .2s ease;
}

@media (hover: hover) {
    .ev2s-foot-links a:hover {
        color: var(--ev2s-accent) !important;
    }
}

.ev2s-foot-anpc {
    justify-self: end;
    line-height: 0;
}

.ev2s-foot-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 6px 16px;
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px solid var(--ev2s-border);
    font-size: 13px;
    color: var(--ev2s-muted);
}

.ev2s-foot-bottom a {
    color: var(--ev2s-accent) !important;
    font-weight: 600;
}

[data-theme="dark"] .ev2s-foot-brand p,
[data-theme="dark"] .ev2s-foot-bottom,
[data-theme="dark"] .ev2s-foot-bottom span {
    color: var(--ev2s-muted) !important;
}

[data-theme="dark"] .ev2s-foot-bottom a {
    color: #f87171 !important;
}

.ev2s-foot-bottom a.ev2s-foot-classic {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ev2s-muted) !important;
    font-weight: 500;
    text-decoration: none;
}

.ev2s-foot-bottom a.ev2s-foot-classic:hover {
    color: var(--ev2s-text) !important;
}

[data-theme="dark"] .ev2s-foot-bottom a.ev2s-foot-classic,
[data-theme="dark"] .ev2s-foot-bottom a.ev2s-foot-classic i {
    color: var(--ev2s-muted) !important;
}

/* ---------- "Adaugă maşină" card (fields from includes/masini_form.php) ---------- */

/* !important on the fields: theme.css forces .form-control colors in dark mode */

.ev2-shell .ev2s-add-col {
    margin-top: 0 !important;
}

.ev2s-add {
    --ev2s-field-h: 50px;
}

.ev2s-add h2 {
    font-size: 19px;
}

.ev2s-add-lead {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 14px 0 18px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--ev2s-text-2);
}

.ev2s-add-lead i {
    flex: none;
    width: 24px;
    font-size: 19px;
    text-align: center;
    color: var(--ev2s-nav) !important;
}

[data-theme="dark"] .ev2s-add-lead {
    color: var(--ev2s-muted);
}

.ev2s-add .ev2s-card-head {
    align-items: flex-start;
}

.ev2s-add .ev2s-card-head a,
.ev2s-add .field-terms a {
    color: var(--ev2s-accent) !important;
    font-weight: 600;
}

[data-theme="dark"] .ev2s-add {
    color-scheme: dark;
}

[data-theme="dark"] .ev2s-add .ev2s-card-head a,
[data-theme="dark"] .ev2s-add .field-terms a {
    color: #f87171 !important;
}

.ev2s-add .contact-form-int {
    margin-top: 0;
}

.ev2s-add .form-group.ic-cmp-int {
    position: relative;
    display: block;
    width: 100%;
    margin: 0 0 12px;
}

.ev2s-add .nk-int-st {
    display: block;
    margin: 0 !important;
}

.ev2s-add .nk-int-st::after {
    display: none !important;
}

.ev2s-add fieldset {
    margin: 0;
    padding: 0;
    border: 0;
}

.ev2s-add .ic-cmp-int > .form-ic-cmp {
    position: absolute;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: var(--ev2s-field-h);
    padding: 0;
    pointer-events: none;
}

.ev2s-add .ic-cmp-int > .form-ic-cmp:first-child {
    left: 0;
}

.ev2s-add .ic-cmp-int > .form-ic-cmp:last-child {
    right: 0;
}

.ev2s-add .ic-cmp-int > .form-ic-cmp i {
    position: static;
    font-size: 16px;
    line-height: 1;
    color: var(--ev2s-faint) !important;
}

.ev2s-add .nk-int-st .form-control {
    width: 100%;
    height: var(--ev2s-field-h);
    padding: 0 42px 0 46px !important;
    border: 1px solid var(--ev2s-border) !important;
    border-radius: 14px !important;
    background: var(--ev2s-soft) !important;
    color: var(--ev2s-text) !important;
    font-family: var(--ev2s-font);
    font-size: 16px;
    font-weight: 500;
    box-shadow: none !important;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.ev2s-add .form-control::placeholder {
    color: var(--ev2s-faint) !important;
    font-weight: 400;
}

.ev2s-add .form-control:focus {
    outline: none;
    border-color: rgba(229, 57, 53, .5) !important;
    background: var(--ev2s-card) !important;
    box-shadow: 0 0 0 4px rgba(229, 57, 53, .12) !important;
}

.ev2s-add .contact-form-int .form-control.is-valid {
    border-color: var(--ev2s-ok-ic) !important;
    box-shadow: none !important;
}

.ev2s-add .contact-form-int .form-control.is-invalid {
    border-color: var(--ev2s-exp-fg) !important;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, .12) !important;
}

.ev2s-add .form-error-inline {
    margin: 6px 0 0;
    padding: 0 4px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
}

.ev2s-add .form-error-inline i {
    margin-right: 5px;
}

.ev2s-add .form-error-inline span {
    color: inherit !important;
}

/* Number plate: EU strip */
.ev2s-add .field-plate {
    --ev2s-field-h: 56px;
}

.ev2s-add .field-plate > .form-ic-cmp:first-child {
    top: 1px;
    left: 1px;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: calc(var(--ev2s-field-h) - 2px);
    padding: 9px 0 7px;
    border-radius: 11px 0 0 11px;
    background: linear-gradient(180deg, #2a7bf0 0%, #1a63d6 100%);
}

.ev2s-add .field-plate > .form-ic-cmp:first-child i {
    display: none;
}

.ev2s-add .field-plate > .form-ic-cmp:first-child::before {
    content: "";
    width: 17px;
    height: 17px;
    border: 2px dotted #ffd84a;
    border-radius: 50%;
}

.ev2s-add .field-plate > .form-ic-cmp:first-child::after {
    content: "RO";
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .04em;
}

.ev2s-add #inmatriculare {
    padding: 0 14px 0 48px !important;
    border: 1px solid #dfe4ee !important;
    border-radius: 12px !important;
    background: var(--ev2s-card) !important;
    color: var(--ev2s-text) !important;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.ev2s-add #inmatriculare::placeholder {
    color: #8a94a8 !important;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
}

.ev2s-add #inmatriculare:focus {
    border-color: rgba(31, 111, 229, .55) !important;
    box-shadow: 0 0 0 4px rgba(31, 111, 229, .12) !important;
}

.ev2s-add .contact-form-int #inmatriculare.is-valid {
    border-color: #16a34a !important;
    box-shadow: 0 0 0 4px rgba(22, 163, 74, .12) !important;
}

.ev2s-add .contact-form-int #inmatriculare.is-invalid {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, .14) !important;
}

[data-theme="dark"] .ev2s-add #inmatriculare {
    border-color: var(--ev2s-border) !important;
    background: var(--ev2s-soft) !important;
}

/* Persoană fizică / Firmă: segmented control */
.ev2s-add .form-group.tippers {
    display: flex;
    gap: 4px;
    padding: 4px;
    border-radius: 14px;
    background: var(--ev2s-soft);
}

.ev2s-add .tippers > .form-ic-cmp {
    display: none;
}

.ev2s-add .tippers .fm-checkbox {
    flex: 1 1 0;
    margin: 0;
}

.ev2s-add .tippers label {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    margin: 0;
    padding: 0 10px;
    border-radius: 11px;
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--ev2s-muted);
    text-align: center;
    cursor: pointer;
    transition: color .2s ease;
}

.ev2s-add .tippers input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ev2s-add .tippers label i {
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    transition: background-color .2s ease, box-shadow .2s ease;
}

.ev2s-add .tippers input:checked + i {
    background: var(--ev2s-card);
    box-shadow: var(--ev2s-shadow);
}

.ev2s-add .tippers input:focus-visible + i {
    box-shadow: 0 0 0 3px rgba(229, 57, 53, .35);
}

.ev2s-add .tippers label:has(input:checked) {
    color: var(--ev2s-text);
}

[data-theme="dark"] .ev2s-add .form-group.tippers {
    background: rgba(0, 0, 0, .22);
}

[data-theme="dark"] .ev2s-add .tippers input:checked + i {
    background: var(--ev2s-soft-2);
}

/* CUI lookup result */
.ev2s-add #companyFoundDisplay {
    margin: 0 0 12px;
    padding: 12px 14px;
    border: 0;
    border-radius: 14px;
    background: var(--ev2s-ok-bg);
}

.ev2s-add #companyFoundDisplay .company-label {
    font-size: 12px;
    font-weight: 600;
    opacity: 1;
    color: var(--ev2s-text-2);
}

.ev2s-add #companyFoundDisplay .company-label i {
    color: var(--ev2s-ok-ic) !important;
}

.ev2s-add #companyFoundDisplay #companyFoundName {
    color: var(--ev2s-text);
}

/* Terms */
.ev2s-add .field-terms {
    margin: 4px 0 0 !important;
}

.ev2s-add .field-terms > .form-ic-cmp {
    display: none;
}

.ev2s-add .field-terms input[type="checkbox"] {
    flex: none;
    accent-color: var(--ev2s-accent);
    cursor: pointer;
}

.ev2s-add .field-terms label {
    font-size: 14px;
    font-weight: 500;
    color: var(--ev2s-text-2);
    cursor: pointer;
}

/* Submit */
.ev2s-add .contact-btn {
    margin-top: 14px !important;
}

.ev2s-add .contact-btn #sendexec {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 50px;
    margin: 0;
    padding: 0 20px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(180deg, #f2532c 0%, #e8431f 100%);
    color: #fff !important;
    font-family: var(--ev2s-font);
    font-size: 16px !important;
    font-weight: 700;
    letter-spacing: .01em;
    box-shadow: 0 6px 14px rgba(236, 67, 32, .24), inset 0 1px 0 rgba(255, 255, 255, .16);
    transition: transform .15s ease, box-shadow .2s ease, filter .2s ease, opacity .2s ease;
}

.ev2s-add--guest .contact-btn #sendexec::after {
    content: "\f061";
    font-family: "Font Awesome 7 Free";
    font-size: 15px;
    font-weight: 900;
    transition: transform .2s ease;
}

@media (hover: hover) {
    .ev2s-add .contact-btn #sendexec:hover {
        filter: brightness(1.05);
        transform: none;
        box-shadow: 0 10px 22px rgba(229, 57, 53, .4), inset 0 1px 0 rgba(255, 255, 255, .18);
    }

    .ev2s-add--guest .contact-btn #sendexec:hover::after {
        transform: translateX(3px);
    }
}

.ev2s-add .contact-btn #sendexec:active {
    transform: translateY(1px) scale(.99);
}

.ev2s-add .contact-btn #sendexec:focus {
    outline: none;
}

.ev2s-add .contact-btn #sendexec:focus-visible {
    box-shadow: 0 0 0 3px var(--ev2s-card), 0 0 0 6px rgba(229, 57, 53, .45);
}

.ev2s-add .contact-btn #sendexec:disabled {
    opacity: .7;
    cursor: progress;
    filter: none;
}

.ev2s-add-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 12px 0 0;
    font-size: 13px;
    color: var(--ev2s-muted);
}

.ev2s-add-note i {
    color: var(--ev2s-faint) !important;
    font-size: 13px;
}

/* Footer lines up with the layout above it */
.ev2-shell .ev2s-footer {
    padding-top: var(--ev2s-gap);
}

.ev2-shell .ev2s-footer > .container {
    width: auto !important;
    max-width: 1648px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 24px;
    padding-right: 24px;
}

/* ---------- Responsive ---------- */

@media (min-width: 1440px) {
    .ev2-shell {
        --ev2s-gap: 20px;
        --ev2s-rail-w: 380px;
    }

    .ev2s-layout,
    .ev2s-top {
        padding-left: 28px;
        padding-right: 28px;
    }

    .ev2-shell .ev2s-footer > .container {
        padding-left: 28px;
        padding-right: 28px;
    }
}

@media (max-width: 1365px) {
    .ev2-shell {
        --ev2s-side-w: 188px;
        --ev2s-rail-w: 330px;
    }

    .ev2s-find {
        width: 280px;
    }

    .ev2s-promo-txt > span {
        font-size: 13.5px;
    }

    .ev2s-notif .ev2s-tint-in {
        gap: 14px;
        padding: 18px 14px;
    }

    .ev2s-tint-ic {
        width: 54px;
        height: 54px;
        border-radius: 15px;
    }

    .ev2s-tint-ic i {
        font-size: 24px;
    }

    .ev2s-tint-link {
        font-size: 14px;
    }
}

/* Promo button drops under the text when the hero gets narrow */
@media (max-width: 1365px) and (min-width: 1200px), (max-width: 1060px) {
    .ev2s-hero .ev2s-name {
        font-size: 30px;
    }

    .ev2s-promo {
        flex-basis: 470px;
        flex-wrap: wrap;
        gap: 12px 16px;
    }

    .ev2s-promo-txt {
        flex: 1 1 calc(100% - 100px);
    }

    .ev2s-promo-chev {
        display: none;
    }

    .ev2s-promo-btn {
        flex: 1 1 100%;
        height: 44px;
    }
}

/* Icon-only sidebar */
@media (max-width: 1199px) and (min-width: 769px) {
    .ev2-shell {
        --ev2s-side-w: 76px;
        --ev2s-rail-w: 300px;
    }

    .ev2-shell .ev2s-side-nav {
        padding: 10px 8px;
    }

    .ev2-shell .ev2s-side .app-nav-item {
        flex-direction: column;
        gap: 6px;
        padding: 11px 2px 9px;
        text-align: center;
    }

    .ev2-shell .ev2s-side .app-nav-label {
        width: 100%;
        font-size: 11px;
        font-weight: 600;
    }

    .ev2s-find {
        width: 240px;
        margin-right: 6px;
    }

    /* Add card on top (one line), list, then the two info cards side by side */
    .ev2s-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ev2s-grid > .ev2s-main,
    .ev2s-grid > .ev2s-grid-full {
        grid-column: 1 / -1;
    }

    .ev2s-grid > .ev2s-grid-full {
        order: -2;
    }

    .ev2s-grid > .ev2s-rail {
        display: contents;
    }

    .ev2s-rail > * {
        grid-column: 1 / -1;
    }

    .ev2s-rail > .ev2s-add {
        order: -1;
    }

    .ev2s-rail > .ev2s-tint {
        grid-column: auto;
        align-self: stretch;
    }

    .ev2s-rail > .ev2s-tint:only-of-type {
        grid-column: 1 / -1;
    }

    .ev2s-tint .ev2s-tint-in {
        height: 100%;
    }

    .ev2s-rail > .ev2s-add .contact-form-int {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 0 12px;
        align-items: start;
    }

    .ev2s-rail > .ev2s-add .contact-form-int > * {
        grid-column: 1 / -1;
    }

    .ev2s-rail > .ev2s-add .contact-form-int > .field-plate {
        grid-column: 1;
        margin-bottom: 0;
    }

    .ev2s-rail > .ev2s-add .contact-form-int > .contact-btn {
        grid-column: 2;
        grid-row: 1;
        margin-top: 0 !important;
    }

    .ev2s-rail > .ev2s-add .contact-btn #sendexec {
        height: 56px;
        padding: 0 28px;
    }

    .ev2s-add-lead {
        margin: 8px 0 14px;
    }
}

@media (max-width: 860px) {
    .ev2s-find {
        display: none;
    }
}

@media (max-width: 1060px) {
    .ev2s-hero-row {
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
    }

    .ev2s-promo {
        flex-basis: auto;
        flex-wrap: nowrap;
    }

    .ev2s-promo-txt {
        flex: 1 1 auto;
    }

    .ev2s-promo-btn {
        flex: none;
    }
}

@media (max-width: 991px) {
    .ev2s-foot-top {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .ev2s-foot-links {
        grid-column: 1 / -1;
        grid-row: 2;
    }
}

@media (max-width: 768px) {
    .ev2-shell {
        --ev2s-top-h: 56px;
        --ev2s-gap: 12px;
    }

    .ev2s-top {
        padding: env(safe-area-inset-top, 0px) 0 0;
        background: var(--ev2s-card);
        box-shadow: 0 1px 0 var(--ev2s-border);
    }

    .ev2s-top-in {
        padding: 0 calc(12px + env(safe-area-inset-right, 0px)) 0 calc(14px + env(safe-area-inset-left, 0px));
        border-radius: 0;
        box-shadow: none;
    }

    .ev2s-layout {
        display: block;
        padding: var(--ev2s-gap) calc(12px + env(safe-area-inset-right, 0px)) 0 calc(12px + env(safe-area-inset-left, 0px));
    }

    .ev2s-top-sep,
    .ev2s-user-chev {
        display: none;
    }

    .ev2s-user {
        padding: 0 2px;
    }

    .ev2s-user-name {
        display: none;
    }

    .ev2s-avatar {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }

    .ev2s-panel {
        position: fixed;
        top: calc(var(--ev2s-top-h) + env(safe-area-inset-top, 0px) + 8px);
        right: 10px;
        left: 10px;
        width: auto;
        max-width: none;
    }

    .ev2-shell .ev2s-help-area {
        margin-top: 0;
    }

    .ev2s-logo img {
        height: 27px;
    }

    .ev2s-top-link span {
        display: none;
    }

    .ev2s-top-link {
        width: 40px;
        padding: 0;
        justify-content: center;
    }

    .ev2s-top-link i {
        font-size: 18px;
    }

    .ev2s-hero {
        padding: 18px 16px;
        border-radius: 18px;
    }

    .ev2s-hello {
        font-size: 15px;
    }

    .ev2s-hero .ev2s-name {
        font-size: 26px;
    }

    .ev2s-summary {
        margin-top: 6px;
        font-size: 14px;
    }

    .ev2s-hero-row {
        gap: 14px;
    }

    .ev2s-promo {
        flex-wrap: wrap;
        padding: 14px;
    }

    .ev2s-promo-ic {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }

    .ev2s-promo-ic i {
        font-size: 21px;
    }

    .ev2s-promo-txt {
        flex: 1 1 calc(100% - 64px);
    }

    .ev2s-promo-txt strong {
        font-size: 15px;
    }

    .ev2s-promo-btn {
        flex: 1 1 100%;
    }

    .ev2s-card {
        padding: 18px 16px;
        border-radius: 18px;
        margin-bottom: var(--ev2s-gap);
    }

    .ev2s-card.ev2s-tint {
        padding: 10px;
    }

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

    .ev2s-faq-a {
        padding: 0 16px 16px;
    }

    .ev2-shell .ev2s-footer > .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .ev2s-foot {
        padding: 22px 18px 16px;
        border-radius: 18px;
    }

    .ev2s-foot-top {
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        text-align: center;
    }

    .ev2s-foot-brand p {
        margin-left: auto;
        margin-right: auto;
    }

    .ev2s-foot-links {
        grid-row: auto;
        justify-content: center;
    }

    .ev2s-foot-anpc {
        justify-self: center;
    }

    .ev2s-foot-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 420px) {
    .ev2s-tint-in {
        gap: 14px;
        padding: 16px 14px;
    }

    .ev2s-tint-ic {
        width: 54px;
        height: 54px;
        border-radius: 15px;
    }

    .ev2s-tint-ic i {
        font-size: 24px;
    }

    .ev2s-phone {
        width: 70px;
        height: 128px;
    }

    .ev2s-qr-frame {
        width: 50px;
        height: 50px;
    }

    .ev2s-store {
        height: 40px;
        padding: 0 10px 0 8px;
    }

    .ev2s-store span {
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ev2s-top *,
    .ev2s-hero *,
    .ev2s-card *,
    .ev2s-footer *,
    .ev2s-hero-car-body::before,
    .ev2s-hero-car-body::after {
        animation: none !important;
        transition: none !important;
    }
}
