/* Navbar logo now text-based to align with menu font */
.navbar-brand-text {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 600;
    font-size: 1rem;
    color: inherit;
    text-decoration: none;
    letter-spacing: 0.05em;
}

.navbar-brand-text:hover,
.navbar-brand-text:focus {
    color: inherit;
}

.navbar-brand-image {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    object-fit: cover;
}

.navbar-brand-title {
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
}

/* Sales Data custom styles */

/* Dropdowny filtrow nie zamykaja sie przy interakcji */
.dropdown-menu .form-range {
    cursor: pointer;
}

/* Kompaktowe badge na chipach */
.badge .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.badge .btn-close:hover {
    opacity: 1;
}

/* Shop list: full-height layout - page doesn't scroll, only the table does */
.page.shop-list-page {
    height: 100vh !important;
    overflow: hidden !important;
}

.page.shop-list-page > .page-wrapper {
    display: flex !important;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    min-width: 0;
    overflow: hidden !important;
}

.shop-list-page .page-wrapper > .page-header {
    flex-shrink: 0;
    position: static;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.shop-list-page .page-wrapper > .page-body {
    flex: 1;
    min-height: 0;
    overflow: hidden;
    margin-top: 0 !important;
    padding-top: 0 !important;
    margin-top: 0;
}

.shop-list-page .page-wrapper > .footer {
    display: none;
}

.shop-list-page .page-wrapper > .page-body > .container-fluid {
    height: 100%;
    padding-left: 0;
    padding-right: 0;
}

.shop-list-page .page-body > .container-fluid > .shop-list-layout {
    height: 100%;
    display: flex;
}

.shop-list-page .card {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.shop-list-page .card > .card-header {
    flex: 0 0 auto;
    background: transparent;
    border-bottom: 1px solid var(--tblr-border-color);
    border-radius: 0;
    padding-left: 0;
    padding-right: 0;
}

.shop-list-page .card > .card-body {
    flex: 0 0 auto;
    padding-left: 0;
    padding-right: 0;
}

.shop-list-page .card > .card-footer {
    flex: 0 0 auto;
    background: transparent;
    border-top: 1px solid var(--tblr-border-color);
    border-radius: 0;
    padding-left: 0;
    padding-right: 0;
}

/* Shop list toolbar layout */
.shop-list-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.shop-list-actions > * {
    flex: 0 0 auto;
}

.shop-list-actions .shop-list-search {
    flex: 1 1 220px;
    min-width: 220px;
}

.shop-list-actions .btn,
.shop-list-actions .dropdown {
    flex-shrink: 0;
}

@media (max-width: 767.98px) {
    .shop-list-actions {
        align-items: stretch;
    }

    .shop-list-actions .btn,
    .shop-list-actions .dropdown {
        width: 100%;
    }
}

/* Sticky thead for shop table */
.shop-table-scroll {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    scrollbar-gutter: stable;
}

.shop-table-scroll table {
    border-collapse: separate !important;
    border-spacing: 0;
}

.shop-table-scroll thead th {
    position: sticky;
    top: 0;
    z-index: 10;
    background: var(--tblr-bg-surface);
    border-bottom: 1px solid var(--tblr-border-color) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

/* Unconfirmed platform badge - subtle fill, readable on both themes */
.badge-unconfirmed {
    background: rgba(var(--tblr-secondary-rgb), 0.2);
    border: 1px solid rgba(var(--tblr-secondary-rgb), 0.35);
    color: var(--tblr-body-color);
}

/* Fixed-width badges in shop table */
.shop-table-scroll .badge {
    display: inline-block;
    min-width: 7rem;
    text-align: center;
}

/* Filter button badge contrast on hover */
.btn-outline-primary:hover .badge,
.btn-outline-secondary:hover .badge {
    outline: 1px solid #fff;
    outline-offset: 1px;
}

/* Add Shop dropdown polish */
.add-shop-dropdown-menu {
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.add-shop-dropdown-card {
    min-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border-radius: var(--app-radius-md, 0.75rem);
    border: 1px solid rgba(var(--tblr-primary-rgb), 0.18);
    box-shadow: 0 24px 40px rgba(15, 23, 42, 0.15);
    padding: 1rem;
    background: var(--tblr-bg-surface);
}

.add-shop-dropdown-card .form-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--tblr-secondary);
    margin-bottom: 0.35rem;
}

.add-shop-dropdown-card .form-control {
    height: 44px;
}

@media (max-width: 575.98px) {
    .add-shop-dropdown-card {
        min-width: auto;
        width: calc(100vw - 2rem);
    }
}

/* Permanent filter sidebar */
.shop-list-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.shop-filter-sidebar {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--tblr-border-color);
}

.shop-filter-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--tblr-border-color);
    flex-shrink: 0;
}

.shop-filter-sidebar-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    scrollbar-gutter: stable;
}

.filter-sidebar-groups {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0.25rem 0;
}

.shop-filter-sidebar-footer {
    padding: 0.75rem;
    flex-shrink: 0;
}

@media (max-width: 1199.98px) {
    .shop-filter-sidebar {
        display: none;
    }
}

/* Compact filter chips */
.chip-compact {
    padding: 0.3em 0.65em !important;
    font-size: 0.75rem !important;
    margin: 0.1em 0.15em !important;
}

/* Pill toggle for confirm/reject */
.pill-toggle {
    display: inline-flex;
    border-radius: 999px;
    border: 1px solid var(--tblr-border-color);
    background: var(--tblr-bg-surface);
    overflow: hidden;
}

.pill-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 28px;
    border: none;
    background: transparent;
    color: var(--tblr-secondary);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    padding: 0;
}

.pill-toggle-btn:first-child {
    border-right: 1px solid var(--tblr-border-color);
}

.pill-toggle-btn:hover:not(.is-active) {
    background: var(--tblr-bg-surface-secondary);
}

.pill-toggle-btn.is-confirm.is-active {
    background: var(--tblr-success);
    color: #fff;
}

.pill-toggle-btn.is-reject.is-active {
    background: var(--tblr-danger);
    color: #fff;
}

.pill-toggle-btn .icon {
    width: 16px;
    height: 16px;
}

/* Action pill - grouped actions button */
.action-pill {
    display: inline-flex;
    border-radius: var(--app-radius-sm, 0.5rem);
    border: 1px solid var(--tblr-border-color);
    background: var(--tblr-bg-surface);
}

.action-pill a,
.action-pill button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.25rem;
    border: none;
    background: transparent;
    color: var(--tblr-secondary);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    padding: 0;
    text-decoration: none;
}

.action-pill a + a,
.action-pill a + button,
.action-pill button + a,
.action-pill button + button {
    border-left: 1px solid var(--tblr-border-color);
}

.action-pill a:hover,
.action-pill button:hover {
    background: rgba(var(--tblr-primary-rgb), 0.1);
    color: var(--tblr-primary);
}

.action-pill .action-pill-primary:hover {
    background: var(--tblr-primary);
    color: #fff;
}

.action-pill .action-pill-danger:hover {
    background: var(--tblr-danger);
    color: #fff;
}

.action-pill > :first-child {
    border-radius: var(--app-radius-sm, 0.5rem) 0 0 var(--app-radius-sm, 0.5rem);
}

.action-pill > :last-child,
.action-pill > :last-child > button {
    border-radius: 0 var(--app-radius-sm, 0.5rem) var(--app-radius-sm, 0.5rem) 0;
}

.action-pill .icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* Dropdown inside action-pill: inherit pill button styling */
.action-pill .dropdown {
    display: inline-flex;
    border-left: 1px solid var(--tblr-border-color);
}

.action-pill .dropdown > button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.25rem;
    border: none;
    background: transparent;
    color: var(--tblr-secondary);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    padding: 0;
}

.action-pill .dropdown > button:hover {
    background: rgba(var(--tblr-primary-rgb), 0.1);
    color: var(--tblr-primary);
}

.action-pill .dropdown > button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

/* Feature card grid */
.feature-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.75rem;
}

.feature-card {
    position: relative;
    border: 1px solid var(--tblr-border-color);
    border-radius: var(--app-radius-sm);
    padding: 1rem;
    background: var(--tblr-bg-surface);
    transition: border-color 0.15s, background 0.15s;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.feature-card.is-confirmed {
    background: rgba(var(--tblr-success-rgb), 0.08);
    border-color: var(--tblr-success);
}

.feature-card:hover {
    border-color: var(--tblr-primary);
}

.feature-card-title {
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--tblr-secondary);
    margin-bottom: 0.5rem;
}

.feature-card-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.feature-card-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--tblr-body-color);
}

.feature-card-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
}

.feature-card-badge.is-confirmed {
    position: absolute;
    top: 0.375rem;
    right: 0.375rem;
    padding: 0;
    color: var(--tblr-success);
}

.feature-card-badge .icon {
    width: 14px;
    height: 14px;
}

.feature-card-source {
    display: inline-flex;
    align-items: center;
    color: var(--tblr-secondary);
}

.feature-card-source .icon {
    width: 14px;
    height: 14px;
}

.feature-card-actions {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.375rem;
}

.feature-card-actions a,
.feature-card-actions button {
    display: inline-flex;
    align-items: center;
    color: var(--tblr-secondary);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.15s;
}

.feature-card-actions a:hover,
.feature-card-actions button:hover {
    color: var(--tblr-body-color);
}

.feature-card-actions .icon {
    width: 14px;
    height: 14px;
}

/* Feature card curator toolbar - bottom-right, revealed on hover */
.feature-card-curator {
    position: absolute;
    bottom: 0.375rem;
    right: 0.375rem;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.feature-card:hover .feature-card-curator {
    opacity: 1;
}

/* Smaller pill toggle variant for inline use */
.pill-toggle-sm .pill-toggle-btn {
    width: 26px;
    height: 22px;
}

.pill-toggle-sm .pill-toggle-btn .icon {
    width: 12px;
    height: 12px;
}

/* Infrastructure badge row - curator on hover */
.infra-badge-row .infra-curator {
    opacity: 0;
    transition: opacity 0.15s;
    margin-right: 0.5rem;
}

.infra-badge-row:hover .infra-curator {
    opacity: 1;
}

/* Page header: space between breadcrumb and resource title */
.page-header .breadcrumb {
    margin-bottom: 1rem;
}

/* Filter dropdown - multiselect style */
.filter-dropdown {
    border: none;
    padding-left: 3px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}


.filter-segmented {
    padding: 0.4rem 0.5rem 0.5rem;
}

.filter-segmented .filter-dropdown-label {
    margin-bottom: 0.25rem;
}

.filter-segmented .btn-group .btn {
    font-size: 0.65rem !important;
    padding: 0.1rem 0.25rem !important;
    line-height: 1.2 !important;
    min-height: 0 !important;
    border-width: 1px;
}

.filter-dropdown-trigger {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.55rem 0.5rem;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    gap: 0.5rem;
}

.filter-dropdown-trigger:hover {
    color: var(--tblr-primary);
}

.filter-dropdown-label {
    flex: 1;
    text-align: left;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--tblr-secondary);
}

.filter-dropdown-trigger:hover .filter-dropdown-label {
    color: var(--tblr-primary);
}

.filter-dropdown-count {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--tblr-primary);
}

.filter-dropdown-value {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--tblr-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 120px;
    text-align: right;
}

.filter-dropdown-chevron {
    transition: transform 150ms ease;
    color: var(--tblr-secondary);
}

.filter-dropdown-chevron.is-expanded {
    transform: rotate(180deg);
}

.filter-dropdown-clear {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0;
    border: none;
    background: none;
    color: var(--tblr-secondary);
    cursor: pointer;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    margin-right: 0.25rem;
    align-self: center;
    transition: background 0.15s, color 0.15s;
}

.filter-dropdown-clear:hover {
    background: rgba(var(--tblr-danger-rgb), 0.1);
    color: var(--tblr-danger);
}

.filter-dropdown:has(.filter-dropdown-clear) > .filter-dropdown-trigger {
    flex: 1;
    min-width: 0;
}

.filter-dropdown:has(.filter-dropdown-clear) {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.filter-dropdown:has(.filter-dropdown-clear) > .filter-dropdown-panel {
    width: 100%;
}

.filter-dropdown-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 150ms ease;
}

.filter-dropdown-panel.is-expanded {
    grid-template-rows: 1fr;
}

.filter-dropdown {
    position: relative;
}

.filter-dropdown::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--tblr-primary);
    border-radius: 3px;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 400ms ease;
}

.filter-dropdown:has(.filter-dropdown-panel.is-expanded)::before,
.filter-dropdown.filter-active::before {
    transform: scaleY(1);
}

.filter-dropdown:has(.filter-segmented)::before {
    display: none;
}

.filter-dropdown:has(.filter-dropdown-panel.is-expanded),
.filter-dropdown.filter-active {
    border-top: 1px solid rgba(var(--tblr-primary-rgb), 0.3);
    border-bottom: 1px solid rgba(var(--tblr-primary-rgb), 0.3);
    border-radius: var(--app-radius-sm, 0.5rem);
}

.filter-dropdown:has(.filter-segmented).filter-active {
    border-top: none;
    border-bottom: none;
}

.filter-dropdown-panel > .filter-dropdown-panel-inner {
    overflow: hidden;
}

.filter-dropdown-search {
    padding: 0.25rem 0.5rem;
    border-top: 1px solid var(--tblr-border-color);
    position: relative;
}

.filter-dropdown-search input {
    font-size: 0.75rem;
    padding: 0.15rem 1.5rem 0.15rem 0.4rem;
    min-height: 0;
}

.filter-search-clear {
    position: absolute;
    right: 0.75rem;
    top: 0.25rem;
    bottom: 0.25rem;
    display: flex;
    align-items: center;
    border: none;
    background: none;
    padding: 0 0.15rem;
    cursor: pointer;
    color: var(--tblr-secondary);
    transition: color 0.15s;
}

.filter-search-clear:hover {
    color: var(--tblr-primary);
}

.filter-dropdown-options {
    border-top: 1px solid var(--tblr-border-color);
    max-height: 45vh;
    overflow-y: auto;
    scrollbar-gutter: stable;
}

.filter-dropdown-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0.75rem;
    font-size: 0.82rem;
    cursor: pointer;
    transition: background 0.1s;
}

.filter-dropdown-option:hover {
    background: rgba(var(--tblr-primary-rgb), 0.06);
}

.filter-dropdown-option input[type="checkbox"] {
    margin: 0;
}

/* Export modal column list tweaks (reusing filter dropdown layout) */
.export-columns-list {
    border-top: none;
    max-height: none;
    padding-top: 0.25rem;
}

.export-columns-option {
    border-radius: 0.4rem;
    background: var(--tblr-bg-surface);
    font-size: 0.85rem;
}

.export-columns-option .form-check-input {
    float: none;
}

/* Telemetry tri-state inside dropdown trigger */
.filter-dropdown-trigger .badge {
    font-size: 0.65rem;
}

/* "More filters" collapsible trigger */
.filter-more-trigger {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    width: 100%;
    padding: 0.4rem 0.75rem;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--tblr-secondary);
    transition: background 0.15s, color 0.15s;
}

.filter-more-trigger:hover {
    color: var(--tblr-primary);
}

.filter-more-content {
    display: flex;
    flex-direction: column;
    padding: 0.25rem 0;
}

/* Note text below filter groups */
.filter-sidebar-note {
    font-size: 0.72rem;
    color: var(--tblr-secondary);
    padding: 0 0.25rem;
}

/* Sidebar nav - Google-style active pill (round right, flush left) */
.nav-pill-sidebar {
    border-radius: 0 999px 999px 0 !important;
    margin-right: 0.75rem;
    transition: background 0.15s, color 0.15s;
}

.nav-pill-sidebar.active {
    background: rgba(var(--tblr-primary-rgb), 0.15) !important;
    color: var(--tblr-primary) !important;
    font-weight: 600;
}

.nav-pill-sidebar.active .nav-link-icon {
    color: var(--tblr-primary);
}

.nav-pill-sidebar:hover:not(.active) {
    background: rgba(255, 255, 255, 0.08) !important;
}

.nav-pill-sidebar.active:hover {
    background: rgba(var(--tblr-primary-rgb), 0.22) !important;
}

/* Soft primary buttons for CTA dropdown triggers */
.btn-soft-primary {
    color: var(--tblr-primary);
    background: rgba(var(--tblr-primary-rgb), 0.12);
    border-color: rgba(var(--tblr-primary-rgb), 0.4);
    font-weight: 600;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.btn-soft-primary:hover,
.btn-soft-primary:focus {
    color: var(--tblr-primary);
    background: rgba(var(--tblr-primary-rgb), 0.2);
    border-color: rgba(var(--tblr-primary-rgb), 0.55);
}

.btn-soft-primary:focus-visible {
    box-shadow: 0 0 0 0.15rem rgba(var(--tblr-primary-rgb), 0.35);
}

.btn-soft-primary:active,
.btn-soft-primary[aria-expanded="true"],
.btn-soft-primary.dropdown-toggle.show {
    color: #fff;
    background: var(--tblr-primary);
    border-color: var(--tblr-primary);
    box-shadow: 0 0 0 0.2rem rgba(var(--tblr-primary-rgb), 0.18);
}

.btn-soft-primary:disabled {
    color: rgba(var(--tblr-primary-rgb), 0.65);
    background: rgba(var(--tblr-primary-rgb), 0.08);
    border-color: rgba(var(--tblr-primary-rgb), 0.25);
}

/* Override btn-outline-secondary hover: primary tint instead of gray */
.btn-outline-secondary {
    --tblr-btn-hover-bg: rgba(var(--tblr-primary-rgb), 0.1);
    --tblr-btn-hover-color: var(--tblr-primary);
    --tblr-btn-hover-border-color: var(--tblr-primary);
}

/* Override btn-ghost-secondary hover: primary tint instead of gray */
.btn-ghost-secondary {
    --tblr-btn-hover-bg: rgba(var(--tblr-primary-rgb), 0.1);
    --tblr-btn-hover-color: var(--tblr-primary);
    --tblr-btn-hover-border-color: transparent;
}

/* Consistent rounded selectgroup (Development Mode buttons) */
.form-selectgroup-label {
    border-radius: var(--app-radius-sm, 0.5rem) !important;
}

/* Global loading overlay for Live Components (Symfony UX sets [busy] on root during AJAX) */
[data-controller~="live"][busy] {
    position: relative;
    pointer-events: none;
}

[data-controller~="live"][busy]::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 100;
    background: rgba(var(--tblr-body-bg-rgb, 255, 255, 255), 0.5);
    backdrop-filter: blur(1px);
    animation: lc-fade-in 150ms ease forwards;
}

[data-controller~="live"][busy]::before {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 101;
    width: 2rem;
    height: 2rem;
    margin: -1rem 0 0 -1rem;
    border: 3px solid var(--tblr-border-color);
    border-top-color: var(--tblr-primary);
    border-radius: 50%;
    animation: lc-fade-in 150ms ease forwards, lc-spin 0.6s linear infinite;
}

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

@keyframes lc-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Copyable popover - wider for UUIDs */
.popover-reason {
    --bs-popover-max-width: 420px;
}

/* Copy button inside popover - primary tint hover */
.copyable-popover-btn {
    background: transparent;
    border: none;
    color: var(--tblr-secondary);
    border-radius: var(--app-radius-sm, 0.5rem);
    transition: background 0.15s, color 0.15s;
}

.copyable-popover-btn:hover {
    background: rgba(var(--tblr-primary-rgb), 0.1);
    color: var(--tblr-primary);
}

/* Screenshot preview popup (hover on thumbnail in shop list) */
.screenshot-preview-popup {
    position: fixed;
    transform: translateY(-50%);
    z-index: 1050;
    width: 1240px;
    max-width: calc(100vw - 24px);
    background: var(--tblr-card-bg, #fff);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.04),
        0 12px 40px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(0, 0, 0, 0.02);
    padding: 8px;
    opacity: 0;
    scale: 0.95;
    transition: opacity 0.2s ease, scale 0.2s ease;
    pointer-events: none;
    overflow: hidden;
}

.screenshot-preview-popup.visible {
    opacity: 1;
    scale: 1;
}

.screenshot-preview-popup img {
    width: 100%;
    border-radius: 8px;
    display: block;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.screenshot-preview-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    color: var(--tblr-secondary);
}
