:root {
    --sv-mobile-bar-h: 52px;
    --sv-bg: #09101E;
    --sv-bg2: #0F1829;
    --sv-bg3: #152035;
    --sv-gold: #C9A84C;
    --sv-gold-light: #E8C878;
    --sv-gold-dim: rgba(201,168,76,0.15);
    --sv-text: #EDF0F7;
    --sv-muted: #8A93AA;
    --sv-border: rgba(255,255,255,0.08);
    --sv-border-gold: rgba(201,168,76,0.3);
}

body.infopro-savitarna {
    margin: 0;
    padding: 0;
    background: var(--sv-bg);
    color: var(--sv-text);
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 15px;
    line-height: 1.65;
    min-height: 100vh;
}

body.infopro-savitarna * { box-sizing: border-box; }

body.infopro-savitarna a { color: var(--sv-gold); text-decoration: none; }
body.infopro-savitarna a:hover { color: var(--sv-gold-light); }

.sv-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ─── LOGIN ─── */
.sv-login-body {
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at top, #152035 0%, #09101E 60%);
}

.sv-login-wrap { width: 100%; max-width: 460px; padding: 40px 20px; }

.sv-login-card {
    background: var(--sv-bg2);
    border: 1px solid var(--sv-border);
    border-radius: 18px;
    padding: 44px 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.sv-logo {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 24px;
    text-align: center;
    margin-bottom: 28px;
    letter-spacing: -0.5px;
}
.sv-logo span { color: var(--sv-gold); }

.sv-login-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 6px;
}
.sv-login-sub {
    text-align: center;
    color: var(--sv-muted);
    font-size: 14px;
    margin-bottom: 28px;
}

.sv-form { display: flex; flex-direction: column; }

.sv-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--sv-muted);
    font-weight: 600;
    margin-bottom: 6px;
    margin-top: 14px;
}

.sv-input {
    background: var(--sv-bg);
    border: 1px solid var(--sv-border);
    color: var(--sv-text);
    border-radius: 10px;
    padding: 13px 16px;
    font-size: 15px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}
.sv-input:focus { border-color: var(--sv-gold); }

.sv-btn {
    margin-top: 24px;
    background: var(--sv-gold);
    color: #1a1408;
    border: none;
    border-radius: 10px;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s;
}
.sv-btn:hover { background: var(--sv-gold-light); }

.sv-error {
    background: rgba(220,60,60,0.12);
    color: #ff8888;
    border: 1px solid rgba(220,60,60,0.3);
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 13px;
    margin-bottom: 18px;
}

.sv-login-foot {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--sv-border);
    font-size: 13px;
    color: var(--sv-muted);
    text-align: center;
    line-height: 1.7;
}

.sv-link { color: var(--sv-gold); }

/* ─── APP ─── */
.sv-app-body { background: var(--sv-bg); }

body.infopro-savitarna.sv-nav-drawer-open {
    overflow: hidden;
    overscroll-behavior: none;
}

.sv-app {
    min-height: 100vh;
    min-height: 100dvh;
}

.sv-app-inner {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 100vh;
    min-height: 100dvh;
    align-items: stretch;
}

.sv-mobile-bar,
.sv-nav-backdrop {
    display: none;
}

.sv-sidebar {
    background: var(--sv-bg3);
    border-right: 1px solid var(--sv-border);
    padding: 24px 18px 18px;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
}

.sv-sidebar .sv-logo { flex-shrink: 0; }

.sv-sidebar .sv-logo {
    text-align: left;
    font-size: 20px;
    margin-bottom: 32px;
    padding: 0 10px;
}

.sv-nav {
    list-style: none;
    margin: 0;
    padding: 0 0 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.15) transparent;
}
.sv-nav::-webkit-scrollbar { width: 6px; }
.sv-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 6px; }
.sv-nav::-webkit-scrollbar-track { background: transparent; }

.sv-nav-section {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--sv-muted);
    font-weight: 700;
    padding: 14px 14px 6px;
    margin-top: 8px;
}

.sv-nav-divider {
    height: 1px;
    background: var(--sv-border);
    margin: 10px 6px;
    list-style: none;
}

.sv-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 14px;
    color: var(--sv-muted);
    cursor: pointer;
    transition: all 0.15s;
    border: 1px solid transparent;
    line-height: 1.3;
}
.sv-nav-item:hover {
    color: var(--sv-text);
    background: rgba(255,255,255,0.04);
}
.sv-nav-item.active {
    background: var(--sv-gold-dim);
    color: var(--sv-gold);
    border-color: var(--sv-border-gold);
}

.sv-nav-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    flex-shrink: 0;
}
.sv-nav-icon svg {
    width: 18px; height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.sv-nav-label { flex: 1; }

.sv-nav-badge {
    background: var(--sv-gold);
    color: #1a1408;
    font-size: 11px;
    font-weight: 700;
    border-radius: 100px;
    padding: 2px 8px;
    min-width: 22px;
    text-align: center;
}

.sv-nav-service .sv-nav-icon svg { stroke: var(--sv-gold); }
.sv-nav-service.active .sv-nav-icon svg { stroke: var(--sv-gold); }

/* Profile block */
.sv-profile {
    margin-top: 14px;
    flex-shrink: 0;
    padding: 14px 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--sv-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.sv-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--sv-gold-dim);
    border: 1px solid var(--sv-border-gold);
    color: var(--sv-gold);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sv-profile-info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.sv-profile-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--sv-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sv-profile-company {
    font-size: 11px;
    color: var(--sv-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sv-profile-logout {
    width: 32px; height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sv-muted) !important;
    flex-shrink: 0;
    transition: all 0.15s;
}
.sv-profile-logout:hover {
    background: rgba(255,255,255,0.06);
    color: var(--sv-gold) !important;
}
.sv-profile-logout svg {
    width: 16px; height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

/* Main */
.sv-main {
    padding: 48px 56px;
    max-width: 1280px;
    width: 100%;
}

.sv-greeting {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 28px 0;
    letter-spacing: -0.5px;
}

.sv-block {
    background: var(--sv-bg2);
    border: 1px solid var(--sv-border);
    border-radius: 14px;
    padding: 24px 28px;
    margin-bottom: 20px;
}
.sv-block.sv-block-flat {
    background: transparent;
    border: 0;
    padding: 0;
}
.sv-block.sv-block-flat .sv-block-title { margin-bottom: 12px; }

.sv-block-title {
    font-size: 12px;
    color: var(--sv-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 700;
    margin-bottom: 16px;
}

/* Info table */
.sv-info-table {
    display: flex;
    flex-direction: column;
}

.sv-info-row {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 20px;
    padding: 14px 0;
    border-bottom: 1px solid var(--sv-border);
    align-items: center;
}
.sv-info-row:first-child { padding-top: 0; }
.sv-info-row:last-child { padding-bottom: 0; border-bottom: none; }

.sv-info-lbl {
    font-size: 14px;
    color: var(--sv-muted);
    font-weight: 500;
}

.sv-info-val {
    font-size: 15px;
    color: var(--sv-text);
    font-weight: 500;
}

.sv-muted { color: var(--sv-muted); font-style: italic; }

.sv-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--sv-gold-dim);
    border: 1px solid var(--sv-border-gold);
    color: var(--sv-gold) !important;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
}
.sv-link-btn:hover { background: rgba(201,168,76,0.25); }

/* Pinned */
.sv-pinned {
    background: linear-gradient(135deg, rgba(201,168,76,0.14), rgba(201,168,76,0.04));
    border: 1px solid var(--sv-border-gold);
    border-radius: 14px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px;
}
.sv-pinned-icon { font-size: 26px; }
.sv-pinned-body { flex: 1; }
.sv-pinned-title { font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.sv-pinned-sub { font-size: 13px; color: var(--sv-muted); }

/* Services list */
.sv-services {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sv-service-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: var(--sv-bg);
    border: 1px solid var(--sv-border);
    border-radius: 12px;
}

.sv-service-icon {
    width: 36px; height: 36px;
    background: var(--sv-gold-dim);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.sv-service-icon svg { width: 18px; height: 18px; stroke: var(--sv-gold); fill: none; stroke-width: 2; }

.sv-service-name {
    flex: 1;
    font-weight: 600;
    color: var(--sv-text);
    font-size: 15px;
}

/* Service detail page header */
.sv-service-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}
.sv-service-header-icon {
    width: 56px; height: 56px;
    background: var(--sv-gold-dim);
    border: 1px solid var(--sv-border-gold);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.sv-service-header-icon svg { width: 28px; height: 28px; stroke: var(--sv-gold); fill: none; stroke-width: 2; }

.sv-status {
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 100px;
    font-weight: 600;
    letter-spacing: 0.3px;
    border: 1px solid transparent;
    display: inline-block;
    line-height: 1.4;
}

.sv-status-active {
    background: rgba(40,180,120,0.15);
    color: #28B478;
    border-color: rgba(40,180,120,0.3);
}
.sv-status-pending {
    background: rgba(201,168,76,0.15);
    color: var(--sv-gold);
    border-color: var(--sv-border-gold);
}
.sv-status-paused {
    background: rgba(140,140,140,0.15);
    color: #999;
    border-color: rgba(140,140,140,0.3);
}
.sv-status-default {
    background: rgba(100,150,220,0.15);
    color: #6BA3E8;
    border-color: rgba(100,150,220,0.3);
}

.sv-empty {
    background: var(--sv-bg2);
    border: 1px dashed var(--sv-border);
    border-radius: 12px;
    padding: 22px;
    text-align: center;
    color: var(--sv-muted);
    font-size: 14px;
}
.sv-empty-large {
    padding: 48px 22px;
    font-size: 15px;
    line-height: 1.8;
}

.sv-prose {
    color: var(--sv-text);
    font-size: 15px;
    line-height: 1.75;
}
.sv-prose p { margin: 0 0 12px; }
.sv-prose p:last-child { margin-bottom: 0; }

.sv-note {
    color: var(--sv-muted);
    font-size: 13px;
    font-style: italic;
    margin: 14px 0 0;
}

/* Assistant */
.sv-assistant {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.sv-assistant-avatar {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: var(--sv-gold-dim);
    border: 1px solid var(--sv-border-gold);
    color: var(--sv-gold);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sv-assistant-body { flex: 1; }
.sv-assistant-name {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}

.sv-assistant-rows {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 14px;
}
.sv-assistant-line {
    font-size: 14px;
    color: var(--sv-text);
}
.sv-assistant-lbl {
    color: var(--sv-muted);
    margin-right: 6px;
}
.sv-assistant-hours {
    font-size: 13px;
    color: var(--sv-muted);
    line-height: 1.7;
    padding-top: 12px;
    border-top: 1px solid var(--sv-border);
}

/* Invoice */
.sv-invoice {
    background: var(--sv-bg);
    border: 1px solid var(--sv-border);
    border-radius: 12px;
    padding: 20px 22px;
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
.sv-invoice-title { font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.sv-invoice-sub { font-size: 13px; color: var(--sv-muted); }
.sv-invoice-amount {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: var(--sv-gold);
    margin-left: auto;
}
.sv-invoice-alert {
    background: linear-gradient(135deg, rgba(201,168,76,0.12), rgba(201,168,76,0.03));
    border: 1px solid var(--sv-border-gold);
    border-radius: 14px;
    padding: 18px 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.sv-invoice-alert.is-late {
    background: linear-gradient(135deg, rgba(188,36,36,0.16), rgba(188,36,36,0.04));
    border-color: rgba(188,36,36,0.5);
}
.sv-invoice-alert.is-late .sv-invoice-alert-title { color: #ff6b6b; }
.sv-invoice-alert.is-late .sv-invoice-alert-icon {
    color: #ff6b6b;
    background: rgba(188,36,36,0.18);
    border-color: rgba(188,36,36,0.45);
}
.sv-invoice-alert-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--sv-gold);
    background: rgba(201,168,76,0.15);
    border: 1px solid var(--sv-border-gold);
}
.sv-invoice-alert-body {
    flex: 1 1 240px;
    min-width: 0;
}
.sv-invoice-alert-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--sv-text);
}
.sv-invoice-alert-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
    color: var(--sv-muted);
    font-size: 13px;
}
.sv-invoice-alert-amount {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 18px;
    color: var(--sv-gold-light);
}
.sv-invoice-alert.is-late .sv-invoice-alert-amount { color: #ff8a8a; }
.sv-invoice-alert-btn { flex: 0 0 auto; }
@media (max-width: 600px) {
    .sv-invoice-alert-btn { width: 100%; text-align: center; }
}
.sv-table-wrap { overflow-x: auto; }
.sv-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 1040px;
    background: var(--sv-bg);
    border-radius: 12px;
    overflow: hidden;
}
body.infopro-savitarna .sv-invoices-table,
body.infopro-savitarna .sv-invoices-wrap,
body.infopro-savitarna .sv-invoices-table thead,
body.infopro-savitarna .sv-invoices-table tbody,
body.infopro-savitarna .sv-invoices-table tr,
body.infopro-savitarna .sv-invoices-table th,
body.infopro-savitarna .sv-invoices-table td {
    border: 0 !important;
    box-shadow: none !important;
    background-image: none !important;
}
body.infopro-savitarna .sv-invoices-table {
    min-width: 720px;
    border-radius: 0 !important;
    overflow: visible !important;
    background: transparent !important;
}
body.infopro-savitarna .sv-invoices-wrap { border-radius: 0; background: transparent; }
body.infopro-savitarna .sv-invoices-table th { background: transparent !important; padding-bottom: 14px; }
body.infopro-savitarna .sv-invoices-table td { padding-top: 16px; padding-bottom: 16px; background: transparent; }
body.infopro-savitarna .sv-invoices-table tbody tr:nth-child(even) td { background: rgba(255,255,255,0.015); }
body.infopro-savitarna .sv-invoices-table tbody tr:hover td { background: rgba(201,168,76,0.05); }
.sv-invoices-table .sv-col-amount { text-align: right; white-space: nowrap; }
.sv-invoices-table tbody tr.sv-row-late td { background: rgba(188,36,36,0.05); }
.sv-invoices-table tbody tr.sv-row-late:hover td { background: rgba(188,36,36,0.08); }
.sv-cell-strong { font-weight: 600; color: var(--sv-text); }
.sv-cell-sub { font-size: 12px; color: var(--sv-muted); margin-top: 2px; }
.sv-cell-late { color: #ff6b6b; font-weight: 600; }
.sv-amount {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
}
.sv-amount.is-paid { color: var(--sv-text); }
.sv-amount.is-unpaid { color: var(--sv-gold-light); }
.sv-table-status.is-late {
    color: #ff6b6b;
    background: rgba(188,36,36,0.18);
}
.sv-table th,
.sv-table td {
    border-bottom: 1px solid rgba(255,255,255,0.04);
    padding: 12px 14px;
    text-align: left;
    font-size: 13px;
    vertical-align: middle;
}
.sv-table th {
    color: var(--sv-muted);
    font-weight: 600;
    white-space: nowrap;
    background: rgba(255,255,255,0.015);
    font-size: 12px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.sv-table tbody tr:last-child td { border-bottom: none; }
.sv-table tbody tr:hover td { background: rgba(201,168,76,0.04); }
.sv-table th:nth-child(8),
.sv-table td:nth-child(8) {
    min-width: 140px;
    white-space: nowrap;
}
.sv-table-status {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 700;
}
.sv-table-status.is-paid {
    color: #4ade80;
    background: rgba(74,222,128,0.14);
}
.sv-table-status.is-unpaid {
    color: #ff7b7b;
    background: rgba(188,36,36,0.18);
}
.sv-table-btn {
    display: inline-block;
    background: var(--sv-gold);
    color: #1f1710;
    border-radius: 8px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}
.sv-table-btn:hover { background: var(--sv-gold-light); color: #1f1710; }
.sv-table-link {
    color: var(--sv-gold);
    font-weight: 600;
    text-decoration: none;
}
.sv-table-link:hover { text-decoration: underline; }

@media (max-width: 840px) {
    .sv-table {
        min-width: 940px;
    }
    .sv-invoices-table { min-width: 640px; }
}

.sv-table-wrap::-webkit-scrollbar {
    height: 10px;
}
.sv-table-wrap::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.06);
    border-radius: 999px;
}
.sv-table-wrap::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #c9a84c, #e2c36d);
    border-radius: 999px;
}
.sv-table-wrap {
    scrollbar-color: #c9a84c rgba(255,255,255,0.06);
    scrollbar-width: thin;
}

/* Apžvalga grid */
.sv-grid-2 {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}
.sv-grid-2 > .sv-block { margin-bottom: 0; }

/* Clickable service row */
.sv-service-clickable {
    cursor: pointer;
    transition: border-color 0.15s, transform 0.15s, background 0.15s;
}
.sv-service-clickable:hover {
    border-color: var(--sv-border-gold);
    background: rgba(201,168,76,0.04);
}
.sv-service-clickable:focus {
    outline: 2px solid var(--sv-gold);
    outline-offset: 2px;
}
.sv-service-arrow {
    color: var(--sv-muted);
    font-size: 22px;
    line-height: 1;
    margin-left: 4px;
    transition: transform 0.15s, color 0.15s;
}
.sv-service-clickable:hover .sv-service-arrow {
    color: var(--sv-gold);
    transform: translateX(3px);
}

/* Siauresni ekranai: aiškus tinklelis (pavadinimas + statusas po juo, rodyklė dešinėje) */
@media (max-width: 1200px) {
    .sv-service-clickable.sv-service-row {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr) 26px;
        grid-template-rows: auto auto;
        grid-template-areas:
            'icon name arrow'
            'icon status arrow';
        align-items: center;
        column-gap: 12px;
        row-gap: 6px;
    }
    .sv-service-clickable .sv-service-icon {
        grid-area: icon;
        align-self: center;
    }
    .sv-service-clickable .sv-service-name {
        grid-area: name;
        min-width: 0;
        align-self: end;
    }
    .sv-service-clickable .sv-status {
        grid-area: status;
        justify-self: start;
        align-self: start;
        margin-left: 0;
    }
    .sv-service-clickable .sv-service-arrow {
        grid-area: arrow;
        align-self: center;
        justify-self: end;
        margin-left: 0;
        line-height: 1;
    }
}

/* Notifications — compact list + modal */
.sv-notif-list--rows {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--sv-border);
    border-radius: 14px;
    overflow: hidden;
    background: var(--sv-bg2);
    width: 100%;
    max-width: min(1180px, 100%);
}
.sv-notif-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    text-align: left;
    padding: 18px 22px;
    border: none;
    border-bottom: 1px solid var(--sv-border);
    background: transparent;
    color: var(--sv-text);
    font-family: inherit;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.18s, border-color 0.18s;
}
.sv-notif-row:last-child {
    border-bottom: none;
}
.sv-notif-row:hover {
    background: rgba(201,168,76,0.06);
}
.sv-notif-row:focus {
    outline: none;
    box-shadow: inset 0 0 0 2px var(--sv-gold);
}
.sv-notif-row-main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    min-width: 0;
    flex: 1;
}
.sv-notif-row-subject {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: var(--sv-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}
.sv-notif-row-time {
    font-size: 12px;
    color: var(--sv-muted);
}
.sv-notif-row-status {
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(40, 180, 120, 0.12);
    color: #1a7a52;
    border: 1px solid rgba(40, 180, 120, 0.28);
}
.sv-notif-row-status.is-unread {
    background: rgba(201, 168, 76, 0.14);
    color: #6b5a18;
    border-color: rgba(201, 168, 76, 0.38);
}
.sv-notif-row--unread .sv-notif-row-subject::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 10px;
    vertical-align: middle;
    background: var(--sv-gold);
    border-radius: 50%;
    animation: sv-pulse 2s infinite;
}
@keyframes sv-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.45; }
}

/* Notification modal (centered) */
.sv-notif-modal {
    position: fixed;
    inset: 0;
    z-index: 10060;
    display: none;
    align-items: center;
    justify-content: center;
    padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
}
.sv-notif-modal.open {
    display: flex;
}
.sv-notif-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(12, 14, 22, 0.72);
    backdrop-filter: blur(5px);
}
.sv-notif-modal-panel {
    position: relative;
    z-index: 1;
    width: min(680px, 100%);
    max-height: min(82vh, 720px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: var(--sv-bg2);
    border: 1px solid var(--sv-border);
    border-radius: 16px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
    animation: svNotifModalIn 0.22s ease-out;
}
@keyframes svNotifModalIn {
    from { transform: scale(0.96) translateY(8px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}
.sv-notif-modal-head {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 12px;
    padding: 20px 22px 10px;
}
.sv-notif-modal-title {
    flex: 1;
    margin: 0;
    padding-right: 8px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.125rem, 3vw, 1.35rem);
    font-weight: 700;
    line-height: 1.35;
    color: var(--sv-text);
}
.sv-notif-modal-close {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    margin: -4px -8px 0 0;
    border-radius: 10px;
    border: 1px solid var(--sv-border);
    background: var(--sv-bg3);
    color: var(--sv-text);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s;
}
.sv-notif-modal-close:hover {
    border-color: var(--sv-border-gold);
    color: var(--sv-gold);
}
.sv-notif-modal-time {
    display: block;
    padding: 0 22px 14px;
    font-size: 12px;
    color: var(--sv-muted);
}
.sv-notif-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 0 22px 20px;
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--sv-text);
    -webkit-overflow-scrolling: touch;
}

/* Imported blocks / pasted HTML often ship light-grey boxes + monospace — force readable contrast on dark UI */
.sv-notif-modal-body .infopro-legacy-sep {
    margin: 1.25em 0;
    border: 0;
    border-top: 1px solid var(--sv-border);
}
.sv-notif-modal-body .infopro-legacy-label {
    margin: 0 0 0.75em;
    color: var(--sv-muted);
}
.sv-notif-modal-body .infopro-legacy-comment {
    margin: 0 0 12px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--sv-border);
    background: rgba(255, 255, 255, 0.06);
}
.sv-notif-modal-body .infopro-legacy-comment-meta {
    font-size: 12px;
    color: var(--sv-muted);
    margin-bottom: 8px;
}
.sv-notif-modal-body .infopro-legacy-comment-text {
    color: var(--sv-text);
    font-size: 14px;
    line-height: 1.65;
}
/* Older migrated rows still have inline #fafafa — override for dark theme */
.sv-notif-modal-body .infopro-legacy-comment[style] {
    background: rgba(255, 255, 255, 0.07) !important;
    border-color: var(--sv-border) !important;
}
.sv-notif-modal-body .infopro-legacy-comment[style] > div {
    color: var(--sv-text) !important;
}
.sv-notif-modal-body .infopro-legacy-comment[style] > div:first-child {
    color: var(--sv-muted) !important;
}

/* Pasted email HTML: white/light backgrounds with inherited light text */
.sv-notif-modal-body [style*="background:#fff"],
.sv-notif-modal-body [style*="background: #fff"],
.sv-notif-modal-body [style*="background:#fafafa"],
.sv-notif-modal-body [style*="background: #fafafa"],
.sv-notif-modal-body [style*="background:white"],
.sv-notif-modal-body [style*="background-color:#fff"],
.sv-notif-modal-body [style*="background-color: #fff"] {
    background: rgba(255, 255, 255, 0.09) !important;
    color: var(--sv-text) !important;
}

.sv-notif-modal-body pre,
.sv-notif-modal-body code,
.sv-notif-modal-body kbd,
.sv-notif-modal-body samp {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 13px;
    line-height: 1.5;
    background: rgba(0, 0, 0, 0.38) !important;
    color: #e8edf5 !important;
    border: 1px solid var(--sv-border);
    border-radius: 8px;
    padding: 10px 12px;
    overflow-x: auto;
}
.sv-notif-modal-body code {
    padding: 3px 7px;
    font-size: 12.5px;
}
.sv-notif-modal-body pre code {
    background: transparent !important;
    border: 0;
    padding: 0;
    color: inherit !important;
}
.sv-notif-modal-body p { margin: 0 0 10px; }
.sv-notif-modal-body p:last-child { margin-bottom: 0; }
.sv-notif-modal-foot {
    flex-shrink: 0;
    padding: 16px 22px 22px;
    border-top: 1px solid var(--sv-border);
    background: rgba(0, 0, 0, 0.02);
}

.sv-btn-done {
    background: var(--sv-gold);
    color: #1a1408;
    border: none;
    border-radius: 8px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s;
}
.sv-btn-done:hover { background: var(--sv-gold-light); }
.sv-btn-done:disabled { opacity: 0.6; cursor: wait; }
.sv-done-stamp {
    color: #28B478;
    font-size: 13px;
    font-weight: 600;
}

/* Consultations */
.sv-consult-remaining {
    font-size: 18px;
    color: var(--sv-text);
    margin-bottom: 12px;
}
.sv-consult-remaining strong {
    color: var(--sv-gold);
    font-size: 24px;
}
.sv-consult-upcoming {
    background: rgba(201,168,76,0.12);
    border: 1px solid var(--sv-border-gold);
    border-radius: 12px;
    padding: 12px 14px;
    margin: 12px 0 16px;
}
.sv-consult-book-btn {
    display: inline-flex;
    margin-top: 4px;
    cursor: pointer;
}
.sv-call-report-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.sv-call-report-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--sv-border);
    border-radius: 12px;
    overflow: hidden;
}
.sv-call-report-open {
    cursor: pointer;
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 13px 14px;
    color: var(--sv-text);
    background: transparent;
    border: none;
    font: inherit;
    text-align: left;
}
.sv-call-report-open:hover {
    background: rgba(255,255,255,0.04);
}
.sv-call-report-open small {
    color: var(--sv-muted);
    text-align: right;
}
.sv-call-report-meta {
    color: var(--sv-text);
    margin-bottom: 10px;
}
.sv-report-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: none;
}
.sv-report-modal.open {
    display: block;
}
body.infopro-savitarna .infopro-landing .booking-modal {
    z-index: 10055;
}
.sv-report-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.62);
    backdrop-filter: blur(4px);
}
.sv-report-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(520px, 92vw);
    height: 100%;
    overflow-y: auto;
    background: var(--sv-bg2);
    border-left: 1px solid var(--sv-border);
    box-shadow: -24px 0 80px rgba(0,0,0,0.35);
    padding: 34px 32px;
    animation: svPanelIn 0.2s ease-out;
}
.sv-report-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    border: 1px solid var(--sv-border);
    background: var(--sv-bg3);
    color: var(--sv-text);
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
}
.sv-report-close:hover {
    border-color: var(--sv-border-gold);
    color: var(--sv-gold);
}
.sv-report-panel-kicker {
    color: var(--sv-gold);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
}
.sv-report-panel h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 26px;
    margin: 0 46px 18px 0;
}
.sv-report-summary {
    color: var(--sv-muted);
    line-height: 1.75;
}
@keyframes svPanelIn {
    from { transform: translateX(24px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
.sv-call-report-todos-title {
    color: var(--sv-text);
    font-weight: 700;
    margin: 16px 0 8px;
}
.sv-consult-todos {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.sv-consult-todos li {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: start;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--sv-border);
    border-radius: 12px;
    padding: 12px 14px;
}
.sv-consult-todos li::before {
    content: "";
    width: 9px;
    height: 9px;
    border: 2px solid var(--sv-gold);
    border-radius: 50%;
    margin-top: 8px;
}
.sv-consult-todos li.is-done {
    opacity: 0.6;
}
.sv-consult-todos li.is-done span {
    text-decoration: line-through;
}
.sv-consult-todos small {
    color: var(--sv-muted);
    white-space: nowrap;
}

/* Website service blocks */
.sv-website-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.sv-website-url {
    flex: 1;
    background: var(--sv-bg);
    border: 1px solid var(--sv-border);
    border-radius: 8px;
    padding: 12px 16px;
    font-family: 'Outfit', monospace;
    color: var(--sv-text);
    font-size: 14px;
    word-break: break-all;
    min-width: 240px;
}

.sv-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}
.sv-stat-card {
    background: var(--sv-bg);
    border: 1px solid var(--sv-border);
    border-radius: 12px;
    padding: 18px 20px;
}
.sv-stat-label {
    font-size: 11px;
    color: var(--sv-muted);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-weight: 600;
    margin-bottom: 10px;
}
.sv-stat-val {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: var(--sv-text);
    line-height: 1;
}

/* Statistika svetainei: visa blokas tik ≥1024 px; mobiliuose – pranešimas */
.sv-analytics-mobile-notice {
    display: none;
}
.sv-analytics-mobile-notice-text {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: var(--sv-muted);
}

@media (max-width: 1023px) {
    .sv-analytics-pc-only {
        display: none !important;
    }
    .sv-analytics-mobile-notice {
        display: block;
    }
}

.sv-analytics.is-loading {
    opacity: 0.72;
    pointer-events: none;
}
.sv-analytics-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 16px;
}
.sv-analytics-head .sv-note {
    margin: 6px 0 0;
}
.sv-analytics-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}
.sv-range-btn {
    border: 1px solid var(--sv-border);
    background: var(--sv-bg);
    color: var(--sv-muted);
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}
.sv-range-btn:hover,
.sv-range-btn.active {
    color: var(--sv-text);
    border-color: var(--sv-border-gold);
    background: rgba(201,168,76,0.12);
}
.sv-custom-range {
    display: flex;
    gap: 10px;
    align-items: end;
    flex-wrap: wrap;
    margin-bottom: 16px;
    padding: 12px;
    border: 1px solid var(--sv-border);
    border-radius: 12px;
    background: var(--sv-bg);
}
.sv-custom-range label {
    color: var(--sv-muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.sv-custom-range input {
    display: block;
    margin-top: 6px;
    background: var(--sv-bg2);
    color: var(--sv-text);
    border: 1px solid var(--sv-border);
    border-radius: 8px;
    padding: 9px 10px;
}
.sv-analytics-charts {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
    gap: 14px;
    margin-top: 14px;
}
.sv-chart-card {
    background: var(--sv-bg);
    border: 1px solid var(--sv-border);
    border-radius: 12px;
    padding: 16px;
    min-height: 230px;
}
.sv-chart-title {
    font-size: 12px;
    color: var(--sv-muted);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-weight: 700;
    margin-bottom: 12px;
}
.sv-chart-empty {
    color: var(--sv-muted);
    font-size: 13px;
    padding: 54px 0;
    text-align: center;
}
.sv-chart-legend {
    display: flex;
    gap: 14px;
    color: var(--sv-muted);
    font-size: 12px;
    margin-bottom: 12px;
}
.sv-chart-legend span {
    display: flex;
    align-items: center;
    gap: 6px;
}
.sv-chart-legend i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}
.sv-chart-legend i.pageviews,
.sv-traffic-bar.pageviews {
    background: var(--sv-gold);
}
.sv-chart-legend i.visitors,
.sv-traffic-bar.visitors {
    background: #6BA3E8;
}
.sv-traffic-grid {
    height: 190px;
    display: flex;
    align-items: stretch;
    gap: 12px;
    overflow-x: auto;
    padding: 8px 4px 8px;
}
.sv-traffic-day {
    position: relative;
    min-width: 42px;
    flex: 1 0 42px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.sv-traffic-bars {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 5px;
    border-bottom: 1px solid var(--sv-border);
}
.sv-traffic-bar {
    width: 9px;
    min-height: 4px;
    border-radius: 6px 6px 0 0;
    opacity: 0.9;
    transition: transform 160ms ease, opacity 160ms ease;
}
.sv-traffic-day:hover .sv-traffic-bar {
    opacity: 1;
    transform: translateY(-2px);
}
.sv-traffic-label {
    color: var(--sv-muted);
    font-size: 11px;
    text-align: center;
    white-space: nowrap;
}
.sv-traffic-tooltip {
    position: absolute;
    left: 50%;
    top: 4px;
    transform: translate(-50%, 4px);
    z-index: 5;
    min-width: 150px;
    background: var(--sv-bg2);
    border: 1px solid var(--sv-border-gold);
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.28);
    padding: 10px 12px;
    color: var(--sv-text);
    font-size: 12px;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 140ms ease, transform 140ms ease, visibility 140ms ease;
}
.sv-traffic-tooltip strong,
.sv-traffic-tooltip span {
    display: flex;
    align-items: center;
    gap: 7px;
}
.sv-traffic-tooltip strong {
    margin-bottom: 6px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.sv-traffic-tooltip span {
    color: var(--sv-muted);
    margin-top: 4px;
}
.sv-traffic-tooltip i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}
.sv-traffic-tooltip i.pageviews { background: var(--sv-gold); }
.sv-traffic-tooltip i.visitors { background: #6BA3E8; }
.sv-traffic-day:hover .sv-traffic-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}
.sv-action-row {
    margin-bottom: 13px;
}
.sv-action-row:last-child {
    margin-bottom: 0;
}
.sv-action-row-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--sv-text);
    font-size: 13px;
    margin-bottom: 6px;
}
.sv-action-row-head strong {
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.sv-action-track {
    height: 9px;
    background: var(--sv-bg2);
    border: 1px solid var(--sv-border);
    border-radius: 999px;
    overflow: hidden;
}
.sv-action-track span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--sv-gold), #E3C86F);
    border-radius: inherit;
}

/* Updates feed */
.sv-updates {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}
.sv-update-item {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--sv-border);
}
.sv-update-item:first-child { padding-top: 0; }
.sv-update-item:last-child { padding-bottom: 0; border-bottom: none; }
.sv-update-dot {
    width: 8px;
    height: 8px;
    background: var(--sv-gold);
    border-radius: 50%;
    margin-top: 8px;
    flex-shrink: 0;
}
.sv-update-body { flex: 1; }
.sv-update-text {
    color: var(--sv-text);
    font-size: 14.5px;
    line-height: 1.65;
}
.sv-update-date {
    font-size: 12px;
    color: var(--sv-muted);
    margin-top: 4px;
}

/* ─── Settings form ─── */
.sv-settings-form {
    display: flex;
    flex-direction: column;
}

/* Respect HTML hidden: our display:flex rules would otherwise override the attribute */
.sv-sf-input-wrap[hidden],
.sv-password-fields[hidden],
.sv-settings-actions[hidden] {
    display: none !important;
}

/* ── Field row ── */
.sv-sf-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    align-items: center;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid var(--sv-border);
    position: relative;
}
.sv-sf-row:last-of-type { border-bottom: none; }

.sv-sf-lbl {
    font-size: 14px;
    color: var(--sv-muted);
    font-weight: 500;
    flex-shrink: 0;
}

.sv-sf-val {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    position: relative;
}

.sv-sf-text {
    font-size: 15px;
    color: var(--sv-text);
    font-weight: 500;
    min-width: 0;
    word-break: break-all;
}
.sv-sf-dots {
    letter-spacing: 3px;
    color: var(--sv-muted);
}

/* ── "Keisti" edit button — hidden until hover ── */
.sv-sf-edit-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    appearance: none;
    background: none;
    border: none;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    color: var(--sv-gold);
    padding: 4px 8px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.15s, background 0.15s;
    flex-shrink: 0;
}
.sv-sf-edit-btn svg { stroke: currentColor; flex-shrink: 0; }
.sv-sf-row:hover .sv-sf-edit-btn,
.sv-sf-row:focus-within .sv-sf-edit-btn {
    opacity: 1;
}
.sv-sf-edit-btn:hover { background: var(--sv-gold-dim); color: var(--sv-gold-light); }

/* ── Input wrap (hidden until editing) ── */
.sv-sf-input-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

/* ── When a row is in edit mode ── */
.sv-sf-row.is-editing .sv-sf-text,
.sv-sf-row.is-editing .sv-sf-edit-btn {
    display: none;
}

/* ── Cancel button ── */
.sv-sf-cancel {
    appearance: none;
    background: none;
    border: 1px solid var(--sv-border);
    color: var(--sv-muted);
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    padding: 9px 14px;
    border-radius: 9px;
    white-space: nowrap;
    transition: color 0.15s, border-color 0.15s;
    flex-shrink: 0;
}
.sv-sf-cancel:hover { color: var(--sv-text); border-color: rgba(255,255,255,0.2); }
.sv-sf-cancel--below {
    margin-top: 8px;
    align-self: flex-start;
}

/* ── Inputs inside the settings form ── */
.sv-settings-form .sv-input {
    background: var(--sv-bg3) !important;
    color: var(--sv-text) !important;
    border-color: rgba(255,255,255,0.14) !important;
    padding: 10px 14px;
    font-size: 14.5px;
    width: 100%;
    max-width: 400px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.sv-settings-form .sv-input::placeholder {
    color: rgba(138,147,170,0.45);
}
.sv-settings-form .sv-input:focus {
    border-color: var(--sv-gold) !important;
    box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
    outline: none;
}

/* ── Password expanded fields ── */
.sv-password-fields {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-top: 8px;
}
.sv-sf-pw-field {
    display: grid;
    grid-template-columns: 200px 1fr;
    align-items: center;
    gap: 20px;
    padding: 14px 0;
    border-bottom: 1px solid var(--sv-border);
}
.sv-sf-pw-field:first-child { padding-top: 4px; }
.sv-sf-pw-field:last-of-type { border-bottom: none; padding-bottom: 6px; }
.sv-sf-pw-field > span {
    font-size: 14px;
    color: var(--sv-muted);
    font-weight: 500;
}
.sv-sf-pw-field .sv-input { max-width: 340px; }

/* Password row — the whole val area becomes a column when open */
.sv-sf-row[data-password-card] .sv-sf-val {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
}
.sv-sf-row[data-password-card].is-editing .sv-sf-val {
    flex-direction: column;
    align-items: flex-start;
}
.sv-sf-row[data-password-card].is-editing > .sv-sf-lbl {
    align-self: flex-start;
    padding-top: 6px;
}

.sv-password-help {
    margin: 12px 0 0;
    padding: 11px 15px;
    background: rgba(255,255,255,0.025);
    border: 1px solid var(--sv-border);
    border-radius: 10px;
    color: var(--sv-muted);
    font-size: 13px;
    line-height: 1.65;
    width: 100%;
}

.sv-inline-link {
    appearance: none;
    background: none;
    border: 0;
    color: var(--sv-gold);
    cursor: pointer;
    font: inherit;
    font-size: inherit;
    padding: 0;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.sv-inline-link:hover { color: var(--sv-gold-light); }

/* ── Save actions bar ── */
.sv-settings-actions {
    margin-top: 20px;
    padding: 20px 22px;
    background: rgba(201,168,76,0.06);
    border: 1px solid var(--sv-border-gold);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sv-policy-check {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--sv-muted);
    font-size: 13px;
}
.sv-policy-check input {
    width: 15px;
    height: 15px;
    accent-color: var(--sv-gold);
    flex-shrink: 0;
    pointer-events: none;
}

.sv-btn--save {
    margin-top: 0 !important;
    width: 100%;
    padding: 15px 24px !important;
    font-size: 15px !important;
    background: var(--sv-gold) !important;
    color: #1a1408 !important;
    border: none !important;
    border-radius: 10px !important;
    cursor: pointer;
}
.sv-btn--save:hover { background: var(--sv-gold-light) !important; }
.sv-btn--save:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.sv-settings-status {
    font-size: 13px;
    line-height: 1.5;
}
.sv-settings-status:empty { display: none; }
.sv-settings-status.success { color: #7EE0A2; }
.sv-settings-status.error   { color: #ff8888; }

@media (max-width: 1100px) {
    .sv-grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
    .sv-mobile-bar {
        display: flex;
        align-items: center;
        gap: 10px;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 10001;
        min-height: calc(var(--sv-mobile-bar-h) + env(safe-area-inset-top, 0px));
        padding: 8px 12px;
        padding-top: max(8px, env(safe-area-inset-top));
        padding-left: max(12px, env(safe-area-inset-left));
        padding-right: max(12px, env(safe-area-inset-right));
        background: rgba(15, 24, 41, 0.92);
        border-bottom: 1px solid var(--sv-border);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }
    .sv-mobile-menu-btn {
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        margin: 0;
        padding: 0;
        border: 1px solid var(--sv-border);
        border-radius: 12px;
        background: var(--sv-bg3);
        color: var(--sv-text);
        cursor: pointer;
        touch-action: manipulation;
        transition: border-color 0.15s, color 0.15s, background 0.15s;
    }
    .sv-mobile-menu-btn:hover,
    .sv-app.nav-open .sv-mobile-menu-btn {
        border-color: var(--sv-border-gold);
        color: var(--sv-gold);
        background: rgba(201, 168, 76, 0.08);
    }
    .sv-mobile-bar-center {
        flex: 1;
        min-width: 0;
        text-align: center;
    }
    .sv-mobile-bar-kicker {
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: var(--sv-muted);
        line-height: 1.2;
    }
    .sv-mobile-bar-title {
        font-family: 'Plus Jakarta Sans', sans-serif;
        font-size: 16px;
        font-weight: 700;
        letter-spacing: -0.3px;
        color: var(--sv-text);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.25;
        margin-top: 2px;
    }
    .sv-mobile-bar-spacer {
        width: 44px;
        flex-shrink: 0;
    }
    .sv-nav-backdrop {
        display: none;
        position: fixed;
        top: calc(var(--sv-mobile-bar-h) + env(safe-area-inset-top, 0px));
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 10000;
        background: rgba(5, 8, 14, 0.55);
        backdrop-filter: blur(2px);
        -webkit-tap-highlight-color: transparent;
    }
    .sv-app.nav-open .sv-nav-backdrop:not([hidden]) {
        display: block;
    }

    .sv-app-inner {
        display: block;
        min-height: 100vh;
        min-height: 100dvh;
    }
    .sv-sidebar {
        position: fixed;
        top: calc(var(--sv-mobile-bar-h) + env(safe-area-inset-top, 0px));
        left: 0;
        bottom: 0;
        width: min(302px, calc(100vw - 48px));
        max-width: 100%;
        height: auto;
        z-index: 10002;
        transform: translateX(-105%);
        transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: none;
        border-right: 1px solid var(--sv-border);
        border-bottom: none;
        padding: 16px 14px 18px;
        padding-bottom: max(18px, env(safe-area-inset-bottom));
        overflow: hidden;
        display: flex;
        flex-direction: column;
        background: var(--sv-bg3);
    }
    .sv-app.nav-open .sv-sidebar {
        transform: translateX(0);
        box-shadow: 20px 0 50px rgba(0, 0, 0, 0.35);
    }
    .sv-sidebar .sv-logo {
        font-size: 18px;
        margin-bottom: 18px;
        padding: 0 8px;
    }
    .sv-nav {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 3px;
        padding-bottom: 8px;
    }
    .sv-nav-section {
        display: block;
        padding: 12px 14px 4px;
        margin-top: 4px;
    }
    .sv-nav-divider {
        display: list-item;
        margin: 8px 6px;
    }
    .sv-nav-item {
        min-height: 48px;
        padding: 10px 14px;
        touch-action: manipulation;
    }
    .sv-profile {
        margin-top: 10px;
        flex-shrink: 0;
    }
    .sv-main {
        padding: max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom));
        padding-top: calc(var(--sv-mobile-bar-h) + env(safe-area-inset-top, 0px) + 16px);
        max-width: none;
    }
    .sv-greeting {
        font-size: clamp(1.35rem, 5vw, 1.5rem);
        margin-bottom: 20px;
        line-height: 1.2;
    }
    .sv-info-row {
        grid-template-columns: 1fr;
        gap: 4px;
        padding: 10px 0;
        align-items: start;
    }
    .sv-block {
        padding: 16px 16px;
        margin-bottom: 16px;
    }
    .sv-pinned {
        flex-direction: column;
        align-items: stretch;
        text-align: left;
        gap: 14px;
        padding: 16px 18px;
    }
    .sv-pinned .sv-status {
        align-self: flex-start;
    }
    .sv-service-clickable.sv-service-row {
        padding: 14px 14px;
    }
    .sv-service-header {
        flex-wrap: wrap;
        gap: 12px;
    }
    .sv-service-header > div:last-child {
        flex: 1 1 100%;
        min-width: 0;
    }
    .sv-assistant {
        flex-direction: column;
        gap: 14px;
    }
    .sv-website-row {
        flex-direction: column;
        align-items: stretch;
    }
    .sv-website-row .sv-link-btn {
        width: 100%;
        justify-content: center;
    }
    .sv-notif-row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 16px 16px;
    }
    .sv-notif-row-status {
        align-self: flex-start;
    }
    .sv-notif-row-subject {
        white-space: normal;
        word-break: break-word;
    }
    .sv-call-report-open {
        grid-template-columns: 1fr auto;
        gap: 10px;
    }
    .sv-call-report-open small {
        grid-column: 1 / -1;
        text-align: left;
        margin-top: -4px;
    }
    .sv-report-panel {
        width: 100%;
        max-width: 100%;
        border-left: none;
        padding: max(24px, env(safe-area-inset-top)) 18px 28px;
        padding-bottom: max(28px, env(safe-area-inset-bottom));
    }
    .sv-report-panel h2 {
        font-size: 20px;
    }
    .sv-sf-row,
    .sv-sf-pw-field {
        grid-template-columns: 1fr;
        gap: 8px;
        align-items: flex-start;
    }
    .sv-sf-row[data-password-card].is-editing > .sv-sf-lbl {
        padding-top: 0;
    }
    .sv-settings-form .sv-input {
        max-width: 100%;
    }
    .sv-sf-input-wrap {
        flex-direction: column;
        align-items: stretch;
    }
    .sv-sf-input-wrap .sv-input {
        max-width: 100%;
    }
    .sv-sf-edit-btn {
        opacity: 1;
    }
    .sv-link-btn {
        width: 100%;
        justify-content: center;
        text-align: center;
        padding: 12px 16px;
        min-height: 48px;
        touch-action: manipulation;
    }
    .sv-files-actions-block .sv-link-btn {
        width: 100%;
    }
    .sv-consult-book-btn {
        width: 100%;
        justify-content: center;
        min-height: 48px;
    }
    .sv-invoice-alert {
        flex-direction: column;
        align-items: stretch;
        text-align: left;
    }
    .sv-invoice-alert-btn {
        width: 100%;
        justify-content: center;
    }
    .sv-notif-modal.open {
        align-items: stretch;
        padding: 0;
    }
    .sv-notif-modal-panel {
        width: 100%;
        max-width: 100%;
        max-height: 100%;
        height: 100%;
        border-radius: 0;
        animation: svNotifModalInMobile 0.22s ease-out;
    }
    @keyframes svNotifModalInMobile {
        from {
            transform: translateY(12px);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }
}

/* Invoice table → stacked cards (no horizontal scroll) */
@media (max-width: 720px) {
    body.infopro-savitarna .sv-invoices-wrap {
        overflow-x: visible;
        margin: 0 -4px;
    }
    body.infopro-savitarna .sv-invoices-table {
        min-width: 0 !important;
        display: block;
        width: 100%;
        background: transparent;
    }
    body.infopro-savitarna .sv-invoices-table thead {
        display: none;
    }
    body.infopro-savitarna .sv-invoices-table tbody {
        display: block;
    }
    body.infopro-savitarna .sv-invoices-table tbody tr {
        display: block;
        margin-bottom: 14px;
        padding: 16px;
        border-radius: 14px;
        border: 1px solid var(--sv-border);
        background: var(--sv-bg2);
    }
    body.infopro-savitarna .sv-invoices-table tbody tr:hover td {
        background: transparent !important;
    }
    body.infopro-savitarna .sv-invoices-table tbody tr.sv-row-late {
        border-color: rgba(188, 36, 36, 0.45);
        background: rgba(188, 36, 36, 0.06);
    }
    body.infopro-savitarna .sv-invoices-table td {
        display: block;
        width: 100%;
        padding: 10px 0 !important;
        border-bottom: 1px solid var(--sv-border);
        vertical-align: top;
    }
    body.infopro-savitarna .sv-invoices-table td:last-child {
        border-bottom: none;
        padding-bottom: 0 !important;
    }
    body.infopro-savitarna .sv-invoices-table td::before {
        display: block;
        font-size: 10px;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        font-weight: 700;
        color: var(--sv-muted);
        margin-bottom: 6px;
    }
    body.infopro-savitarna .sv-invoices-table td:nth-child(1)::before {
        content: 'Paslaugų mėnuo';
    }
    body.infopro-savitarna .sv-invoices-table td:nth-child(2)::before {
        content: 'Terminas';
    }
    body.infopro-savitarna .sv-invoices-table td:nth-child(3)::before {
        content: 'Statusas';
    }
    body.infopro-savitarna .sv-invoices-table td:nth-child(4)::before {
        content: 'Suma';
    }
    body.infopro-savitarna .sv-invoices-table td:nth-child(5)::before {
        content: 'Sąskaita';
    }
    body.infopro-savitarna .sv-invoices-table td:nth-child(6)::before {
        content: 'Komentaras';
    }
    body.infopro-savitarna .sv-invoices-table .sv-col-amount {
        text-align: left;
    }
    body.infopro-savitarna .sv-invoices-table .sv-table-btn {
        display: inline-flex;
        justify-content: center;
        width: 100%;
        padding: 10px 14px;
        min-height: 44px;
        align-items: center;
        box-sizing: border-box;
    }
}
.sv-files-actions-block {
    padding: 14px 18px !important;
}
.sv-files-upload-panel {
    margin-bottom: 18px;
}
.sv-files-kind-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
}
.sv-files-radio {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    cursor: pointer;
    color: var(--sv-text, #e8e4dc);
}
.sv-files-radio input {
    accent-color: var(--sv-gold);
}
.sv-files-field {
    margin-bottom: 14px;
}
.sv-files-field--hidden {
    display: none !important;
}
.sv-files-lbl {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--sv-muted);
    margin-bottom: 8px;
}
.sv-files-textarea {
    width: 100%;
    max-width: 100%;
    min-height: 120px;
    resize: vertical;
}
.sv-files-hint {
    font-size: 12px;
    color: var(--sv-muted);
    margin: 8px 0 0;
    line-height: 1.45;
}
.sv-files-form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}
/* Submit must beat theme/WP default blue — mirror .sv-btn--save */
body.infopro-savitarna button.sv-files-submit[type="submit"],
body.infopro-savitarna .sv-files-form .sv-files-submit {
    appearance: none !important;
    -webkit-appearance: none !important;
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    background-image: none !important;
    cursor: pointer;
    font-family: inherit !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    line-height: 1.25 !important;
    padding: 14px 22px !important;
    border-radius: 10px !important;
    background-color: var(--sv-gold) !important;
    background-image: none !important;
    color: #1a1408 !important;
    transition: background 0.2s ease, background-color 0.2s ease;
}
body.infopro-savitarna button.sv-files-submit[type="submit"]:hover:not(:disabled),
body.infopro-savitarna .sv-files-form .sv-files-submit:hover:not(:disabled) {
    background-color: var(--sv-gold-light) !important;
    background-image: none !important;
}
body.infopro-savitarna button.sv-files-submit[type="submit"]:disabled,
body.infopro-savitarna .sv-files-form .sv-files-submit:disabled {
    opacity: 0.65 !important;
    cursor: not-allowed !important;
}
.sv-files-cancel {
    background: transparent;
    border: 1px solid var(--sv-border);
    color: var(--sv-muted);
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
}
.sv-files-cancel:hover {
    color: var(--sv-text, #e8e4dc);
    border-color: rgba(255, 255, 255, 0.2);
}
.sv-files-status {
    margin-top: 14px;
    font-size: 13px;
    min-height: 1.2em;
}
.sv-files-status--ok { color: #7EE0A2; }
.sv-files-status--err { color: #ff8888; }

.sv-files-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.sv-files-empty {
    color: var(--sv-muted);
    font-size: 14px;
    padding: 8px 0;
}
.sv-files-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--sv-border);
    font-size: 14px;
}
.sv-files-row:last-child {
    border-bottom: none;
}
.sv-files-icon {
    flex-shrink: 0;
}
.sv-files-meta {
    flex: 1;
    min-width: 200px;
}
.sv-files-meta strong {
    display: inline;
    margin-right: 6px;
}
.sv-files-date {
    color: var(--sv-muted);
    font-size: 13px;
}
.sv-files-download {
    color: var(--sv-gold);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}
.sv-files-download:hover {
    text-decoration: underline;
}

/* ─── APMOKĖJIMAS (WooCommerce „pay for order“) ─── */
body.infopro-apmokejimas.sv-pay-body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: radial-gradient(ellipse at top, #152035 0%, #09101E 60%);
}

.sv-pay-wrap {
    width: 100%;
    max-width: 480px;
    padding: 32px 20px 48px;
}

.sv-pay-card {
    background: var(--sv-bg2);
    border: 1px solid var(--sv-border);
    border-radius: 18px;
    padding: 36px 32px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.sv-pay-back {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--sv-muted);
}
.sv-pay-back:hover {
    color: var(--sv-gold-light);
}

.sv-pay-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 24px;
}

.sv-pay-lead {
    text-align: center;
    color: var(--sv-muted);
    font-size: 14px;
    margin: 0 0 20px;
}

.sv-pay-foot {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
}

.sv-pay-summary {
    text-align: center;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--sv-border);
}

.sv-pay-product {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 17px;
    margin-bottom: 14px;
    line-height: 1.35;
}

.sv-pay-service {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
}

.sv-pay-service-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.55px;
    color: var(--sv-muted);
    font-weight: 600;
}

.sv-pay-service-value {
    font-size: 16px;
    font-weight: 600;
}

.sv-pay-price {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: var(--sv-gold-light);
    margin-top: 8px;
}

.sv-pay-price .woocommerce-Price-amount {
    color: inherit;
}

.sv-pay-wc-form {
    margin-top: 8px;
}

/* Paslėpti visą WooCommerce užsakymo lentelę ir antraštes — viršuje tik paslaugų mėnuo + kaina */
body.infopro-apmokejimas .sv-pay-wc-form form#order_review > table.shop_table,
.infopro-apmokejimas .sv-pay-wc-form table.shop_table {
    display: none !important;
}
.infopro-apmokejimas .sv-pay-wc-form .woocommerce-checkout-review-order > *:not(#payment) {
    display: none !important;
}
.infopro-apmokejimas .sv-pay-wc-form #order_review > .shop_table,
.infopro-apmokejimas .sv-pay-wc-form #order_review h3,
.infopro-apmokejimas .sv-pay-wc-form .woocommerce-checkout-review-order h3 {
    display: none !important;
}
.infopro-apmokejimas .sv-pay-wc-form .woocommerce-order-details,
.infopro-apmokejimas .sv-pay-wc-form table.order_details {
    display: none !important;
}

/* WooCommerce pranešimai (atšauktas mokėjimas ir kt.) — pilnas plotis, ikona į kairę nuo teksto */
body.infopro-apmokejimas .sv-pay-wc-form .woocommerce-notices-wrapper,
body.infopro-apmokejimas .sv-pay-card .woocommerce-notices-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0 0 18px;
    padding: 0;
    box-sizing: border-box;
}

body.infopro-apmokejimas .sv-pay-wc-form .woocommerce-error,
body.infopro-apmokejimas .sv-pay-wc-form .woocommerce-info,
body.infopro-apmokejimas .sv-pay-wc-form .woocommerce-message,
body.infopro-apmokejimas .sv-pay-wc-form ul.woocommerce-error,
body.infopro-apmokejimas .sv-pay-wc-form ul.woocommerce-info,
body.infopro-apmokejimas .sv-pay-wc-form ul.woocommerce-message,
body.infopro-apmokejimas .sv-pay-card .woocommerce-error,
body.infopro-apmokejimas .sv-pay-card .woocommerce-info,
body.infopro-apmokejimas .sv-pay-card .woocommerce-message,
body.infopro-apmokejimas .sv-pay-card ul.woocommerce-error,
body.infopro-apmokejimas .sv-pay-card ul.woocommerce-info,
body.infopro-apmokejimas .sv-pay-card ul.woocommerce-message {
    box-sizing: border-box;
    display: block;
    width: 100% !important;
    max-width: 100%;
    margin: 0 0 16px !important;
    padding: 15px 16px 15px 48px !important;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.55;
    list-style: none !important;
    position: relative;
    border-width: 1px;
    border-style: solid;
    clear: both;
}

body.infopro-apmokejimas .sv-pay-wc-form .woocommerce-error li,
body.infopro-apmokejimas .sv-pay-wc-form .woocommerce-info li,
body.infopro-apmokejimas .sv-pay-wc-form .woocommerce-message li,
body.infopro-apmokejimas .sv-pay-card .woocommerce-error li,
body.infopro-apmokejimas .sv-pay-card .woocommerce-info li,
body.infopro-apmokejimas .sv-pay-card .woocommerce-message li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: inherit !important;
}

body.infopro-apmokejimas .sv-pay-wc-form .woocommerce-error::before,
body.infopro-apmokejimas .sv-pay-wc-form .woocommerce-info::before,
body.infopro-apmokejimas .sv-pay-wc-form .woocommerce-message::before,
body.infopro-apmokejimas .sv-pay-wc-form ul.woocommerce-error::before,
body.infopro-apmokejimas .sv-pay-wc-form ul.woocommerce-info::before,
body.infopro-apmokejimas .sv-pay-wc-form ul.woocommerce-message::before,
body.infopro-apmokejimas .sv-pay-card .woocommerce-error::before,
body.infopro-apmokejimas .sv-pay-card .woocommerce-info::before,
body.infopro-apmokejimas .sv-pay-card .woocommerce-message::before,
body.infopro-apmokejimas .sv-pay-card ul.woocommerce-error::before,
body.infopro-apmokejimas .sv-pay-card ul.woocommerce-info::before,
body.infopro-apmokejimas .sv-pay-card ul.woocommerce-message::before {
    position: absolute !important;
    left: 16px !important;
    top: 15px !important;
    margin: 0 !important;
    transform: none !important;
    line-height: 1 !important;
}

body.infopro-apmokejimas .sv-pay-wc-form .woocommerce-message a,
body.infopro-apmokejimas .sv-pay-wc-form .woocommerce-info a,
body.infopro-apmokejimas .sv-pay-card .woocommerce-message a,
body.infopro-apmokejimas .sv-pay-card .woocommerce-info a {
    color: var(--sv-gold);
    font-weight: 600;
}

body.infopro-apmokejimas .sv-pay-wc-form .woocommerce-message,
body.infopro-apmokejimas .sv-pay-wc-form ul.woocommerce-message,
body.infopro-apmokejimas .sv-pay-card .woocommerce-message,
body.infopro-apmokejimas .sv-pay-card ul.woocommerce-message,
body.infopro-apmokejimas .sv-pay-wc-form .woocommerce-info,
body.infopro-apmokejimas .sv-pay-wc-form ul.woocommerce-info,
body.infopro-apmokejimas .sv-pay-card .woocommerce-info,
body.infopro-apmokejimas .sv-pay-card ul.woocommerce-info {
    background: rgba(74, 124, 200, 0.22) !important;
    border-color: rgba(130, 170, 235, 0.45) !important;
    color: var(--sv-text) !important;
}

body.infopro-apmokejimas .sv-pay-wc-form .woocommerce-error,
body.infopro-apmokejimas .sv-pay-wc-form ul.woocommerce-error,
body.infopro-apmokejimas .sv-pay-card .woocommerce-error,
body.infopro-apmokejimas .sv-pay-card ul.woocommerce-error {
    background: rgba(255, 100, 100, 0.12) !important;
    border-color: rgba(255, 100, 100, 0.4) !important;
    color: #ffb4b4 !important;
}

/* Kai ikona yra SVG / atskiras elementas (ne ::before) */
body.infopro-apmokejimas .sv-pay-wc-form .woocommerce-message > .svg-icon,
body.infopro-apmokejimas .sv-pay-wc-form .woocommerce-message > svg,
body.infopro-apmokejimas .sv-pay-wc-form .woocommerce-info > svg,
body.infopro-apmokejimas .sv-pay-card .woocommerce-message > svg,
body.infopro-apmokejimas .sv-pay-card .woocommerce-info > svg,
body.infopro-apmokejimas .sv-pay-wc-form .woocommerce-notice__icon,
body.infopro-apmokejimas .sv-pay-card .woocommerce-notice__icon {
    position: absolute !important;
    left: 16px !important;
    top: 15px !important;
    width: 22px !important;
    height: 22px !important;
    margin: 0 !important;
    flex-shrink: 0;
    pointer-events: none;
}

body.infopro-apmokejimas .sv-pay-wc-form .woocommerce-message p,
body.infopro-apmokejimas .sv-pay-wc-form .woocommerce-info p,
body.infopro-apmokejimas .sv-pay-card .woocommerce-message p,
body.infopro-apmokejimas .sv-pay-card .woocommerce-info p {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    color: inherit !important;
}

/* WC 8+ .woocommerce-notice klasės */
body.infopro-apmokejimas .sv-pay-wc-form .woocommerce-notice,
body.infopro-apmokejimas .sv-pay-card .woocommerce-notice {
    box-sizing: border-box;
    width: 100% !important;
    padding-left: 48px !important;
    position: relative;
}

.infopro-apmokejimas .sv-pay-wc-form #payment {
    background: transparent;
    border: none;
}

.infopro-apmokejimas .sv-pay-wc-form #payment ul.payment_methods {
    list-style: none;
    margin: 0;
    padding: 0;
    border: none;
}

.infopro-apmokejimas .sv-pay-wc-form #payment ul.payment_methods li {
    background: var(--sv-bg);
    border: 1px solid var(--sv-border);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 10px;
}

.infopro-apmokejimas .sv-pay-wc-form #place_order,
.infopro-apmokejimas .sv-pay-wc-form button#place_order {
    width: 100%;
    margin-top: 18px;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    background: var(--sv-gold) !important;
    color: #1a1408 !important;
    border: none !important;
    cursor: pointer;
}

.infopro-apmokejimas .sv-pay-wc-form #place_order:hover,
.infopro-apmokejimas .sv-pay-wc-form button#place_order:hover {
    background: var(--sv-gold-light) !important;
}

/* Bendras sutartinių tekstų blokas (Paysera + WC privatumas) */
.infopro-apmokejimas #payment .payment_box:empty {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}
.infopro-apmokejimas .sv-pay-legal-disclosure {
    margin: 0 0 18px;
    border: 1px solid var(--sv-border);
    border-radius: 12px;
    background: var(--sv-bg);
    overflow: hidden;
}
.infopro-apmokejimas .sv-pay-legal-disclosure > summary {
    list-style: none;
}
.infopro-apmokejimas .sv-pay-legal-disclosure__summary {
    list-style: none;
    cursor: pointer;
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--sv-gold-light);
    user-select: none;
}
.infopro-apmokejimas .sv-pay-legal-disclosure__summary::-webkit-details-marker {
    display: none;
}
.infopro-apmokejimas .sv-pay-legal-disclosure__summary::after {
    content: '';
    float: right;
    width: 8px;
    height: 8px;
    margin-top: 5px;
    border-right: 2px solid var(--sv-muted);
    border-bottom: 2px solid var(--sv-muted);
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}
.infopro-apmokejimas .sv-pay-legal-disclosure[open] .sv-pay-legal-disclosure__summary::after {
    transform: rotate(-135deg);
    margin-top: 8px;
}
.infopro-apmokejimas .sv-pay-legal-disclosure__inner {
    padding: 0 16px 16px;
    font-size: 13px;
    line-height: 1.55;
    color: var(--sv-muted);
    border-top: 1px solid var(--sv-border);
}
.infopro-apmokejimas .sv-pay-legal-disclosure__inner p {
    margin: 0 0 12px;
}
.infopro-apmokejimas .sv-pay-legal-disclosure__inner p:last-child {
    margin-bottom: 0;
}
.infopro-apmokejimas .sv-pay-legal-disclosure__inner a {
    color: var(--sv-gold);
}

.sv-service-action .sv-service-action-done {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #e9f7ef;
    border: 1px solid #28B478;
    color: #1d6b46;
    border-radius: 8px;
    font-weight: 600;
}
.sv-service-action .sv-service-action-badge { font-weight: 700; }
.sv-service-action .sv-service-action-date { font-weight: 400; color: #4a6a5b; font-size: 13px; }
.sv-service-action .sv-service-done-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--sv-gold, #C9A84C);
    color: #09101E;
    border: 0;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.05s ease;
}
.sv-service-action .sv-service-done-btn:hover { background: #d8b85c; }
.sv-service-action .sv-service-done-btn:active { transform: translateY(1px); }
.sv-service-action .sv-service-done-btn[disabled] { opacity: 0.6; cursor: default; }
.sv-service-action .sv-service-done-status { color: #b00020; font-size: 13px; }
