/**
 * newv2 – MW admin style
 * Font: Geist (see geist-font.css)
 */
@import url('geist-font.css');

:root {
    --sv2-nav-bg: #F8F8F8;
    --sv2-sidebar-bg: #F5F5F5;
    --sv2-sidebar-active: #ffffff;
    --sv2-border: #E0E0E0;
    --sv2-text: #212121;
    --sv2-text-muted: #6b7280;
    --sv2-avatar-green: #008060;
    --sv2-trial-bg: #363636;
    --sv2-search-bg: #EFEFEF;
    --sv2-sidebar-width: 260px;
    --sv2-nav-height: 56px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--sv2-font);
    font-size: 14px;
    color: var(--sv2-text);
    background: #FAFAFA;
}

/* ========== LAYOUT ========== */
.sv2-app {
    display: flex;
    min-height: 100vh;
}

.sv2-sidebar-wrap {
    position: fixed;
    left: 0;
    top: 0;
    width: var(--sv2-sidebar-width);
    height: 100vh;
    flex-shrink: 0;
    overflow: hidden;
    transition: width 0.25s ease, transform 0.25s ease;
    z-index: 100;
}

.sv2-app.sv2-sidebar-closed .sv2-sidebar-wrap {
    width: 0;
}

.sv2-main-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin-left: var(--sv2-sidebar-width);
    transition: margin-left 0.25s ease;
}

.sv2-app.sv2-sidebar-closed .sv2-main-wrap {
    margin-left: 0;
}

/* ========== BANNER (Polaris-style, full width on top of navbar) ========== */
.sv2-banner {
    width: 100%;
    flex-shrink: 0;
    position: relative;
    background: #fff;
    border-bottom: 1px solid var(--sv2-border);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

/* Info tone: clear blue fill, readable contrast */
.sv2-banner--info {
    background: linear-gradient(135deg, #c7d2fe 0%, #e0e7ff 50%, #e0e7ff 100%);
    border-bottom: 1px solid rgba(99, 102, 241, 0.25);
    box-shadow: 0 1px 3px rgba(99, 102, 241, 0.08);
}

.sv2-banner.is-dismissed {
    display: none;
}

/* Left accent ribbon – info */
.sv2-banner--info .sv2-banner__ribbon {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #4f46e5;
    border-radius: 0 2px 2px 0;
}

.sv2-banner--info .sv2-banner__icon {
    color: #4338ca;
}

.sv2-banner--info .sv2-banner__text {
    color: #1e1b4b;
    font-weight: 600;
}

.sv2-banner__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 20px;
    max-width: 100%;
    min-height: 40px;
}

.sv2-banner__icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.sv2-banner__icon-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.sv2-banner__text {
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    color: var(--sv2-text);
    line-height: 1.4;
    text-align: center;
}

/* Dashboard professional access banner (logo + text + CTA) */
.sv2-banner--dashboard {
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ede9fe 0%, #e0e7ff 50%, #f5f3ff 100%);
    border: 1px solid rgba(109, 40, 217, 0.2);
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(109, 40, 217, 0.08);
}

.sv2-banner--dashboard .sv2-banner-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    max-width: 100%;
}

.sv2-banner--dashboard .sv2-banner-inner img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    margin-right: 0;
    flex-shrink: 0;
    object-fit: contain;
}

.sv2-banner--dashboard .sv2-banner-inner > div {
    flex: 1;
    min-width: 0;
}

.sv2-banner--dashboard .sv2-banner-inner strong {
    display: block;
    color: var(--sv2-text);
    font-size: 15px;
}

.sv2-banner--dashboard .sv2-banner-inner p {
    margin: 0.25rem 0 0 0;
    opacity: 0.9;
    font-size: 14px;
    color: var(--sv2-text-muted);
    line-height: 1.4;
}

.sv2-banner--dashboard .sv2-banner-inner .sv2-btn-primary {
    margin-top: 0.75rem;
    display: inline-block;
    text-decoration: none;
}

.sv2-banner--dashboard .sv2-banner-inner .sv2-btn-primary:hover {
    text-decoration: none;
}

/* Free trial alert (Shopify-style) */
.sv2-free-trial-alert {
    width: 100%;
    background: #f6f8fa;
    border: 1px solid #e1e5e9;
    border-left: 4px solid #10b981;
    color: #202223;
    padding: 14px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.sv2-free-trial-alert-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.sv2-free-trial-alert-icon {
    width: 32px;
    height: 32px;
    background: #10b981;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sv2-free-trial-alert-icon i {
    font-size: 16px;
    color: white;
}

.sv2-free-trial-alert-text {
    flex: 1;
}

.sv2-free-trial-alert-title {
    font-size: 14px;
    font-weight: 600;
    color: #202223;
    margin-bottom: 4px;
}

.sv2-free-trial-alert-description {
    font-size: 13px;
    color: #6d7175;
    line-height: 1.4;
}

.sv2-free-trial-alert-description strong.sv2-free-trial-alert-highlight {
    color: #10b981;
}

.sv2-free-trial-alert-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
}

.sv2-free-trial-alert-button {
    background: #202223;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}

.sv2-free-trial-alert-button:hover {
    background: #3a3d41;
    color: white;
}

.sv2-free-trial-alert-close {
    background: transparent;
    color: #6d7175;
    border: none;
    padding: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.2s, color 0.2s;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.sv2-free-trial-alert-close:hover {
    background: #f1f3f5;
    color: #202223;
}

/* Free trial alert – responsive */
@media (max-width: 640px) {
    .sv2-free-trial-alert {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 12px 14px;
        margin-bottom: 16px;
    }
    .sv2-free-trial-alert-content {
        gap: 10px;
    }
    .sv2-free-trial-alert-icon {
        width: 28px;
        height: 28px;
    }
    .sv2-free-trial-alert-icon i {
        font-size: 14px;
    }
    .sv2-free-trial-alert-title {
        font-size: 13px;
    }
    .sv2-free-trial-alert-description {
        font-size: 12px;
        line-height: 1.45;
    }
    .sv2-free-trial-alert-actions {
        width: 100%;
        justify-content: stretch;
        flex-shrink: 0;
    }
    .sv2-free-trial-alert-button {
        display: block;
        text-align: center;
        width: 100%;
        padding: 10px 14px;
        font-size: 13px;
        white-space: normal;
    }
}

.sv2-content {
    flex: 1;
    padding: 24px;
}

.sv2-content-inner {
    max-width: 800px;
    margin: 0 auto;
}

.sv2-content-inner--full {
    max-width: none;
    margin: 0;
    width: 100%;
}

.sv2-page-title {
    margin: 0 0 8px;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--sv2-text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.sv2-page-title-icon {
    color: var(--sv2-text-muted);
    font-size: 1.25rem;
}

.sv2-page-subtitle {
    margin: 0 0 24px;
    font-size: 14px;
    color: var(--sv2-text-muted);
}

.sv2-card--content {
    background: #fff;
    border-radius: 8px;
    border: 1px solid var(--sv2-border);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.sv2-card--content .sv2-card-body {
    padding: 24px;
}

.sv2-about-text {
    margin: 0 0 1rem;
    font-size: 15px;
    line-height: 1.6;
    color: var(--sv2-text);
}

.sv2-about-text--last {
    margin-bottom: 0;
}

/* ========== FAQ ACCORDION ========== */
.sv2-faq-accordion {
    margin-top: 8px;
}

.sv2-faq-item {
    border: 1px solid var(--sv2-border);
    border-radius: 8px;
    margin-bottom: 8px;
    background: #fff;
    overflow: hidden;
}

.sv2-faq-item:last-child {
    margin-bottom: 0;
}

.sv2-faq-question {
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--sv2-text);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.15s ease;
}

.sv2-faq-question::-webkit-details-marker {
    display: none;
}

.sv2-faq-question::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 12px;
    color: var(--sv2-text-muted);
    margin-left: auto;
    transition: transform 0.2s ease;
}

.sv2-faq-item[open] .sv2-faq-question::after {
    transform: rotate(180deg);
}

.sv2-faq-question:hover {
    background: rgba(0, 0, 0, 0.03);
}

.sv2-faq-question i {
    color: var(--sv2-text-muted);
    width: 18px;
    text-align: center;
}

.sv2-faq-answer {
    padding: 0 16px 16px 44px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--sv2-text);
}

.sv2-faq-answer ul {
    margin: 12px 0 0;
    padding-left: 20px;
}

.sv2-faq-answer li {
    margin-bottom: 6px;
}

.sv2-faq-answer li:last-child {
    margin-bottom: 0;
}

/* ========== NAVBAR ========== */
.sv2-navbar {
    height: var(--sv2-nav-height);
    background: var(--sv2-nav-bg);
    border-bottom: 1px solid var(--sv2-border);
    flex-shrink: 0;
    overflow: visible;
}

.sv2-navbar-inner {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 20px;
    gap: 24px;
    overflow: visible;
}

.sv2-navbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.sv2-sidebar-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--sv2-text);
    cursor: pointer;
    font-size: 18px;
    transition: background 0.15s ease;
}

.sv2-sidebar-toggle:hover {
    background: rgba(0, 0, 0, 0.06);
}

.sv2-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #000;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: -0.02em;
}

.sv2-logo-icon {
    font-size: 22px;
    color: #000;
}

.sv2-logo-text {
    text-transform: lowercase;
}

.sv2-navbar-center {
    flex: 1;
    max-width: 520px;
    min-width: 200px;
    overflow: visible;
}

.sv2-search-box {
    position: relative;
    width: 100%;
    overflow: visible;
}

.sv2-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
    height: 40px;
    background: var(--sv2-search-bg);
    border: 1px solid transparent;
    border-radius: 20px;
    padding: 0 12px 0 40px;
}

.sv2-search-wrap:focus-within {
    background: #fff;
    border-color: var(--sv2-border);
    box-shadow: 0 0 0 1px var(--sv2-border);
}

.sv2-search-icon {
    position: absolute;
    left: 14px;
    color: var(--sv2-text-muted);
    font-size: 14px;
}

.sv2-search-input {
    flex: 1;
    border: none;
    background: none;
    font-size: 14px;
    color: var(--sv2-text);
    font-family: var(--sv2-font);
}

.sv2-search-input::placeholder {
    color: #6F6F6F;
}

.sv2-search-input:focus {
    outline: none;
}

.sv2-search-clear {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: none;
    background: none;
    color: var(--sv2-text-muted);
    cursor: pointer;
    border-radius: 4px;
    margin-right: 4px;
}

.sv2-search-clear:hover {
    color: var(--sv2-text);
    background: rgba(0,0,0,0.06);
}

.sv2-search-shortcut {
    font-size: 12px;
    color: var(--sv2-text-muted);
    background: rgba(0,0,0,0.06);
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 4px;
}

/* Search suggestions dropdown */
.sv2-search-suggest {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    min-width: 300px;
    width: max-content;
    max-width: min(400px, calc(100vw - 24px));
    background: #fff;
    border: 1px solid var(--sv2-border);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    padding: 8px 0;
    z-index: 1001;
    max-height: 320px;
    overflow-y: auto;
    display: none;
}

.sv2-search-box.sv2-search-open .sv2-search-suggest {
    display: block;
}

.sv2-search-suggest-title {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--sv2-text-muted);
    padding: 6px 14px 8px;
}

.sv2-search-suggest-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    padding: 0 10px 10px;
}

@media (min-width: 480px) {
    .sv2-search-suggest-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.sv2-search-suggest-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    font-size: 14px;
    color: var(--sv2-text);
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.12s ease;
}

.sv2-search-suggest-item:hover {
    background: #f5f5f5;
}

.sv2-search-suggest-item i {
    width: 20px;
    color: var(--sv2-text-muted);
    font-size: 14px;
    flex-shrink: 0;
}

.sv2-search-suggest-item span {
    flex: 1;
    min-width: 0;
}

.sv2-navbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-left: auto;
}

.sv2-navbar-create {
    --sv2-navbar-create-border: #764ba2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 600;
    color: var(--sv2-navbar-create-border);
    background: #fff;
    border: 1px solid var(--sv2-navbar-create-border);
    border-radius: 8px;
    text-decoration: none;
    font-family: var(--sv2-font);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.sv2-navbar-create:hover {
    background: #fff;
    color: var(--sv2-navbar-create-border);
    border-color: var(--sv2-navbar-create-border);
    opacity: 0.9;
}

.sv2-navbar-create i {
    font-size: 12px;
}

/* Simple "Créer une boutique" link on navbar left */
.sv2-navbar-create-simple {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--sv2-text-muted);
    text-decoration: none;
    font-family: var(--sv2-font);
    border: 1px solid var(--sv2-border);
    border-radius: 6px;
    transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.sv2-navbar-create-simple:hover {
    color: var(--sv2-text);
    background: rgba(0, 0, 0, 0.04);
    border-color: var(--sv2-text-muted);
}

.sv2-navbar-create-simple i {
    font-size: 11px;
}

/* Language switcher – cadre (box) */
.sv2-lang-cadre {
    padding: 2px 4px;
    border: 1px solid var(--sv2-border);
    border-radius: 8px;
    background: transparent;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.sv2-lang-switcher {
    position: relative;
}

.sv2-lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 6px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: var(--sv2-text);
    font-size: 14px;
    font-family: var(--sv2-font);
    cursor: pointer;
    transition: background 0.15s ease;
}

.sv2-lang-btn:hover {
    background: rgba(0, 0, 0, 0.06);
}

/* Colored flags */
.sv2-lang-flag {
    width: 20px;
    height: 14px;
    border-radius: 2px;
    flex-shrink: 0;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
}
.sv2-flag-fr {
    background: linear-gradient(to right, #002395 0%, #002395 33.33%, #fff 33.33%, #fff 66.66%, #ed2939 66.66%, #ed2939 100%);
}
.sv2-flag-en {
    background: linear-gradient(to bottom, #012169 0%, #012169 33.33%, #fff 33.33%, #fff 66.66%, #c8102e 66.66%, #c8102e 100%);
}
.sv2-flag-ar {
    background: #006c35;
}

.sv2-lang-chevron {
    font-size: 10px;
    color: var(--sv2-text-muted);
    transition: transform 0.2s ease;
}

.sv2-lang-switcher.open .sv2-lang-chevron {
    transform: rotate(180deg);
}

.sv2-lang-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    min-width: 150px;
    padding: 4px 0;
    background: #fff;
    border: 1px solid var(--sv2-border);
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.sv2-lang-switcher.open .sv2-lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sv2-lang-option {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 6px 10px;
    border: none;
    background: none;
    color: var(--sv2-text);
    font-size: 14px;
    font-family: var(--sv2-font);
    text-align: left;
    cursor: pointer;
    transition: background 0.1s ease;
}

.sv2-lang-option:hover {
    background: rgba(0, 0, 0, 0.04);
}

.sv2-lang-option.active {
    background: var(--sv2-sidebar-active);
    font-weight: 500;
}

.sv2-lang-option .sv2-lang-flag {
    width: 24px;
    height: 18px;
}

.sv2-nav-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sv2-text);
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.15s ease;
}

.sv2-nav-icon:hover {
    background: rgba(0,0,0,0.06);
}

/* Boutique dropdown */
.sv2-boutique-dropdown {
    position: relative;
}

.sv2-user-block {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 8px;
    border: none;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    font-family: var(--sv2-font);
    transition: background 0.15s ease;
}

.sv2-user-block:hover {
    background: rgba(0,0,0,0.06);
}

.sv2-boutique-chevron {
    font-size: 10px;
    color: var(--sv2-text-muted);
    transition: transform 0.2s ease;
}

.sv2-boutique-dropdown.open .sv2-boutique-chevron {
    transform: rotate(180deg);
}

.sv2-boutique-menu {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    min-width: 200px;
    padding: 6px 0;
    background: #fff;
    border: 1px solid var(--sv2-border);
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.sv2-boutique-dropdown.open .sv2-boutique-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sv2-boutique-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    color: var(--sv2-text);
    font-size: 14px;
    text-decoration: none;
    transition: background 0.1s ease;
}

.sv2-boutique-item:hover {
    background: rgba(0, 0, 0, 0.04);
}

.sv2-boutique-item.active {
    background: var(--sv2-sidebar-active);
    font-weight: 500;
}

.sv2-boutique-item i {
    width: 18px;
    color: var(--sv2-text-muted);
}

.sv2-boutique-divider {
    height: 1px;
    margin: 4px 0;
    background: var(--sv2-border);
}

/* Notifications dropdown – trigger has good width, panel fixed width */
.sv2-notifications-dropdown {
    position: relative;
}

.sv2-notifications-trigger {
    min-width: 40px;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    cursor: pointer;
    border: none;
    outline: none;
    background: transparent;
}

.sv2-notifications-trigger:focus {
    outline: none;
}

.sv2-notifications-trigger {
    position: relative;
}
.sv2-notifications-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    font-size: 10px;
    font-weight: 600;
    line-height: 16px;
    text-align: center;
    color: #fff;
    background: #d72c0d;
    border-radius: 8px;
}

.sv2-notifications-menu {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    width: 340px;
    max-width: calc(100vw - 24px);
    background: #fff;
    border-radius: 10px;
    border: none;
    box-shadow: none;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    overflow: hidden;
}

.sv2-notifications-dropdown.open .sv2-notifications-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sv2-notifications-header {
    padding: 12px 14px;
}

.sv2-notifications-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--sv2-text);
}

.sv2-notifications-list {
    max-height: 280px;
    overflow-y: auto;
}

.sv2-notifications-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 14px;
    color: var(--sv2-text);
    font-size: 13px;
    text-decoration: none;
    transition: background 0.1s ease;
}

.sv2-notifications-item:hover {
    background: rgba(0, 0, 0, 0.04);
}

.sv2-notifications-empty {
    padding: 20px 14px;
    font-size: 13px;
    color: var(--sv2-text-muted);
    text-align: center;
}

.sv2-notifications-item-text {
    font-weight: 500;
    line-height: 1.3;
}

.sv2-notifications-item-time {
    font-size: 12px;
    color: var(--sv2-text-muted);
}

.sv2-notifications-footer {
    display: block;
    padding: 10px 14px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--sv2-avatar-green);
    text-decoration: none;
    transition: background 0.1s ease;
}

.sv2-notifications-footer:hover {
    background: rgba(0, 0, 0, 0.04);
    color: #006e52;
}

/* ========== NAVBAR – MOBILE ========== */
@media (max-width: 768px) {
    .sv2-navbar-inner {
        padding: 0 12px;
        gap: 12px;
    }
    .sv2-navbar-left {
        gap: 8px;
    }
    .sv2-navbar-create-simple {
        display: none;
    }
    .sv2-navbar-center {
        min-width: 0;
        max-width: none;
    }
    .sv2-search-shortcut {
        display: none;
    }
    .sv2-navbar-right {
        gap: 6px;
    }
    .sv2-user-shop {
        display: none;
    }
    .sv2-lang-current {
        display: none;
    }
    .sv2-lang-chevron {
        display: none;
    }
    .sv2-lang-btn {
        padding: 0 6px;
    }
    /* Dropdowns: prevent overflow on small screens */
    .sv2-notifications-menu,
    .sv2-boutique-menu,
    .sv2-lang-dropdown {
        right: 0;
        left: auto;
        max-width: min(340px, calc(100vw - 24px));
    }
    .sv2-boutique-menu {
        max-width: min(280px, calc(100vw - 24px));
    }
}

@media (max-width: 480px) {
    .sv2-navbar-inner {
        padding: 0 8px;
        gap: 8px;
    }
    .sv2-logo-text {
        display: none;
    }
    .sv2-logo {
        padding: 4px 0;
    }
    .sv2-logo-icon {
        font-size: 20px;
        margin: 0;
    }
    .sv2-navbar-center {
        flex: 1;
        min-width: 0;
    }
    .sv2-search-wrap {
        padding-left: 36px;
    }
    .sv2-search-icon {
        left: 10px;
        font-size: 13px;
    }
    .sv2-search-input {
        font-size: 13px;
    }
    .sv2-nav-icon,
    .sv2-notifications-trigger,
    .sv2-sidebar-toggle {
        width: 36px;
        min-width: 36px;
        height: 36px;
    }
    .sv2-sidebar-toggle {
        font-size: 16px;
    }
    .sv2-user-block {
        padding: 2px 6px;
    }
    .sv2-user-avatar {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }
    .sv2-notifications-badge {
        min-width: 14px;
        height: 14px;
        padding: 0 3px;
        font-size: 9px;
        line-height: 14px;
        top: 0;
        right: 0;
    }
    /* Search suggestions: full-width panel on small screens */
    .sv2-search-suggest {
        position: fixed;
        left: 8px;
        right: 8px;
        width: auto;
        max-height: 60vh;
        z-index: 1001;
    }
}

/* Help (Aide) dropdown – same pattern as notifications */
.sv2-help-dropdown {
    position: relative;
}

.sv2-help-trigger {
    min-width: 40px;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    cursor: pointer;
    border: none;
    outline: none;
    background: transparent;
}

.sv2-help-trigger:focus {
    outline: none;
}

.sv2-help-menu {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    width: 260px;
    max-width: calc(100vw - 24px);
    background: #fff;
    border-radius: 10px;
    border: none;
    box-shadow: none;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    overflow: hidden;
}

.sv2-help-dropdown.open .sv2-help-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sv2-help-header {
    padding: 12px 14px;
}

.sv2-help-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--sv2-text);
}

.sv2-help-list {
    max-height: 280px;
    overflow-y: auto;
}

.sv2-help-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: var(--sv2-text);
    font-size: 13px;
    text-decoration: none;
    transition: background 0.1s ease;
}

.sv2-help-item:hover {
    background: rgba(0, 0, 0, 0.04);
}

.sv2-help-item i {
    width: 18px;
    color: var(--sv2-text-muted);
    flex-shrink: 0;
}

.sv2-help-footer {
    display: block;
    padding: 10px 14px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--sv2-avatar-green);
    text-decoration: none;
    transition: background 0.1s ease;
}

.sv2-help-footer:hover {
    background: rgba(0, 0, 0, 0.04);
    color: #006e52;
}

.sv2-user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--sv2-avatar-green);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sv2-user-shop {
    font-size: 14px;
    font-weight: 500;
    color: var(--sv2-text);
}

/* ========== SIDEBAR ========== */
.sv2-sidebar {
    width: 100%;
    height: 100vh;
    background: var(--sv2-sidebar-bg);
    border-right: 1px solid var(--sv2-border);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Sidebar promo: landing 45 DT – simple dark card */
.sv2-sidebar-promo {
    flex-shrink: 0;
    margin: 10px 12px;
    padding: 12px 14px;
    background: #252525;
    border-radius: 8px;
    color: #e5e5e5;
}
.sv2-sidebar-promo-text {
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 400;
}
.sv2-sidebar-promo-text strong {
    color: #fff;
    font-weight: 600;
}
.sv2-sidebar-promo-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    color: #fff;
    background: var(--sv2-avatar-green, #008060);
    border-radius: 8px;
    text-decoration: none;
    font-family: var(--sv2-font);
    cursor: pointer;
    border: none;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.sv2-sidebar-promo-cta:hover {
    background: #006e52;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 126, 96, 0.35);
}
.sv2-sidebar-promo-cta:active {
    transform: translateY(0);
}
.sv2-sidebar-promo-cta i {
    font-size: 12px;
    opacity: 0.95;
}

.sv2-sidebar-nav {
    padding: 4px 8px;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

.sv2-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sv2-nav-item {
    margin: 0;
    padding: 0;
}

.sv2-nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 8px;
    line-height: 1.2;
    color: var(--sv2-text);
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    border-radius: 6px;
    transition: background 0.12s ease;
    width: 100%;
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: var(--sv2-font);
    text-align: left;
}

.sv2-nav-link:hover {
    background: rgba(0,0,0,0.05);
}

.sv2-nav-link.active {
    background: var(--sv2-sidebar-active);
    font-weight: 500;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.sv2-nav-icon {
    width: 18px;
    font-size: 13px;
    color: var(--sv2-text);
    flex-shrink: 0;
    text-align: center;
}

.sv2-nav-link:not(.active) .sv2-nav-icon {
    color: var(--sv2-text-muted);
}

.sv2-nav-link.active .sv2-nav-icon {
    color: var(--sv2-text);
}

.sv2-nav-text {
    flex: 1;
}

.sv2-nav-icon-wrap {
    position: relative;
    display: inline-flex;
    width: 18px;
    flex-shrink: 0;
    justify-content: center;
}

.sv2-nav-badge {
    margin-left: auto;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: 600;
    background: var(--sv2-avatar-green);
    color: #fff;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

.sv2-nav-badge--dot {
    position: absolute;
    top: -4px;
    right: -6px;
    margin-left: 0;
    min-width: 16px;
    height: 16px;
    line-height: 12px;
    padding: 0 4px;
}

.sv2-nav-toggle {
    justify-content: space-between;
    color: var(--sv2-text);
}

.sv2-nav-label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sv2-nav-arrow {
    font-size: 11px;
    color: var(--sv2-text-muted);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.sv2-nav-item.expanded .sv2-nav-arrow {
    transform: rotate(90deg);
}

/* Section headers (expandable) – same row height, distinct as labels */
.sv2-nav-item.sv2-nav-expandable .sv2-nav-link {
    padding: 4px 8px;
}

.sv2-nav-sublist {
    list-style: none;
    margin: 0;
    padding: 0 0 0 24px;
    display: none;
    gap: 2px;
}

.sv2-nav-item.expanded .sv2-nav-sublist {
    display: flex;
    flex-direction: column;
}

.sv2-nav-sublist .sv2-nav-link {
    padding: 4px 8px;
}

.sv2-sidebar-footer {
    padding: 4px 8px 8px;
    border-top: 1px solid var(--sv2-border);
    flex-shrink: 0;
}

.sv2-sidebar-footer .sv2-nav-link {
    padding: 4px 8px;
    border-radius: 6px;
}

.sv2-trial-banner {
    margin: 0 12px 12px;
    padding: 16px;
    background: var(--sv2-trial-bg);
    border-radius: 8px;
    color: #fff;
    flex-shrink: 0;
    margin-top: auto;
}

.sv2-trial-text {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 600;
}

.sv2-trial-sub {
    margin: 0 0 12px;
    font-size: 13px;
    opacity: 0.9;
}

.sv2-trial-btn {
    display: block;
    width: 100%;
    padding: 10px 16px;
    background: #fff;
    color: var(--sv2-text);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    border-radius: 6px;
    text-decoration: none;
    font-family: var(--sv2-font);
    transition: background 0.15s ease;
}

.sv2-trial-btn:hover {
    background: #f0f0f0;
    color: var(--sv2-text);
}

/* ========== MAIN CONTENT ========== */
.sv2-top-banner {
    background: var(--sv2-trial-bg);
    color: #fff;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.sv2-top-banner--hidden {
    display: none;
}

.sv2-top-banner-text {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
}

.sv2-top-banner-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sv2-top-banner-btn {
    padding: 8px 16px;
    background: #fff;
    color: var(--sv2-text);
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    font-family: var(--sv2-font);
    border: none;
    cursor: pointer;
}

.sv2-top-banner-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: rgba(255,255,255,0.8);
    cursor: pointer;
    border-radius: 6px;
}

.sv2-top-banner-close:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

/* Assistant / chatbot – fixed bottom-right, opens full width */
.sv2-assistant {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 10000;
}

.sv2-assistant-trigger {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: #fff;
    border: none;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sv2-assistant-trigger:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 24px rgba(99, 102, 241, 0.5);
}

.sv2-assistant-panel {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 10001;
    display: none;
    flex-direction: column;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
}

.sv2-assistant-panel[aria-hidden="false"],
.sv2-assistant-panel.open {
    display: flex;
}

.sv2-assistant-panel-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-width: 100%;
}

.sv2-assistant-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-bottom: 1px solid var(--sv2-border);
    flex-shrink: 0;
}

.sv2-assistant-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--sv2-text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.sv2-assistant-title i {
    color: #6366f1;
}

.sv2-assistant-close {
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    color: var(--sv2-text-muted);
    cursor: pointer;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.sv2-assistant-close:hover {
    background: rgba(0,0,0,0.06);
    color: var(--sv2-text);
}

.sv2-assistant-messages {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.sv2-assistant-welcome {
    margin: 0;
    font-size: 15px;
    color: var(--sv2-text-muted);
}

.sv2-assistant-input-wrap {
    display: flex;
    gap: 12px;
    padding: 16px 24px;
    border-top: 1px solid var(--sv2-border);
    flex-shrink: 0;
}

.sv2-assistant-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--sv2-border);
    border-radius: 10px;
    font-size: 15px;
    font-family: var(--sv2-font);
    color: var(--sv2-text);
}

.sv2-assistant-input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

.sv2-assistant-send {
    width: 48px;
    height: 48px;
    border: none;
    background: #6366f1;
    color: #fff;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.sv2-assistant-send:hover {
    background: #4f46e5;
}

/* Toast – same style as top banner, polished */
.sv2-toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column-reverse;
    gap: 12px;
    max-width: 380px;
    pointer-events: none;
}

.sv2-toast-container:empty {
    display: none;
}

.sv2-toast {
    pointer-events: auto;
    background: var(--sv2-trial-bg);
    color: #fff;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    animation: sv2-toast-in 0.3s cubic-bezier(0.21, 0.47, 0.32, 0.98);
}

.sv2-toast--success {
    background: #059669;
    color: #fff;
}

.sv2-toast--danger {
    background: #dc2626;
    color: #fff;
}

.sv2-toast--warning {
    background: #d97706;
    color: #fff;
}

.sv2-toast.sv2-toast-out {
    animation: sv2-toast-out 0.25s ease forwards;
}

@keyframes sv2-toast-in {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes sv2-toast-out {
    to {
        opacity: 0;
        transform: translateY(8px) scale(0.96);
    }
}

.sv2-toast-text {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    flex: 1;
    min-width: 0;
}

.sv2-toast-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.sv2-toast-btn {
    padding: 8px 14px;
    background: #fff;
    color: var(--sv2-text);
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    font-family: var(--sv2-font);
    transition: background 0.15s ease, transform 0.15s ease;
}

.sv2-toast-btn:hover {
    background: #f5f5f5;
}

.sv2-toast-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}

.sv2-toast-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    border-radius: 8px;
    font-size: 14px;
    transition: background 0.15s ease, color 0.15s ease;
}

.sv2-toast-close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.sv2-toast-close:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.4);
}

.sv2-toast--success .sv2-toast-close:hover,
.sv2-toast--danger .sv2-toast-close:hover,
.sv2-toast--warning .sv2-toast-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.sv2-toast-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--sv2-text-muted);
    background: transparent;
    border: 1px solid var(--sv2-border);
    border-radius: 8px;
    font-family: var(--sv2-font);
    cursor: pointer;
    transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.sv2-toast-trigger:hover {
    color: var(--sv2-text);
    border-color: var(--sv2-text-muted);
    background: rgba(0, 0, 0, 0.02);
}

.sv2-toast-trigger--subtle {
    padding: 4px 10px;
    margin-bottom: 0;
    margin-left: 12px;
    font-size: 13px;
    font-weight: 400;
    border: none;
    color: var(--sv2-text-muted);
    vertical-align: middle;
}

.sv2-toast-trigger--subtle:hover {
    color: var(--sv2-text);
    background: transparent;
}

.sv2-greeting-wrap {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-bottom: 24px;
}

.sv2-greeting {
    font-family: var(--sv2-font);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.25;
    color: var(--sv2-text);
    margin: 0;
    letter-spacing: -0.03em;
}

@media (min-width: 600px) {
    .sv2-greeting {
        font-size: 1.75rem;
    }
}

/* Charts section */
.sv2-charts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}

@media (max-width: 900px) {
    .sv2-charts {
        grid-template-columns: 1fr;
    }
}

.sv2-chart-card {
    background: #fff;
    border: 1px solid var(--sv2-border);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    padding: 20px;
    overflow: hidden;
}

.sv2-chart-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--sv2-text);
    margin: 0 0 16px;
}

.sv2-chart-wrap {
    position: relative;
    height: 220px;
    width: 100%;
}

/* Single full-width chart (e.g. dashboard statistics) */
.sv2-charts--single {
    grid-template-columns: 1fr;
}

.sv2-chart-wrap--tall {
    min-height: 400px;
    height: 400px;
}

.sv2-chart-wrap--tall canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
    box-sizing: border-box;
}

/* Chart filters row (selects for group, status, website) */
.sv2-chart-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.sv2-form-select {
    flex: 1;
    min-width: 140px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    font-family: inherit;
}

.sv2-form-select:hover {
    border-color: #d1d5db;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.sv2-form-select:focus {
    outline: none;
    border-color: rgb(66, 57, 100);
    box-shadow: 0 0 0 3px rgba(66, 57, 100, 0.1);
}

.sv2-ask-card {
    max-width: 720px;
    background: #fff;
    border: 1px solid var(--sv2-border);
    border-radius: 10px;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.sv2-ask-icon {
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    flex-shrink: 0;
}

.sv2-ask-input {
    flex: 1;
    border: none;
    font-size: 15px;
    color: var(--sv2-text);
    font-family: var(--sv2-font);
}

.sv2-ask-input::placeholder {
    color: var(--sv2-text-muted);
}

.sv2-ask-input:focus {
    outline: none;
}

.sv2-ask-actions {
    display: flex;
    align-items: center;
    gap: 4px;
}

.sv2-ask-actions button {
    width: 32px;
    height: 32px;
    border: none;
    background: none;
    color: var(--sv2-text-muted);
    cursor: pointer;
    border-radius: 8px;
}

.sv2-ask-actions button:hover {
    background: rgba(0,0,0,0.06);
    color: var(--sv2-text);
}

.sv2-section-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--sv2-text);
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sv2-section-title .sv2-edit-icon {
    color: var(--sv2-text-muted);
    font-size: 14px;
}

/* Stats section – dashboard KPIs */
.sv2-stats {
    margin-bottom: 28px;
}

.sv2-stat-hero {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 16px;
    margin-bottom: 16px;
    color: #fff;
}

.sv2-stat-hero-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.sv2-stat-hero-body {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 12px 20px;
}

.sv2-stat-hero-label {
    font-size: 13px;
    font-weight: 500;
    opacity: 0.85;
    width: 100%;
}

.sv2-stat-hero-value {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

.sv2-stat-hero-badge {
    font-size: 13px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(255,255,255,0.2);
}

.sv2-stat-hero-periods,
.sv2-stat-hero-detail {
    width: 100%;
    display: flex;
    gap: 20px;
    font-size: 13px;
    opacity: 0.9;
}

.sv2-stat-hero-periods b,
.sv2-stat-hero-detail b {
    font-weight: 600;
    margin-left: 4px;
}

.sv2-stat-tiles,
.sv2-stat-strip {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

@media (min-width: 900px) {
    .sv2-stat-tiles,
    .sv2-stat-strip {
        grid-template-columns: repeat(4, 1fr);
    }
}

.sv2-stat-tile {
    background: #fff;
    border-radius: 12px;
    padding: 14px 16px;
    border: 1px solid var(--sv2-border);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sv2-stat-tile:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.sv2-stat-tile-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.sv2-stat-tile-icon--teal { background: #ccfbf1; color: #0d9488; }
.sv2-stat-tile-icon--blue { background: #dbeafe; color: #2563eb; }
.sv2-stat-tile-icon--violet { background: #ede9fe; color: #7c3aed; }
.sv2-stat-tile-icon--green { background: #dcfce7; color: #16a34a; }
.sv2-stat-tile-icon--orange { background: #ffedd5; color: #ea580c; }
.sv2-stat-tile-icon--red { background: #fee2e2; color: #dc2626; }
.sv2-stat-tile-icon--indigo { background: #e0e7ff; color: #4f46e5; }
.sv2-stat-tile-icon--cyan { background: #cffafe; color: #0891b2; }

.sv2-stat-tile > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.sv2-stat-tile-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--sv2-text-muted);
}

.sv2-stat-tile-value {
    font-size: 17px;
    font-weight: 700;
    color: var(--sv2-text);
    font-variant-numeric: tabular-nums;
}

.sv2-stat-tile-value--neg {
    color: #dc2626;
}

.sv2-stat-tile-badge {
    font-size: 11px;
    font-weight: 600;
    color: var(--sv2-text-muted);
}

.sv2-stat-tile-badge--pos {
    color: #059669;
}

/* ========== Shop dashboard card (boutique overview) ========== */
.sv2-dash-card {
    background: #fff;
    border: 1px solid var(--sv2-border);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 24px;
    margin-bottom: 28px;
    width: 100%;
}

.sv2-dash-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.sv2-dash-card-logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4a853 0%, #b8860b 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    letter-spacing: 0.02em;
    overflow: hidden;
}

.sv2-dash-card-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sv2-dash-btn--upgrade {
    background: #059669;
    border-color: #059669;
    color: #fff;
}

.sv2-dash-btn--upgrade .sv2-dash-btn-icon {
    background: rgba(255,255,255,0.25);
    color: #fff;
}

.sv2-dash-btn--upgrade:hover {
    background: #047857;
    border-color: #047857;
    color: #fff;
}

.sv2-dash-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--sv2-text);
    margin: 0 0 2px;
}

.sv2-dash-card-url {
    font-size: 13px;
    color: var(--sv2-text-muted);
    margin: 0;
}

.sv2-dash-card-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 16px 0;
    border-top: 1px solid var(--sv2-border);
    border-bottom: 1px solid var(--sv2-border);
    margin-bottom: 20px;
}

.sv2-dash-metric {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sv2-dash-metric-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--sv2-text);
    font-variant-numeric: tabular-nums;
}

.sv2-dash-metric-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--sv2-text-muted);
}

.sv2-dash-card-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.sv2-dash-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.sv2-dash-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 500;
    color: var(--sv2-text);
    background: #fff;
    border: 1px solid var(--sv2-border);
    border-radius: 8px;
    text-decoration: none;
    font-family: var(--sv2-font);
    transition: none;
}

.sv2-dash-btn:hover {
    background: #fff;
    border-color: var(--sv2-border);
    color: var(--sv2-text);
}

.sv2-dash-btn-icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: #f1f3f4;
    color: var(--sv2-text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
    transition: none;
}

.sv2-dash-btn:hover .sv2-dash-btn-icon {
    background: #f1f3f4;
    color: var(--sv2-text-muted);
}

.sv2-dash-btn--primary {
    background: #6366f1;
    border-color: #6366f1;
    color: #fff;
}

.sv2-dash-btn--primary .sv2-dash-btn-icon {
    background: rgba(255,255,255,0.25);
    color: #fff;
}

.sv2-dash-btn--primary:hover {
    background: #6366f1;
    border-color: #6366f1;
    box-shadow: none;
}

.sv2-dash-btn--primary:hover .sv2-dash-btn-icon {
    background: rgba(255,255,255,0.25);
}

.sv2-dash-btn--active .sv2-dash-btn-icon {
    background: rgba(99, 102, 241, 0.12);
    color: #6366f1;
}

.sv2-dash-btn--active {
    border-color: #6366f1;
    color: #6366f1;
}

.sv2-dash-btn--active:hover {
    background: transparent;
    border-color: #6366f1;
    color: #6366f1;
}

.sv2-dash-btn--active:hover .sv2-dash-btn-icon {
    background: rgba(99, 102, 241, 0.12);
    color: #6366f1;
}

.sv2-dash-mode {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-left: 4px;
}

.sv2-dash-mode-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--sv2-text-muted);
}

.sv2-dash-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    cursor: pointer;
}

.sv2-dash-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.sv2-dash-toggle-slider {
    position: absolute;
    inset: 0;
    background: #ccc;
    border-radius: 24px;
    transition: 0.2s ease;
}

.sv2-dash-toggle-slider::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    left: 2px;
    bottom: 2px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    transition: 0.2s ease;
}

.sv2-dash-toggle input:checked + .sv2-dash-toggle-slider {
    background: var(--sv2-avatar-green);
}

.sv2-dash-toggle input:checked + .sv2-dash-toggle-slider::before {
    transform: translateX(20px);
}

.sv2-dash-card-ctas {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid var(--sv2-border);
}

@media (max-width: 900px) {
    .sv2-dash-card-ctas {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .sv2-dash-card-ctas {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

/* MW-style CTA buttons (Polaris-like) */
.sv2-dash-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-family: var(--sv2-font);
    transition: background 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.sv2-dash-cta:hover {
    color: #fff;
}

.sv2-dash-cta:focus-visible {
    outline: 2px solid #008060;
    outline-offset: 2px;
}

.sv2-dash-cta-icon {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
}

.sv2-dash-cta--blue {
    background: #2c6ecb;
}

.sv2-dash-cta--blue:hover {
    background: #254e9e;
}

.sv2-dash-cta--green {
    background: #008060;
}

.sv2-dash-cta--green:hover {
    background: #006e52;
}

.sv2-dash-cta--purple {
    background: #6d28d9;
}

.sv2-dash-cta--purple:hover {
    background: #5b21b6;
}

.sv2-dash-cta--telegram {
    background: #0088cc;
}

.sv2-dash-cta--telegram:hover {
    background: #006699;
}

.sv2-companies-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.sv2-telegram-card {
    padding: 0;
}

.sv2-telegram-card .sv2-card-body {
    padding: 16px 24px;
}

.sv2-telegram-card-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.sv2-telegram-card-text {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.sv2-telegram-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--sv2-search-bg);
    color: var(--sv2-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.sv2-telegram-card-title {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 600;
    color: var(--sv2-text);
}

.sv2-telegram-card-desc {
    margin: 0;
    font-size: 14px;
    color: var(--sv2-text-muted);
}

.sv2-telegram-steps {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--sv2-border);
}

.sv2-telegram-steps-list {
    margin: 0 0 16px;
    padding-left: 20px;
    color: var(--sv2-text);
    line-height: 1.6;
}

.sv2-telegram-steps-list li {
    margin-bottom: 8px;
}

.sv2-telegram-steps-list a {
    color: #2563eb;
    text-decoration: none;
}

.sv2-telegram-steps-list a:hover {
    text-decoration: underline;
}

.sv2-telegram-steps-list code {
    background: var(--sv2-search-bg);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 13px;
}

.sv2-tag {
    background: #f1f5f9;
    color: #334155;
    font-weight: 500;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 13px;
}

.sv2-palette-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
}

.sv2-palette-card {
    border: 2px solid var(--sv2-border);
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.sv2-palette-card:hover {
    border-color: #6366f1;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
}

.sv2-palette-card--selected {
    border-color: #6366f1;
    background: #f5f3ff;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.sv2-palette-name {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--sv2-text);
    text-align: center;
}

.sv2-palette-swatches {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

.sv2-palette-swatch {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    flex-shrink: 0;
}

.sv2-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    z-index: 10000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.sv2-toast--success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.sv2-toast--error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.sv2-toast--info {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #93c5fd;
}

.sv2-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

@media (max-width: 900px) {
    .sv2-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* Quick Actions section: 4 cards per row, compact */
.sv2-section-quick-actions {
    margin-top: 32px;
}

.sv2-section-quick-actions .sv2-section-title {
    margin: 0 0 20px;
}

.sv2-section-quick-actions .sv2-section-title i {
    margin-right: 8px;
    color: var(--sv2-text-muted);
}

.sv2-section-quick-actions .sv2-cards-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

@media (max-width: 1200px) {
    .sv2-section-quick-actions .sv2-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .sv2-section-quick-actions .sv2-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .sv2-section-quick-actions .sv2-cards-grid {
        grid-template-columns: 1fr;
    }
}

.sv2-section-quick-actions .sv2-card {
    padding: 16px;
    text-decoration: none;
    color: inherit;
    display: block;
}

.sv2-section-quick-actions .sv2-card-image {
    height: 56px;
    margin-bottom: 10px;
    font-size: 24px;
}

.sv2-section-quick-actions .sv2-card-image i {
    font-size: 24px;
}

.sv2-section-quick-actions .sv2-card-title {
    font-size: 14px;
    margin: 0 0 4px;
}

.sv2-section-quick-actions .sv2-card-desc {
    font-size: 13px;
    margin: 0;
}

/* Quick action card icon colors */
.sv2-qa-icon--store { background: #ede9fe !important; color: #7c3aed !important; }
.sv2-qa-icon--shops { background: #fce7f3 !important; color: #db2777 !important; }
.sv2-qa-icon--orders { background: #cffafe !important; color: #0891b2 !important; }
.sv2-qa-icon--invoice { background: #dcfce7 !important; color: #16a34a !important; }
.sv2-qa-icon--support { background: #ffedd5 !important; color: #ea580c !important; }
.sv2-qa-icon--settings { background: #e0e7ff !important; color: #4f46e5 !important; }

.sv2-card {
    background: #fff;
    border: 1px solid var(--sv2-border);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    transition: box-shadow 0.2s ease;
}

.sv2-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

a.sv2-card.sv2-card--clickable {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

.sv2-card-image {
    width: 100%;
    height: 140px;
    background: #f5f5f5;
    border-radius: 8px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sv2-text-muted);
    font-size: 48px;
    overflow: hidden;
}

.sv2-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sv2-card-image--feature-request {
    background: #faf5ff;
}

.sv2-card-image--feature-request img {
    object-fit: contain;
    padding: 8px;
}

.sv2-card-image--telegram {
    background: #e8f4fd;
    color: #0088cc;
}

.sv2-card-image--shipping {
    background: #fff7ed;
    color: #ea580c;
}

.sv2-card-image--domain {
    background: #f0fdf4;
}

.sv2-card-image--domain img {
    object-fit: contain;
    padding: 6px;
}

.sv2-card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--sv2-text);
    margin: 0 0 8px;
}

.sv2-card-desc {
    font-size: 14px;
    color: var(--sv2-text-muted);
    line-height: 1.5;
    margin: 0 0 16px;
}

.sv2-card-desc a {
    color: #2563eb;
    text-decoration: none;
}

.sv2-card-desc a:hover {
    text-decoration: underline;
}

.sv2-card-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.sv2-card-actions a.sv2-btn-primary,
.sv2-card-actions a.sv2-btn-secondary {
    text-decoration: none !important;
}
.sv2-card-actions a.sv2-btn-primary:hover,
.sv2-card-actions a.sv2-btn-secondary:hover {
    text-decoration: none !important;
    color: inherit;
}
.sv2-card-actions a.sv2-btn-primary:hover {
    color: #fff;
}

.sv2-btn-primary {
    padding: 10px 18px;
    background: var(--sv2-text);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-family: var(--sv2-font);
}

.sv2-btn-primary:hover {
    background: #333;
    text-decoration: none;
    color: #fff;
}

.sv2-btn-secondary {
    padding: 10px 18px;
    background: #fff;
    color: var(--sv2-text);
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    border: 1px solid var(--sv2-border);
    cursor: pointer;
    font-family: var(--sv2-font);
    text-decoration: none;
}

.sv2-btn-secondary:hover {
    background: #f9f9f9;
    text-decoration: none;
    color: var(--sv2-text);
}

.sv2-form-group {
    margin-bottom: 16px;
}

.sv2-password-wrap {
    position: relative;
}

.sv2-password-wrap .sv2-input {
    padding-right: 44px;
}

.sv2-password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--sv2-text-muted);
    padding: 4px;
    font-size: 14px;
}

.sv2-password-toggle:hover {
    color: var(--sv2-text);
}

.sv2-password-strength {
    margin-top: 6px;
    font-size: 12px;
}

.sv2-password-strength--weak { color: #dc2626; }
.sv2-password-strength--medium { color: #d97706; }
.sv2-password-strength--strong { color: #059669; }

.sv2-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--sv2-text);
    margin-bottom: 6px;
}

.sv2-input,
.sv2-select,
.sv2-textarea {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    font-family: var(--sv2-font);
    color: var(--sv2-text);
    background: #fff;
    border: 1px solid var(--sv2-border);
    border-radius: 8px;
}

.sv2-input:focus,
.sv2-select:focus,
.sv2-textarea:focus {
    outline: none;
    border-color: var(--sv2-avatar-green);
    box-shadow: 0 0 0 2px rgba(0, 128, 96, 0.15);
}

.sv2-textarea {
    min-height: 120px;
    resize: vertical;
}

/* Form control (Bootstrap-style class for compatibility: company_settings, etc.) */
.form-control {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    font-family: inherit;
    color: #374151;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.needs-validation .form-control {
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 10px 12px;
    background: #fff;
}

.needs-validation .form-control:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Bootstrap-style compatibility (company_settings, etc.) */
.card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.card-header {
    background: #f8f9fa;
    border-bottom: 1px solid #e5e7eb;
    border-radius: 12px 12px 0 0;
    padding: 16px 20px;
}

.card-header h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #374151;
}

.card-body {
    padding: 20px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -12px;
    margin-left: -12px;
}

.row.g-3 > * { padding: 0 12px; margin-bottom: 16px; }
.row.g-4 > * { padding: 0 12px; margin-bottom: 20px; }

.col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-md-6 { flex: 0 0 50%; max-width: 50%; }
.col-md-12 { flex: 0 0 100%; max-width: 100%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }
.col-sm-12 { flex: 0 0 100%; max-width: 100%; }
.col-auto { flex: 0 0 auto; max-width: none; }

@media (max-width: 768px) {
    .col-md-4, .col-md-6 { flex: 0 0 100%; max-width: 100%; }
}

.position-relative { position: relative; }
.position-absolute { position: absolute; }
.position-fixed { position: fixed; }

.form-label { display: block; margin-bottom: 6px; font-weight: 500; color: var(--sv2-text); }
.form-select {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
}
.form-select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.btn {
    display: inline-block;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-outline-info, .btn-outline-primary {
    background: #5c6ac4;
    color: #fff;
    border-color: #5c6ac4;
}
.btn-outline-info:hover, .btn-outline-primary:hover {
    background: #4a5bb8;
    border-color: #4a5bb8;
    color: #fff;
}

.btn-outline-danger {
    background: transparent;
    color: #dc2626;
    border-color: #dc2626;
}
.btn-outline-danger:hover {
    background: #dc2626;
    color: #fff;
}

.btn-primary { background: #3b82f6; color: #fff; border-color: #3b82f6; }
.btn-primary:hover { background: #2563eb; color: #fff; }
.btn-success { background: #16a34a; color: #fff; border-color: #16a34a; }
.btn-success:hover { background: #15803d; color: #fff; }
.btn-danger { background: #dc2626; color: #fff; border-color: #dc2626; }
.btn-danger:hover { background: #b91c1c; color: #fff; }
.btn-secondary { background: #6b7280; color: #fff; border-color: #6b7280; }
.btn-secondary:hover { background: #4b5563; color: #fff; }
.btn-info { background: #0ea5e9; color: #fff; border-color: #0ea5e9; }
.btn-sm { padding: 6px 12px; font-size: 13px; }

.table { width: 100%; border-collapse: collapse; border: 1px solid #e5e7eb; border-radius: 8px; overflow: hidden; }
.table th { background: #f8f9fa; padding: 12px 16px; font-weight: 600; color: #374151; border-bottom: 1px solid #e5e7eb; text-align: left; }
.table td { padding: 12px 16px; border-bottom: 1px solid #f3f4f6; }
.table-responsive { overflow-x: auto; }

.modal { position: fixed; inset: 0; z-index: 11000; display: none; align-items: center; justify-content: center; padding: 1rem; overflow-x: hidden; overflow-y: auto; }
.modal.show { display: flex !important; }
.modal-backdrop { z-index: 10950 !important; }
.modal.fade .modal-dialog { transition: transform 0.3s ease-out; }
.modal-dialog { max-width: 500px; margin: 1.75rem auto; position: relative; width: 100%; }
.modal-content { background: #fff; border-radius: 12px; box-shadow: 0 10px 25px rgba(0,0,0,0.1); border: none; }
.modal-header { padding: 16px 20px; border-bottom: 1px solid #e5e7eb; background: #f8f9fa; border-radius: 12px 12px 0 0; display: flex; align-items: center; justify-content: space-between; }
.modal-body { padding: 20px; }

.text-muted { color: #6b7280; }
.text-success { color: #16a34a; }
.text-danger { color: #dc2626; }
.text-warning { color: #d97706; }
.text-info { color: #0891b2; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-none { display: none; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 16px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 16px; }
.me-2 { margin-right: 8px; }
.justify-content-between { justify-content: space-between; }
.justify-content-center { justify-content: center; }
.align-items-center { align-items: center; }
.list-unstyled { list-style: none; padding-left: 0; margin: 0; }

.code-input {
    min-height: 150px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.5;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px;
    resize: vertical;
}

.error-message { font-size: 13px; margin-top: 4px; }
.error-message.text-success { color: #16a34a; }
.error-message.text-danger { color: #dc2626; }
.error-message.text-warning { color: #d97706; }
.error-message.text-info { color: #0891b2; }

.alert { padding: 12px 16px; border-radius: 8px; border: 1px solid transparent; }
.alert-success { background: #dcfce7; color: #166534; border-color: #bbf7d0; }
.alert-danger { background: #fee2e2; color: #991b1b; border-color: #fecaca; }
.alert-warning { background: #fef3c7; color: #92400e; border-color: #fde68a; }
.btn-close { background: transparent; border: none; font-size: 1.25rem; opacity: 0.5; cursor: pointer; padding: 0; line-height: 1; }

.fw-semibold { font-weight: 600; }
.fw-bold { font-weight: 700; }
.form-text { font-size: 13px; color: #6b7280; margin-top: 4px; }
.valid-tooltip { font-size: 12px; color: #16a34a; margin-top: 4px; }
.img-fluid { max-width: 100%; height: auto; }
.table-hover tbody tr:hover { background: #f9fafb; }
.animate-bounce { transition: transform 0.2s ease; }
.animate-bounce:hover { transform: translateY(-2px); }

/* Add product form (shopify-style) */
.add-product-container { width: 100%; max-width: none; margin: 0; }
.add-product-card { background: #fff; border: 1px solid #e1e5e9; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); overflow: hidden; }
.add-product-card-header { background: #f8f9fa; border-bottom: 1px solid #e1e5e9; padding: 20px; }
.add-product-card-title { font-size: 18px; font-weight: 600; color: #212b36; margin: 0; }
.add-product-card-body { padding: 20px; }

.shopify-form-group { margin-bottom: 20px; }
.shopify-form-label { display: block; font-size: 14px; font-weight: 500; color: #212b36; margin-bottom: 6px; }
.shopify-form-input,
.shopify-form-select,
.shopify-form-textarea {
    width: 100%;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 14px;
    color: #212b36;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}
.shopify-form-input:focus,
.shopify-form-select:focus,
.shopify-form-textarea:focus {
    outline: none;
    border-color: #5c6ac4;
    box-shadow: 0 0 0 3px rgba(92, 106, 196, 0.1);
}
.shopify-form-textarea { resize: vertical; min-height: 100px; }

.shopify-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 768px) { .shopify-grid-2 { grid-template-columns: 1fr; } }

.shopify-file-upload { display: flex; gap: 8px; align-items: center; }
.shopify-file-input { flex: 1; border: 1px solid #e1e5e9; border-radius: 8px; padding: 10px 12px; font-size: 14px; background: #fff; box-sizing: border-box; }
.shopify-file-input:focus { outline: none; border-color: #5c6ac4; box-shadow: 0 0 0 3px rgba(92, 106, 196, 0.1); }

.shopify-form-actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 24px; padding-top: 20px; border-top: 1px solid #f1f3f4; flex-wrap: wrap; }

.shopify-btn {
    display: inline-flex; align-items: center; justify-content: center; padding: 10px 20px; border-radius: 8px;
    font-size: 14px; font-weight: 500; text-decoration: none; transition: all 0.2s ease; border: 1px solid transparent;
    cursor: pointer; white-space: nowrap;
}
.shopify-btn-primary { background: #5c6ac4; color: #fff; border-color: #5c6ac4; }
.shopify-btn-primary:hover { background: #4c5ab8; border-color: #4c5ab8; color: #fff; }
.shopify-btn-secondary { background: #fff; color: #5c6ac4; border-color: #5c6ac4; }
.shopify-btn-secondary:hover { background: #5c6ac4; color: #fff; }
.shopify-btn-outline { background: #fff; color: #637381; border-color: #e1e5e9; }
.shopify-btn-outline:hover { background: #f8f9fa; color: #5c6ac4; border-color: #5c6ac4; }
.shopify-btn-sm { padding: 6px 12px; font-size: 12px; }

/* Mass add product page */
.mass-add-container { width: 100%; max-width: none; padding: 0; margin: 0; }
.product-form-item {
    background: #f8f9fa;
    border: 1px solid #e1e5e9;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.product-form-item:hover { border-color: #5c6ac4; box-shadow: 0 2px 8px rgba(92, 106, 196, 0.15); }
.product-form-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid #e1e5e9; }
.product-number { font-size: 18px; font-weight: 600; color: #5c6ac4; }
.remove-product-btn {
    background: #dc2626;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}
.remove-product-btn:hover { background: #b91c1c; }
.remove-product-btn i { font-size: 14px; }
@media (max-width: 768px) {
    .product-form-header { flex-direction: column; align-items: flex-start; gap: 10px; }
}

.mass-add-progress { display: none; margin-top: 24px; padding: 20px; background: #f8f9fa; border: 1px solid #e1e5e9; border-radius: 12px; }
.mass-add-progress__title { margin: 0 0 12px; color: #212b36; font-size: 1rem; font-weight: 600; }
.mass-add-progress__bar-wrap { height: 24px; margin-bottom: 12px; border-radius: 8px; overflow: hidden; background: #e1e5e9; }
.mass-add-progress__bar { height: 100%; min-width: 0; border-radius: 8px; background: linear-gradient(135deg, #5c6ac4, #8b5cf6); transition: width 0.3s ease; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; font-weight: 600; }
.mass-add-progress__status { color: #637381; font-size: 14px; }
.mass-add-progress__results { margin-top: 12px; max-height: 300px; overflow-y: auto; }

.sv2-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 600px) {
    .sv2-form-row {
        grid-template-columns: 1fr;
    }
}

.sv2-form-row--3 {
    grid-template-columns: 1fr 1fr 1fr;
}

@media (max-width: 768px) {
    .sv2-form-row--3 {
        grid-template-columns: 1fr;
    }
}

.sv2-profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--sv2-border);
    border-radius: 12px;
}

.sv2-profile-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.sv2-profile-name {
    margin: 0 0 4px;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--sv2-text);
}

.sv2-profile-email {
    margin: 0;
    font-size: 14px;
    color: var(--sv2-text-muted);
}

.sv2-file-upload {
    border: 2px dashed var(--sv2-border);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    cursor: pointer;
    background: #fafafa;
    transition: border-color 0.2s, background 0.2s;
}

.sv2-file-upload:hover {
    border-color: #6366f1;
    background: #f5f3ff;
}

.sv2-file-upload-icon {
    font-size: 32px;
    color: var(--sv2-text-muted);
    margin-bottom: 8px;
}

.sv2-file-upload-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--sv2-text);
}

.sv2-file-upload-hint {
    font-size: 12px;
    color: var(--sv2-text-muted);
    margin-top: 4px;
}

.sv2-file-upload img {
    max-width: 200px;
    max-height: 200px;
    border-radius: 8px;
    margin-bottom: 8px;
}

.sv2-alert-warning {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fcd34d;
}

.sv2-alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
}

.sv2-alert-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.sv2-alert-danger {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.sv2-alert-info {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #93c5fd;
}

.sv2-badge {
    display: inline-block;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 6px;
}

.sv2-badge--warning { background: #fef3c7; color: #92400e; }
.sv2-badge--info { background: #dbeafe; color: #1e40af; }
.sv2-badge--success { background: #dcfce7; color: #166534; }
.sv2-badge--danger { background: #fee2e2; color: #991b1b; }
.sv2-badge--primary { background: #e0e7ff; color: #3730a3; }
.sv2-badge--secondary { background: #f3f4f6; color: #4b5563; }

.sv2-feature-requests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}

.sv2-feature-request-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
}

.sv2-feature-request-title {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--sv2-text);
    flex: 1;
    min-width: 0;
}

.sv2-feature-request-desc {
    margin: 0 0 12px;
    font-size: 13px;
    color: var(--sv2-text-muted);
    line-height: 1.5;
}

.sv2-feature-request-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--sv2-text-muted);
}

.sv2-feature-request-meta i {
    margin-right: 4px;
}

.sv2-invoice-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 8px;
}

.sv2-invoice-option .sv2-card-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.sv2-invoice-option-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(0, 128, 96, 0.1);
    color: var(--sv2-avatar-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 12px;
}

.sv2-invoice-option-title {
    margin: 0 0 8px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--sv2-text);
}

.sv2-invoice-option-desc {
    margin: 0 0 16px;
    font-size: 14px;
    color: var(--sv2-text-muted);
    line-height: 1.5;
    flex: 1;
}

.sv2-invoice-option .sv2-btn-primary,
.sv2-invoice-option .sv2-btn-secondary {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.sv2-card-body--pad-none {
    padding: 0;
}

.sv2-ticket-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.sv2-btn-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--sv2-avatar-green);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.sv2-btn-phone:hover {
    background: #006e52;
    color: #fff;
}

.sv2-btn-phone-mobile {
    display: none;
}

@media (max-width: 600px) {
    .sv2-btn-phone-text { display: none; }
    .sv2-btn-phone-mobile { display: inline; }
}

.sv2-table-responsive {
    overflow-x: auto;
}

.sv2-ticket-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.sv2-ticket-table thead th {
    text-align: left;
    padding: 12px 16px;
    font-weight: 600;
    color: var(--sv2-text);
    background: #f8f9fa;
    border-bottom: 2px solid var(--sv2-border);
}

.sv2-ticket-table tbody td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--sv2-border);
    color: var(--sv2-text);
    vertical-align: middle;
}

.sv2-ticket-table tbody tr:hover {
    background: #fafafa;
}

.sv2-ticket-id {
    font-family: ui-monospace, monospace;
    font-weight: 600;
    color: var(--sv2-avatar-green);
    background: rgba(0, 128, 96, 0.08);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 13px;
}

.sv2-ticket-muted {
    color: var(--sv2-text-muted);
    font-size: 13px;
}

.sv2-ticket-subject {
    font-weight: 500;
    color: var(--sv2-text);
}

.sv2-btn-sm {
    padding: 6px 12px;
    font-size: 13px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.sv2-no-tickets-icon {
    font-size: 48px;
    color: var(--sv2-border);
    margin-bottom: 16px;
}

.sv2-no-tickets-title {
    margin: 0 0 8px;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--sv2-text);
}

.sv2-no-tickets-subtitle {
    margin: 0;
    font-size: 14px;
    color: var(--sv2-text-muted);
}

/* Modal */
.sv2-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.sv2-modal.sv2-modal-open {
    opacity: 1;
    visibility: visible;
}

.sv2-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.sv2-modal-dialog {
    position: relative;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
}

.sv2-modal-dialog--lg {
    max-width: 720px;
}

.sv2-modal-content {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.sv2-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--sv2-border);
    background: linear-gradient(135deg, #5c6ac4, #8b5cf6);
    color: #fff;
    border-radius: 12px 12px 0 0;
}

.sv2-modal-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sv2-modal-close {
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    background: rgba(255,255,255,0.2);
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.sv2-modal-close:hover {
    background: rgba(255,255,255,0.3);
}

.sv2-modal-body {
    padding: 24px;
}

.sv2-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
}

.sv2-modal-footer .sv2-btn-primary,
.sv2-modal-footer .sv2-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Request list (project requests) */
.sv2-request-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.sv2-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 32px;
}

@media (max-width: 640px) {
    .sv2-detail-grid {
        grid-template-columns: 1fr;
    }
}

.sv2-detail-col {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sv2-detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--sv2-border);
}

.sv2-detail-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.sv2-detail-label {
    font-weight: 600;
    color: var(--sv2-text);
    font-size: 13px;
}

.sv2-detail-value {
    color: var(--sv2-text-muted);
    line-height: 1.5;
    font-size: 14px;
}

.sv2-detail-value a {
    color: #5c6ac4;
    text-decoration: none;
}

.sv2-detail-value a:hover {
    text-decoration: underline;
}

/* Plan / pricing page */
.sv2-plan-toggle-wrap {
    margin-bottom: 24px;
}

.sv2-plan-toggle {
    display: inline-flex;
    background: #fff;
    border: 1px solid var(--sv2-border);
    border-radius: 8px;
    padding: 4px;
    gap: 0;
    margin: 0 auto;
}

.sv2-plan-toggle input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.sv2-plan-toggle label {
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    color: var(--sv2-text-muted);
    transition: background 0.2s, color 0.2s;
}

.sv2-plan-toggle input:checked + label {
    background: linear-gradient(135deg, rgb(66, 57, 100), rgb(31, 19, 66));
    color: #fff;
}

.sv2-plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.sv2-plan-card {
    background: #fff;
    border: 1px solid var(--sv2-border);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}

.sv2-plan-card:hover:not(.sv2-plan-card--disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.sv2-plan-card--disabled {
    opacity: 0.6;
    pointer-events: none;
    filter: grayscale(0.4);
}

.sv2-plan-card--popular {
    border-color: rgb(66, 57, 100);
    box-shadow: 0 4px 16px rgba(66, 57, 100, 0.15);
}

.sv2-plan-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, rgb(66, 57, 100), rgb(31, 19, 66));
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.sv2-plan-name {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--sv2-text);
    margin: 0 0 16px;
    text-align: center;
}

.sv2-plan-price {
    text-align: center;
    margin-bottom: 20px;
}

.sv2-plan-price-value {
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, rgb(66, 57, 100), rgb(31, 19, 66));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1.2;
}

.sv2-plan-period {
    font-size: 0.875rem;
    color: var(--sv2-text-muted);
    display: block;
    margin-top: 4px;
}

.sv2-plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    flex-grow: 1;
    font-size: 14px;
    color: var(--sv2-text);
}

.sv2-plan-features li {
    padding: 8px 0 8px 24px;
    border-bottom: 1px solid var(--sv2-border);
    position: relative;
}

.sv2-plan-features li:last-child {
    border-bottom: none;
}

.sv2-plan-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 8px;
    font-weight: 600;
    font-size: 12px;
    background: rgba(66, 57, 100, 0.12);
    color: rgb(66, 57, 100);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sv2-btn-plan {
    width: 100%;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background: linear-gradient(135deg, rgb(66, 57, 100), rgb(31, 19, 66));
    color: #fff;
    margin-top: auto;
    transition: transform 0.2s, box-shadow 0.2s;
}

.sv2-btn-plan:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(66, 57, 100, 0.3);
}

.sv2-btn-plan--disabled {
    background: #ccc !important;
    color: #666 !important;
    cursor: not-allowed;
    opacity: 0.8;
}

/* Plan page: tighter layout, constrained width, smaller typography */
body.sv2-page-plan .sv2-content-inner--full {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}
body.sv2-page-plan .sv2-page-title {
    font-size: 1.35rem;
    margin-bottom: 4px;
    justify-content: center;
    text-align: center;
}
body.sv2-page-plan .sv2-page-title-icon {
    font-size: 1.1rem;
}
body.sv2-page-plan .sv2-page-subtitle {
    font-size: 13px;
    margin-bottom: 20px;
    text-align: center;
}
body.sv2-page-plan .sv2-plan-toggle-wrap {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}
body.sv2-page-plan .sv2-plan-toggle {
    margin: 0;
}
body.sv2-page-plan .sv2-plan-toggle label {
    padding: 8px 16px;
    font-size: 13px;
}
body.sv2-page-plan .sv2-plan-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    max-width: 100%;
}
body.sv2-page-plan .sv2-plan-card {
    padding: 18px 20px;
    border-radius: 10px;
}
body.sv2-page-plan .sv2-plan-name {
    font-size: 1.05rem;
    margin-bottom: 12px;
}
body.sv2-page-plan .sv2-plan-price {
    margin-bottom: 14px;
}
body.sv2-page-plan .sv2-plan-price-value {
    font-size: 1.45rem;
}
body.sv2-page-plan .sv2-plan-period {
    font-size: 0.8rem;
    margin-top: 2px;
}
body.sv2-page-plan .sv2-plan-features {
    font-size: 13px;
    margin-bottom: 18px;
}
body.sv2-page-plan .sv2-plan-features li {
    padding: 6px 0 6px 22px;
}
body.sv2-page-plan .sv2-plan-features li::before {
    width: 14px;
    height: 14px;
    font-size: 10px;
    top: 6px;
}
body.sv2-page-plan .sv2-btn-plan {
    padding: 12px 20px;
    font-size: 0.95rem;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .sv2-plan-grid {
        grid-template-columns: 1fr;
    }
    .sv2-plan-card--popular {
        transform: none;
    }
    body.sv2-page-plan .sv2-content-inner--full {
        padding: 0 16px;
    }
    body.sv2-page-plan .sv2-plan-grid {
        gap: 14px;
    }
    body.sv2-page-plan .sv2-plan-card {
        padding: 16px;
    }
}

.sv2-referral-inner {
    max-width: 560px;
    margin: 0 auto;
    padding: 40px 24px;
    text-align: center;
}

.sv2-referral-hero {
    padding: 24px 0;
}

.sv2-referral-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    color: #fff;
}

.sv2-referral-icon--active {
    background: linear-gradient(135deg, rgb(66, 57, 100), rgb(76, 67, 110));
}

.sv2-referral-icon--locked {
    background: linear-gradient(135deg, #5c6ac4, #4c51bf);
}

.sv2-referral-title {
    margin: 0 0 12px;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--sv2-text);
}

.sv2-referral-subtitle {
    margin: 0 0 16px;
    font-size: 1rem;
    color: var(--sv2-text-muted);
}

.sv2-referral-desc {
    margin: 0 auto 24px;
    max-width: 480px;
    font-size: 14px;
    color: var(--sv2-text-muted);
    line-height: 1.5;
}

.sv2-referral-hero .sv2-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.sv2-card-actions .sv2-ask-input {
    padding: 10px 12px;
    border: 1px solid var(--sv2-border);
    border-radius: 8px;
    background: #fff;
}

.sv2-card-actions .sv2-ask-input:focus {
    border-color: var(--sv2-avatar-green);
    box-shadow: 0 0 0 2px rgba(0, 128, 96, 0.15);
}

.sv2-card-inline {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.sv2-card-inline .sv2-card-image {
    width: 80px;
    height: 80px;
    margin: 0;
    flex-shrink: 0;
}

.sv2-card-inline .sv2-card-title {
    margin: 0 0 4px;
}

.sv2-cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

@media (max-width: 768px) {
    .sv2-cards-row {
        grid-template-columns: 1fr;
    }
}

/* Expandable sidebar JS */
.sv2-nav-toggle {
    width: 100%;
}

/* Telegram settings page */
.telegram-settings-card { background: #fff; border-radius: 12px; border: 1px solid #e1e5e9; overflow: hidden; margin-bottom: 24px; }
.telegram-settings-header { background: #f8f9fa; padding: 20px; border-bottom: 1px solid #e1e5e9; }
.telegram-settings-header h2 { color: #0088cc; margin: 0; font-size: 1.125rem; font-weight: 600; line-height: 1.3; }
.telegram-settings-header p { color: #637381; margin: 6px 0 0 0; font-size: 14px; }
.telegram-settings-content { padding: 24px; }
.telegram-settings .form-group { margin-bottom: 20px; }
.telegram-settings .form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: #212b36; font-size: 14px; }
.btn-telegram { background: #0088cc; color: #fff; padding: 12px 24px; border: none; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; transition: background 0.2s; display: inline-flex; align-items: center; gap: 8px; }
.btn-telegram:hover { background: #006699; color: #fff; }
.telegram-companies-table { background: #fff; border-radius: 12px; border: 1px solid #e1e5e9; overflow: hidden; margin-bottom: 24px; }
.telegram-companies-table table { width: 100%; margin: 0; border-collapse: collapse; }
.telegram-companies-table th { background: #f8f9fa; color: #495057; font-weight: 600; padding: 14px 16px; text-align: left; border: 1px solid #e1e5e9; font-size: 13px; }
.telegram-companies-table td { padding: 14px 16px; border-bottom: 1px solid #e1e5e9; border-right: 1px solid #e1e5e9; vertical-align: middle; font-size: 14px; }
.telegram-company-name { font-weight: 600; color: #212b36; }
.telegram-company-url { color: #637381; font-size: 12px; font-style: italic; }
.telegram-toggle-btn { background: #6b7280; color: #fff; border: 1px solid #6b7280; padding: 8px 14px; border-radius: 8px; cursor: pointer; font-size: 13px; font-weight: 500; text-decoration: none; display: inline-block; transition: all 0.2s; }
.telegram-toggle-btn:hover { background: #4b5563; border-color: #4b5563; color: #fff; text-decoration: none; }
.telegram-toggle-btn.active { background: #16a34a; border-color: #16a34a; }
.telegram-toggle-btn.active:hover { background: #15803d; border-color: #15803d; }
.telegram-status-badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; }
.telegram-status-enabled { background: #dcfce7; color: #166534; }
.telegram-status-disabled { background: #fee2e2; color: #991b1b; }

/* ========== Reusable: Store/Company info card (mw-info-card) – simple one-line bar ========== */
.mw-info-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
    padding: 14px 20px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    color: #fff;
    font-size: 14px;
}
.mw-info-card i { opacity: 0.9; }
.mw-info-card strong { font-weight: 600; margin-right: 0.25rem; }

/* ========== Reusable: Config/partner modal (mw-modal) ========== */
.mw-modal-dialog { max-width: 1140px; margin: 1.75rem auto; }
.mw-modal .modal-content { border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,0.15); border: none; overflow: hidden; }
.mw-modal .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}
.mw-modal .mw-modal-header-logo { margin-right: 16px; flex-shrink: 0; }
.mw-modal .mw-modal-header-logo img { height: 44px; width: auto; padding: 6px; border-radius: 10px; object-fit: contain; }
.mw-modal .mw-modal-header-text { flex: 1; min-width: 0; }
.mw-modal .mw-modal-header-text .modal-title { margin: 0; font-size: 1.125rem; font-weight: 600; color: #1e293b; }
.mw-modal .mw-modal-header-text small { display: block; margin-top: 2px; color: #64748b; font-size: 13px; }
.mw-modal .modal-body { padding: 24px; }
.mw-modal .modal-footer { padding: 20px 24px; background: #f8fafc; border-top: 1px solid #e2e8f0; }
.mw-modal-service-card {
    background: #f1f5f9;
    border: none;
    border-radius: 12px;
    margin-bottom: 24px;
}
.mw-modal-service-card .card-body { padding: 16px 20px; }
.mw-modal-service-card h6 { margin: 0 0 4px; font-size: 1rem; font-weight: 600; color: #334155; }
.mw-modal-service-card .text-muted { font-size: 13px; }
.mw-modal .form-text { font-size: 12px; color: #64748b; margin-top: 6px; }
.mw-modal .input-group-text { background: #f1f5f9; border-color: #e2e8f0; }
.mw-modal .alert-info { border-radius: 12px; }

/* ========== Reusable: Delivery/partner selection card (mw-delivery-card) ========== */
.mw-delivery-card {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    border: 2px solid transparent;
}
.mw-delivery-card:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    border-color: #1e293b;
}
.mw-delivery-card.mw-delivery-card--featured {
    border: 3px solid #f59e0b;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.25);
}
.mw-delivery-card.mw-delivery-card--featured:hover { box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35); }
.mw-delivery-card__logo {
    background: #fff;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    display: inline-block;
    transition: box-shadow 0.2s;
}
.mw-delivery-card__logo img { max-height: 80px; width: auto; object-fit: contain; }
.mw-delivery-card:hover .mw-delivery-card__logo { box-shadow: 0 6px 18px rgba(0,0,0,0.12); }
.mw-delivery-card__features .badge { font-size: 0.75rem; padding: 0.5rem 0.75rem; }
.mw-delivery-card .btn { transition: box-shadow 0.2s; }
.mw-delivery-card .btn:hover { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12); }

/* Badge variants for modals/delivery (reuse anywhere) */
.badge { display: inline-block; padding: 0.35em 0.65em; font-size: 0.75rem; font-weight: 600; line-height: 1; border-radius: 8px; }
.bg-success { background: #16a34a; color: #fff; }
.bg-primary { background: #3b82f6; color: #fff; }
.bg-info { background: #0ea5e9; color: #fff; }
.bg-warning { background: #eab308; color: #1e293b; }
.bg-secondary { background: #64748b; color: #fff; }
.text-dark { color: #1e293b; }
.fw-bold { font-weight: 600; }
.fs-6 { font-size: 1rem; }
.input-group { display: flex; }
.input-group .form-control { border-radius: 0 8px 8px 0; }
.input-group .form-control:first-child { border-radius: 8px 0 0 8px; }
.input-group-text { padding: 10px 14px; border: 1px solid #d1d5db; border-radius: 8px 0 0 8px; font-size: 14px; }
.input-group-lg .form-control, .input-group-lg .input-group-text { padding: 12px 16px; font-size: 16px; }
.input-group-lg .input-group-text:last-child { border-radius: 0 8px 8px 0; border-left: 0; }
.input-group .form-control + .input-group-text { border-radius: 0 8px 8px 0; border-left: 0; }

/* ========== Product reviews page ========== */
.mw-reviews-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; flex-wrap: wrap; gap: 16px; }
.mw-reviews-title { font-size: 1.35rem; font-weight: 600; color: #202223; margin: 0; }
.mw-reviews-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.mw-reviews-filter-btn { padding: 8px 16px; border: 1px solid #e1e5e9; border-radius: 8px; background: #fff; color: #202223; text-decoration: none; font-size: 14px; font-weight: 500; transition: all 0.2s; }
.mw-reviews-filter-btn:hover { background: #f6f6f7; border-color: #008060; color: #008060; }
.mw-reviews-filter-btn.active { background: #008060; border-color: #008060; color: #fff; }
.mw-reviews-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 24px; }
.mw-reviews-stat-card { background: #fff; border: 1px solid #e1e5e9; border-radius: 12px; padding: 20px; }
.mw-reviews-stat-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.mw-reviews-stat-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; color: #fff; }
.mw-reviews-stat-icon.info { background: linear-gradient(135deg, #2196f3, #1976d2); }
.mw-reviews-stat-icon.warning { background: linear-gradient(135deg, #ff9800, #f57c00); }
.mw-reviews-stat-icon.success { background: linear-gradient(135deg, #008060, #006e52); }
.mw-reviews-stat-icon.danger { background: linear-gradient(135deg, #dc3545, #c82333); }
.mw-reviews-stat-title { font-size: 14px; color: #6d7175; margin: 0; }
.mw-reviews-stat-value { font-size: 24px; font-weight: 600; color: #202223; margin: 0; }
.mw-reviews-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 992px) { .mw-reviews-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .mw-reviews-list { grid-template-columns: 1fr; gap: 16px; } }
.mw-reviews-item { background: #fff; border: 1px solid #e1e5e9; border-radius: 12px; padding: 20px; }
.mw-reviews-item-product { margin-bottom: 12px; font-size: 13px; }
.mw-reviews-item-product .label { color: #6d7175; }
.mw-reviews-item-product .name { color: #202223; font-weight: 500; text-decoration: underline; }
.mw-reviews-stars { display: flex; gap: 4px; align-items: center; margin-bottom: 16px; }
.mw-reviews-stars i { font-size: 16px; }
.mw-reviews-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; flex-wrap: wrap; gap: 12px; }
.mw-reviews-user { display: flex; align-items: center; gap: 12px; }
.mw-reviews-avatar { width: 40px; height: 40px; border-radius: 50%; background: #f5f5f5; display: flex; align-items: center; justify-content: center; color: #202223; font-weight: 600; font-size: 14px; border: 1px solid #e1e5e9; }
.mw-reviews-user-name { font-weight: 600; color: #202223; font-size: 15px; }
.mw-reviews-user-email { color: #6d7175; font-size: 12px; margin-top: 2px; }
.mw-reviews-date-status { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.mw-reviews-date { color: #6d7175; font-size: 13px; }
.mw-reviews-status { padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; text-transform: uppercase; }
.mw-reviews-status.pending { background: #fff3cd; color: #856404; }
.mw-reviews-status.approved { background: #d4edda; color: #155724; }
.mw-reviews-status.rejected { background: #f8d7da; color: #721c24; }
.mw-reviews-message { color: #202223; line-height: 1.6; font-size: 15px; margin: 8px 0 16px; }
.mw-reviews-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; padding-top: 16px; border-top: 1px solid #e1e5e9; }
.mw-reviews-empty { text-align: center; padding: 60px 20px; color: #6d7175; grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 300px; }
.mw-reviews-empty i { font-size: 48px; margin-bottom: 16px; color: #e1e5e9; }
.mw-reviews-empty h3 { margin: 0 0 8px; color: #202223; }
.mw-reviews-empty p { margin: 0; }

/* Team page – minimal (use card, table, btn) */
.gap-2 { gap: 8px; }
.align-items-center { align-items: center; }
.team-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #5c6ac4, #4c51bf); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 600; font-size: 14px; flex-shrink: 0; }
.team-role-badge { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 500; }
.team-role-badge.role-admin { background: #fef3c7; color: #92400e; }
.team-role-badge.role-manager { background: #dbeafe; color: #1e40af; }
.team-role-badge.role-member { background: #f3f4f6; color: #374151; }
.form-check { display: flex; align-items: center; gap: 8px; }
.form-check-input { width: 1rem; height: 1rem; margin: 0; }
.form-check-label { margin: 0; font-size: 14px; }

/* ===== Auth pages (login, reset, signup) – MW admin style, Geist font ===== */
body.auth-login-page,
body.auth-reset-page,
body.auth-signup-page {
  background: #050917;
  font-family: var(--sv2-font);
}
body.auth-login-page .nav-container,
body.auth-reset-page .nav-container,
body.auth-signup-page .nav-container { display: none; }
[dir="rtl"] body.auth-login-page,
[dir="rtl"] body.auth-reset-page,
[dir="rtl"] body.auth-signup-page {
  font-family: "Cairo", var(--sv2-font);
}
.auth-page {
  min-height: 100vh;
  background: #050917;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 20px 24px;
  font-family: inherit;
  position: relative;
  overflow: hidden;
}
/* Auth page: same scrolling background as home hero */
.auth-page .hero-bg-images-wrap.auth-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.auth-page .hero-bg-images-wrap .hero-bg-images {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200%;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(8, 1fr);
  gap: 2px;
  pointer-events: none;
  animation: hero-bg-scroll-up 55s linear infinite;
}
.auth-page .hero-bg-images-wrap .hero-bg-image-tile {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.12;
}
.auth-page .hero-bg-overlay.auth-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 0.5;
  background: linear-gradient(180deg, rgba(5, 9, 23, 0.45) 0%, rgba(5, 9, 23, 0.55) 50%, rgba(5, 9, 23, 0.6) 100%);
  pointer-events: none;
}
.auth-page .auth-container {
  position: relative;
  z-index: 1;
}
@keyframes hero-bg-scroll-up {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}
.auth-logo { margin-bottom: 24px; text-align: center; }
.auth-logo a { display: inline-block; }
.auth-logo img { height: 48px; width: auto; display: block; border-radius: 12px; }
.auth-container {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 4px 24px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: min(440px, calc(100vw - 40px));
  min-width: 0;
  min-height: 400px;
  padding: 32px 28px;
  font-family: inherit;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
.auth-login-page .auth-container,
.auth-reset-page .auth-container,
.auth-signup-page .auth-container {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}
.auth-header { text-align: left; margin-bottom: 24px; }
.auth-title {
  font-family: inherit;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--sv2-text, #212121);
  margin: 0 0 4px;
  letter-spacing: -0.02em;
}
.auth-subtitle { color: var(--sv2-text-muted, #6b7280); font-size: 0.9375rem; margin: 0; font-family: inherit; }
.auth-form { width: 100%; }
.auth-form-row { display: flex; gap: 12px; margin-bottom: 18px; }
.auth-form-row .auth-group { flex: 1; margin-bottom: 0; }
.auth-hint { display: block; margin-top: 4px; font-size: 12px; color: var(--sv2-text-muted, #6b7280); }
.auth-group { margin-bottom: 18px; }
.auth-label { display: block; font-weight: 500; color: var(--sv2-text, #374151); margin-bottom: 6px; font-size: 14px; font-family: inherit; }
.auth-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--sv2-border, #e0e0e0);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background: #fff;
  box-sizing: border-box;
  color: var(--sv2-text, #1a1b1c);
}
.auth-input:focus {
  outline: none;
  border-color: var(--sv2-avatar-green, #008060);
  box-shadow: 0 0 0 2px rgba(0, 128, 96, 0.15);
}
.auth-password-wrap { position: relative; }
.auth-password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--sv2-text-muted, #6b7280);
  cursor: pointer;
  padding: 4px;
  font-size: 1rem;
}
.auth-forgot { text-align: right; margin-bottom: 16px; }
.auth-forgot a { color: var(--sv2-text-muted, #6b7280); text-decoration: none; font-size: 14px; font-family: inherit; }
.auth-forgot a:hover { color: var(--sv2-text, #1a1b1c); text-decoration: underline; }
.auth-btn {
  width: 100%;
  background: #1a1b1c;
  color: #fff;
  border: 1px solid #1a1b1c;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.auth-btn:hover { background: #000; color: #fff; border-color: #000; transform: translateY(-1px); }
.auth-footer {
  text-align: center;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--sv2-border, #e5e7eb);
  font-family: inherit;
}
.auth-footer p { color: var(--sv2-text-muted, #6b7280); font-size: 14px; margin: 0; font-family: inherit; }
.auth-footer a { color: var(--sv2-avatar-green, #008060); text-decoration: none; font-weight: 500; font-family: inherit; }
.auth-footer a:hover { text-decoration: underline; }
.auth-page .message {
  padding: 12px 14px;
  border-radius: 8px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
}
.auth-page .message.success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.auth-page .message.error { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.auth-page-footer { margin-top: 32px; text-align: center; font-family: inherit; }
.auth-help-link {
  display: inline-block;
  color: #9ca3af;
  font-size: 14px;
  font-family: inherit;
  text-decoration: none;
  margin-bottom: 20px;
}
.auth-help-link:hover { color: #d1d5db; text-decoration: underline; }
.auth-legal {
  color: var(--sv2-text-muted, #6b7280);
  font-size: 13px;
  font-family: inherit;
  margin: 0;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}
.auth-legal a { color: #9ca3af; text-decoration: none; }
.auth-legal a:hover { text-decoration: underline; }
@media (max-width: 768px) {
  .auth-container { padding: 24px 20px; max-width: 100%; min-height: 360px; }
  .auth-title { font-size: 1.35rem; }
  .auth-form-row { flex-direction: column; gap: 0; margin-bottom: 18px; }
  .auth-form-row .auth-group { margin-bottom: 18px; }
  .auth-form-row .auth-group:last-child { margin-bottom: 0; }
}
@media (max-width: 380px) {
  .auth-page { padding: 24px 16px 20px; }
  .auth-container { padding: 24px 16px; min-height: 320px; }
}
[dir="rtl"] .auth-header { text-align: right; }
[dir="rtl"] .auth-password-toggle { right: auto; left: 12px; }
[dir="rtl"] .auth-forgot { text-align: left; }
[dir="rtl"] .auth-page .message { flex-direction: row-reverse; text-align: right; }

/* Fixed language switcher on auth pages (login, reset-password) */
.auth-lang-fixed {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 9999;
}
/* Auth language switcher – transparent background */
.auth-lang-fixed .language-toggle {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #e5e7eb;
}
.auth-lang-fixed .language-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}
.auth-lang-fixed .language-arrow {
  color: rgba(255, 255, 255, 0.7);
}
.auth-lang-fixed .language-options {
  background: rgba(26, 27, 28, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.auth-lang-fixed .language-option {
  color: #e5e7eb;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.auth-lang-fixed .language-option:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

/* Reset-password page – same layout as login */
.auth-strength { margin-top: 8px; font-size: 0.8rem; color: #6b7280; }
.auth-strength-bar { height: 4px; background: #e5e7eb; border-radius: 2px; overflow: hidden; margin-top: 4px; }
.auth-strength-fill { height: 100%; transition: width 0.3s ease; border-radius: 2px; }
.auth-strength-fill.strength-weak { background: #ef4444; width: 25%; }
.auth-strength-fill.strength-fair { background: #f59e0b; width: 50%; }
.auth-strength-fill.strength-good { background: #10b981; width: 75%; }
.auth-strength-fill.strength-strong { background: #059669; width: 100%; }
[dir="rtl"] .auth-strength { text-align: right; }

/* Auth pages: fixed "Call please" phone icon */
.fixed-contact-icons {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.contact-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  color: #fff;
}
.contact-icon.phone-icon {
  background: linear-gradient(135deg, #25D366, #128C7E);
}
[dir="rtl"] .fixed-contact-icons { right: auto; left: 20px; }

/* Order sidebar (company sub-nav) – compact grouped layout */
.order-sidebar {
  margin-bottom: 16px;
}
.order-sidebar__inner {
  background: linear-gradient(180deg, #fff 0%, #fafbfc 100%);
  border: 1px solid var(--sv2-border, #e5e7eb);
  border-radius: 8px;
  padding: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}
.order-sidebar__header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: linear-gradient(135deg, #008060 0%, #006e52 100%);
  color: #fff;
}
.order-sidebar__header-icon {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  font-size: 12px;
}
.order-sidebar__header-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.order-sidebar__nav {
  padding: 10px 12px 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.order-sidebar__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--sv2-text, #374151);
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.03);
}
.order-sidebar__link .order-sidebar__icon {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sv2-nav-bg, #f3f4f6);
  border-radius: 6px;
  font-size: 12px;
  color: var(--sv2-avatar-green, #008060);
  transition: all 0.2s ease;
}
.order-sidebar__link:hover {
  background: #f8faf9;
  border-color: rgba(0, 128, 96, 0.3);
  color: var(--sv2-text, #111827);
  text-decoration: none;
  box-shadow: 0 1px 4px rgba(0, 128, 96, 0.08);
}
.order-sidebar__link:hover .order-sidebar__icon {
  background: rgba(0, 128, 96, 0.12);
  color: #006e52;
}
.order-sidebar__link.active {
  background: linear-gradient(135deg, #008060 0%, #006e52 100%);
  border-color: #008060;
  color: #fff;
  box-shadow: 0 1px 4px rgba(0, 128, 96, 0.3);
}
.order-sidebar__link.active .order-sidebar__icon {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}
.order-sidebar__link.active:hover {
  background: linear-gradient(135deg, #006e52 0%, #005a43 100%);
  border-color: #006e52;
  color: #fff;
  box-shadow: 0 2px 6px rgba(0, 128, 96, 0.35);
}
.order-sidebar__link.active:hover .order-sidebar__icon {
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
}
.order-sidebar__cta {
  flex-basis: 100%;
  width: 100%;
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--sv2-border, #e5e7eb);
}
.order-sidebar__btn-store {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #008060 0%, #006e52 100%);
  border: none;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 128, 96, 0.25);
}
.order-sidebar__btn-store:hover {
  background: linear-gradient(135deg, #006e52 0%, #005a43 100%);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 128, 96, 0.35);
}
@media (max-width: 768px) {
  .order-sidebar__nav { padding: 8px 10px 10px; gap: 6px; }
  .order-sidebar__link { padding: 4px 8px; font-size: 11px; }
  .order-sidebar__link .order-sidebar__icon { width: 22px; height: 22px; font-size: 11px; }
  .order-sidebar__header { padding: 6px 10px; }
  .order-sidebar__header-icon { width: 22px; height: 22px; font-size: 11px; }
  .order-sidebar__header-title { font-size: 11px; }
}
@media (max-width: 480px) {
  .order-sidebar__nav { flex-direction: column; align-items: stretch; }
  .order-sidebar__link { width: 100%; }
  .order-sidebar__btn-store { width: 100%; padding: 8px; }
}
