/* ===== Linkaat — Bento grid (white cards; no shadow / no frame) ===== */
:root {
    --bento-bg: #f7f1f1;
    --bento-text: #1a1a1a;
    --bento-muted: rgba(26, 26, 26, 0.48);
    --bento-white: #ffffff;
    --bento-black: #000000;
    --bento-sky: #98d0ff;
    --bento-mint: #6ed2b6;
    --bento-pink: #ffc4d6;
    --bento-rose: #ea6081;
    --bento-border: rgba(49, 49, 49, 0.08);
    --bento-shadow: none;
    --bento-radius: 28px;
    --bento-radius-sm: 18px;
    --bento-gap: 18px;
    /* Profile card: 96px avatar + camera badge half-height + .dashboard-profile-avatar-block padding-bottom + mb-3 */
    --dashboard-profile-avatar-strip-height: calc(96px + (1.75rem / 2) + 1rem + 1rem);
    --bento-on-dark: #ffffff;
    --bento-on-dark-muted: rgba(255, 255, 255, 0.82);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, sans-serif;
    color: var(--bento-text);
    background: var(--bento-bg);
}

/* Customer UI: one language at a time (ar | en); .bic wraps active string */
.form-label .bic {
    display: inline;
    font-weight: 500;
}

.lang-switch {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.lang-switch .btn-light {
    background: rgba(255, 255, 255, 0.9);
}

.app-bento,
.dashboard-bg {
    background: var(--bento-bg) !important;
    min-height: 100vh;
}

/* —— Top nav: floating pill (reference bento style) —— */
.bento-topnav,
.glass-nav {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

/* Legacy sticky bento nav (non-dashboard) */
.navbar.bento-topnav.sticky-top {
    z-index: 1030;
    background: rgba(247, 241, 241, 0.94) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(49, 49, 49, 0.06);
}

/* Dashboard nav: scrolls away with page; strip = page bg; white card matches main .container width */
.navbar.dashboard-nav-shell {
    display: block;
    position: relative;
    z-index: 1;
    background: var(--bento-bg) !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 0;
}

/* Bootstrap .navbar > .container { display:flex } — off for customer dashboard nav only */
.navbar.dashboard-nav-shell > .container,
.navbar.dashboard-nav-shell > .container-fluid,
.navbar.dashboard-nav-shell > .container-sm,
.navbar.dashboard-nav-shell > .container-md,
.navbar.dashboard-nav-shell > .container-lg,
.navbar.dashboard-nav-shell > .container-xl,
.navbar.dashboard-nav-shell > .container-xxl {
    display: block;
}

.dashboard-nav-card {
    background: #ffffff;
    border-radius: var(--bento-radius-sm);
    border: 1px solid var(--bento-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    padding: 0.5rem 0.75rem;
}

@media (min-width: 576px) {
    .dashboard-nav-card {
        padding: 0.55rem 1rem;
    }
}

.dashboard-nav-brand__ico {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 12px;
    background: linear-gradient(145deg, #0d6efd 0%, #4d9fff 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.35);
}

.dashboard-nav-brand:hover .dashboard-nav-brand__ico {
    filter: brightness(1.05);
}

.dashboard-nav-brand__logo-plain {
    height: 2.35rem;
    width: auto;
    max-width: 9rem;
    object-fit: contain;
    flex-shrink: 0;
}

.dashboard-nav-brand__text {
    letter-spacing: -0.02em;
    font-size: 1.05rem;
}

.dashboard-nav-divider {
    width: 1px;
    align-self: stretch;
    min-height: 2rem;
    background: var(--bento-border);
}

.dashboard-nav-ico-btn {
    font-weight: 600;
    border-width: 1px;
    line-height: 1.2;
}

.dashboard-nav-ico-btn__i {
    font-size: 1rem;
    opacity: 0.95;
}

.dashboard-nav-ico-btn--preview {
    color: #0a58ca;
    background: rgba(13, 110, 253, 0.08);
    border-color: rgba(13, 110, 253, 0.22);
}

.dashboard-nav-ico-btn--preview:hover {
    color: #084298;
    background: rgba(13, 110, 253, 0.14);
    border-color: rgba(13, 110, 253, 0.35);
}

.dashboard-nav-ico-btn--lock {
    color: #495057;
    background: rgba(73, 80, 87, 0.06);
    border-color: rgba(49, 49, 49, 0.12);
}

.dashboard-nav-ico-btn--lock:hover {
    color: #212529;
    background: rgba(73, 80, 87, 0.11);
    border-color: rgba(49, 49, 49, 0.2);
}

.dashboard-nav-ico-btn--admin {
    color: #5c2d91;
    background: rgba(92, 45, 145, 0.08);
    border-color: rgba(92, 45, 145, 0.22);
}

.dashboard-nav-ico-btn--admin:hover {
    color: #432169;
    background: rgba(92, 45, 145, 0.14);
    border-color: rgba(92, 45, 145, 0.35);
}

.dashboard-nav-ico-btn--logout {
    color: #b02a37;
    background: rgba(220, 53, 69, 0.08);
    border-color: rgba(220, 53, 69, 0.25);
}

.dashboard-nav-ico-btn--logout:hover {
    color: #9b1c2a;
    background: rgba(220, 53, 69, 0.14);
    border-color: rgba(220, 53, 69, 0.4);
}

.dashboard-nav-ico-btn--install {
    color: #146c43;
    background: rgba(25, 135, 84, 0.08);
    border-color: rgba(25, 135, 84, 0.22);
}

.dashboard-nav-ico-btn--install:hover {
    color: #0f5132;
    background: rgba(25, 135, 84, 0.14);
    border-color: rgba(25, 135, 84, 0.35);
}

.dashboard-nav-lang .lang-switch {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--bento-border);
    background: #fafafa;
}


.bento-topnav .navbar-brand {
    color: var(--bento-text) !important;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.bento-nav-pill {
    background: #e4e4e4;
    border-radius: 999px;
    border: none;
    box-shadow: none;
}

/* —— Dashboard: asymmetric bento grid —— */
.bento-page-grid {
    display: grid;
    gap: var(--bento-gap);
    grid-template-columns: 1fr;
    align-items: start;
}

@media (min-width: 992px) {
    .bento-page-grid {
        grid-template-columns: minmax(280px, 360px) 1fr;
        grid-template-areas:
            'profile plan'
            'form    links'
            'public  links'
            'sectionorder sectionorder';
    }

    .bento-cell--profile {
        grid-area: profile;
    }

    .bento-cell--profile-form {
        grid-area: form;
    }

    .bento-cell--plan {
        grid-area: plan;
    }

    .bento-cell--public-page {
        grid-area: public;
    }

    .bento-cell--section-order {
        grid-area: sectionorder;
    }

    .bento-cell--links {
        grid-area: links;
        grid-row: 2 / span 2;
        align-self: start;
    }
}

@media (max-width: 991.98px) {
    .bento-cell--links {
        grid-row: auto;
    }
}

/* Dashboard plan column: 3 boxes — admin message | plan | link clicks — 2 equal-width boxes per row */
.dashboard-plan-quad {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--bento-gap);
    align-items: stretch;
}

@media (min-width: 768px) {
    .dashboard-plan-quad {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.dashboard-plan-quad__box {
    margin: 0;
    min-height: var(--dashboard-profile-avatar-strip-height);
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: var(--bento-radius);
    overflow: hidden;
}

.dashboard-plan-quad__box-inner {
    padding: 1rem 1.15rem;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    justify-content: flex-start;
}

.dashboard-plan-quad__box--clicks .dashboard-plan-quad__box-inner {
    justify-content: center;
}

.dashboard-plan-quad__box--clicks.bento-tile--mint {
    background: linear-gradient(165deg, rgba(110, 210, 182, 0.38) 0%, #fff 58%);
    border: 1px solid rgba(110, 210, 182, 0.45);
}

.dashboard-plan-quad__box--plan.bento-tile--pink {
    background: linear-gradient(165deg, rgba(255, 196, 214, 0.48) 0%, #fff 58%);
    border: 1px solid rgba(255, 196, 214, 0.55);
}

.dashboard-plan-quad__box--notice.bento-tile--plain {
    border: 1px solid rgba(49, 49, 49, 0.08);
}

.dashboard-plan-quad__stat-num {
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--bento-text);
}

.dashboard-plan-quad__icon-wrap {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.dashboard-plan-quad__icon-wrap--mint {
    background: color-mix(in srgb, var(--bento-mint) 42%, #fff);
    color: #0a5e4a;
}

.dashboard-plan-quad__icon-wrap--amber {
    background: #fff3cd;
    color: #856404;
}

.dashboard-plan-quad__admin-msg {
    max-height: 6.5rem;
    overflow-y: auto;
    line-height: 1.45;
    word-break: break-word;
    color: var(--bento-text);
}

.dashboard-plan-quad__upgrade-btn {
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
}

.dashboard-plan-quad .plan-dashboard-trigger {
    border: 1px solid rgba(49, 49, 49, 0.1);
    background: #fafafa !important;
    font-weight: 600;
    font-size: 0.875rem;
}

.dashboard-plan-quad .plan-dashboard-trigger:hover {
    background: #fff !important;
}

/* Account tab: overview + security cards, above the plan quad */
.dashboard-account-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--bento-gap);
    margin-bottom: var(--bento-gap);
    align-items: stretch;
}

@media (min-width: 768px) {
    .dashboard-account-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.dashboard-account-card {
    border: 1px solid rgba(49, 49, 49, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.dashboard-account-card .bento-tile__body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.dashboard-account-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.dashboard-account-list__row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.1rem;
    border-bottom: 1px solid rgba(49, 49, 49, 0.06);
}

.dashboard-account-list__row:last-child {
    border-bottom: none;
    padding-bottom: 0.1rem;
}

.dashboard-account-list__icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 10px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(49, 49, 49, 0.05);
    color: var(--bento-text);
    font-size: 1rem;
}

.dashboard-account-list__label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 650;
    color: var(--bento-muted);
    display: block;
}

.dashboard-account-list__value {
    font-weight: 650;
    color: var(--bento-text);
    word-break: break-word;
}

.dashboard-account-list__main {
    min-width: 0;
    flex: 1 1 auto;
}

.dashboard-account-security-row {
    display: flex;
    align-items: center;
    padding: 0.65rem 0.1rem;
}

/* Public page appearance tile: light green inputs */
.dashboard-public-page-tile .dashboard-public-page-input.form-select,
.dashboard-public-page-tile .dashboard-public-page-input.form-control {
    background-color: #e9f7ef;
    border-color: #bfe8d2;
    color: #0f3d24;
}

.dashboard-public-page-tile .dashboard-public-page-input.form-select:focus,
.dashboard-public-page-tile .dashboard-public-page-input.form-control:focus {
    background-color: #dff5ea;
    border-color: #7dce9e;
    box-shadow: 0 0 0 0.2rem rgba(46, 168, 108, 0.2);
    color: #0f3d24;
}

.dashboard-public-page-tile .form-check-input:checked {
    background-color: #2ea86c;
    border-color: #2ea86c;
}

/* —— Appearance tab: visual radio-card pickers (dash-appr-*) —— */
.dash-appr-radio-input {
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.dash-appr-section {
    margin-bottom: 1.75rem;
}

.dash-appr-section:last-of-type {
    margin-bottom: 0;
}

.dash-appr-section__title {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--bento-muted, rgba(26, 26, 26, 0.55));
    margin: 0 0 0.7rem;
}

.dash-appr-section__title i {
    font-size: 0.95rem;
    opacity: 0.85;
}

.dash-appr-section__hint {
    font-size: 0.78rem;
    color: var(--bento-muted, rgba(26, 26, 26, 0.55));
    margin: 0.55rem 0 0;
}

/* Shared "checked" badge used by swatch/layout/shape/style cards */
.dash-appr-check-badge {
    position: absolute;
    top: 6px;
    inset-inline-end: 6px;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #2ea86c;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.62rem;
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.15s ease, transform 0.15s ease;
    pointer-events: none;
}

.dash-appr-bg-swatch:has(.dash-appr-radio-input:checked) .dash-appr-check-badge,
.dash-appr-layout-card:has(.dash-appr-radio-input:checked) .dash-appr-check-badge,
.dash-appr-shape-card:has(.dash-appr-radio-input:checked) .dash-appr-check-badge,
.dash-appr-style-card:has(.dash-appr-radio-input:checked) .dash-appr-check-badge {
    opacity: 1;
    transform: scale(1);
}

/* Page background swatches */
.dash-appr-bg-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.dash-appr-bg-swatch {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    width: 4.7rem;
    cursor: pointer;
    text-align: center;
}

.dash-appr-bg-swatch__circle {
    display: block;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    border: 2px solid var(--bento-border, rgba(49, 49, 49, 0.14));
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12) inset;
    transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.dash-appr-bg-swatch:hover .dash-appr-bg-swatch__circle {
    transform: translateY(-2px);
}

.dash-appr-bg-swatch__label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--bento-text);
    line-height: 1.15;
}

.dash-appr-bg-swatch:has(.dash-appr-radio-input:checked) .dash-appr-bg-swatch__circle {
    border-color: #2ea86c;
    box-shadow: 0 0 0 3px rgba(46, 168, 108, 0.22);
}

.dash-appr-bg-swatch:has(.dash-appr-radio-input:checked) .dash-appr-bg-swatch__label {
    color: #0f3d24;
}

.dash-appr-bg-swatch:focus-within .dash-appr-bg-swatch__circle {
    outline: 2px solid #2ea86c;
    outline-offset: 2px;
}

/* Page layout cards */
.dash-appr-layout-grid,
.dash-appr-shape-grid,
.dash-appr-style-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 0.75rem;
}

.dash-appr-layout-card,
.dash-appr-shape-card,
.dash-appr-style-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    padding: 0.85rem 0.65rem;
    border-radius: 1rem;
    background: var(--bento-white, #fff);
    border: 1px solid var(--bento-border, rgba(49, 49, 49, 0.08));
    cursor: pointer;
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.dash-appr-layout-card:hover,
.dash-appr-shape-card:hover,
.dash-appr-style-card:hover {
    box-shadow: 0 8px 20px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}

.dash-appr-layout-card:has(.dash-appr-radio-input:checked),
.dash-appr-shape-card:has(.dash-appr-radio-input:checked),
.dash-appr-style-card:has(.dash-appr-radio-input:checked) {
    border-color: #2ea86c;
    box-shadow: 0 0 0 3px rgba(46, 168, 108, 0.16);
}

.dash-appr-layout-card:focus-within,
.dash-appr-shape-card:focus-within,
.dash-appr-style-card:focus-within {
    outline: 2px solid #2ea86c;
    outline-offset: 2px;
}

.dash-appr-layout-card__preview {
    width: 100%;
    height: 46px;
    border-radius: 0.6rem;
    background: #f3f3f5;
    border: 1px solid rgba(49, 49, 49, 0.12);
}

.dash-appr-layout-card__preview--standard {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.dash-appr-layout-card__preview--glass {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.75), rgba(180, 205, 255, 0.35));
    border: 1px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(6px);
}

.dash-appr-layout-card__preview--minimal {
    background: transparent;
    border: 1px dashed rgba(49, 49, 49, 0.28);
    box-shadow: none;
}

.dash-appr-layout-card__label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--bento-text);
    text-align: center;
}

/* Link button shape cards */
.dash-appr-shape-card__preview {
    width: 74px;
    height: 26px;
    background: #2ea86c;
    opacity: 0.85;
}

/* Icon size segmented pill group */
.dash-appr-iconsize-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem;
    background: #f6f6f8;
    border: 1px solid rgba(49, 49, 49, 0.1);
    border-radius: 999px;
    padding: 0.3rem;
}

.dash-appr-iconsize-opt {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-weight: 700;
    line-height: 1;
    color: var(--bento-muted, rgba(26, 26, 26, 0.55));
    cursor: pointer;
    user-select: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.dash-appr-iconsize-opt:hover {
    color: var(--bento-text, #1a1a1a);
}

.dash-appr-iconsize-opt:has(.dash-appr-radio-input:checked) {
    background: var(--bento-text, #1a1a1a);
    color: #fff;
}

.dash-appr-iconsize-opt:focus-within {
    outline: 2px solid #2ea86c;
    outline-offset: 2px;
}

/* Link style mock illustrations */
.dash-appr-style-card__mock {
    width: 100%;
    height: 52px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    justify-content: center;
}

.dash-appr-style-card__bar {
    height: 11px;
    border-radius: 4px;
    background: #d8d8dc;
    width: 100%;
}

.dash-appr-style-card__bar:nth-child(2) {
    width: 85%;
}

.dash-appr-style-card__bar:nth-child(3) {
    width: 68%;
}

.dash-appr-style-card__row {
    width: 100%;
    height: 0;
    border-bottom: 2px solid #d8d8dc;
}

.dash-appr-style-card__mock--icons,
.dash-appr-style-card__mock--icons2 {
    display: grid;
    align-items: center;
    justify-items: center;
    gap: 8px;
}

.dash-appr-style-card__mock--icons {
    grid-template-columns: repeat(3, 1fr);
}

.dash-appr-style-card__mock--icons2 {
    grid-template-columns: repeat(2, 1fr);
}

.dash-appr-style-card__dot {
    width: 16px;
    height: 16px;
    border-radius: 999px;
    background: #d8d8dc;
}

/* Font picker: grouped, scrollable, live-preview list */
.dash-appr-font-group {
    margin-bottom: 0.9rem;
}

.dash-appr-font-group:last-child {
    margin-bottom: 0;
}

.dash-appr-font-group__title {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--bento-muted, rgba(26, 26, 26, 0.5));
    margin: 0 0 0.5rem;
}

.dash-appr-font-scroll {
    max-height: 230px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    border: 1px solid var(--bento-border, rgba(49, 49, 49, 0.08));
    border-radius: 0.9rem;
    padding: 0.5rem;
    background: var(--bento-white, #fff);
}

.dash-appr-font-option {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    padding: 0.55rem 0.8rem;
    border-radius: 0.7rem;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.dash-appr-font-option:hover {
    background: #f7f7f9;
}

.dash-appr-font-option:has(.dash-appr-radio-input:checked) {
    background: #e9f7ef;
    border-color: #2ea86c;
}

.dash-appr-font-option:focus-within {
    outline: 2px solid #2ea86c;
    outline-offset: 1px;
}

.dash-appr-font-option__name {
    font-size: 1rem;
    color: var(--bento-text);
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dash-appr-font-option__check {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #2ea86c;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.62rem;
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.dash-appr-font-option:has(.dash-appr-radio-input:checked) .dash-appr-font-option__check {
    opacity: 1;
    transform: scale(1);
}

.dashboard-links-stack {
    display: flex;
    flex-direction: column;
    gap: var(--bento-gap);
}

.dashboard-booking-labels-modal .dashboard-booking-labels-modal__ico {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
    color: var(--theme-color, #0d6efd);
    background: color-mix(in srgb, var(--theme-color, #0d6efd) 14%, #f0f2f5);
}

/* Dashboard: Booking requests tile */
.dashboard-bookings-head-badge {
    font-weight: 700;
    font-size: 0.72rem;
    padding: 0.35em 0.7em;
    background: rgba(0, 0, 0, 0.08);
    color: var(--bento-text, #1a1a1a);
    border: none;
}

.dashboard-booking-labels-open {
    background: color-mix(in srgb, #7c5cff 14%, #fff) !important;
    color: #6a3fe8 !important;
    border: 1px solid color-mix(in srgb, #7c5cff 28%, #fff) !important;
    font-weight: 650;
    padding: 0.5rem 0.9rem;
    font-size: 0.85rem;
}

.dashboard-booking-labels-open i {
    font-size: 1.05rem;
}

.dashboard-booking-labels-open:hover {
    background: color-mix(in srgb, #7c5cff 22%, #fff) !important;
}

.dashboard-booking-settings-open {
    width: 2.6rem;
    height: 2.6rem;
    border: none;
    background: color-mix(in srgb, var(--bento-text, #1a1a1a) 88%, transparent) !important;
    color: #fff !important;
    font-size: 1.15rem;
    transition: background 0.15s ease, transform 0.15s ease;
}

.dashboard-booking-settings-open:hover {
    background: var(--bento-text, #1a1a1a) !important;
    transform: rotate(24deg);
}

.dashboard-bookings-panel {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

/* Booking requests: search by name/mobile/code + date + rows-per-page, all in one filter bar */
.dashboard-bookings-search {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0.6rem;
}

.dashboard-bookings-search__field {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 0.85rem;
    border: 1px solid rgba(49, 49, 49, 0.12);
    border-radius: 0.7rem;
    background: #f6f6f8;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.dashboard-bookings-search__field:focus-within {
    border-color: var(--bento-sky, #98d0ff);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(152, 208, 255, 0.3);
}

.dashboard-bookings-search__field > i {
    color: var(--bento-muted, rgba(26, 26, 26, 0.5));
    font-size: 0.95rem;
    flex-shrink: 0;
}

.dashboard-bookings-search__field .form-control,
.dashboard-bookings-search__field .form-select {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0.65rem 0.1rem;
    font-size: 0.88rem;
    min-width: 0;
}

.dashboard-bookings-search__field--grow {
    flex: 1 1 220px;
}

.dashboard-bookings-search__field--select {
    flex: 0 0 auto;
}

.dashboard-bookings-search__field--select .form-select {
    padding-inline-end: 1.6rem;
}

.dashboard-bookings-search__submit {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
    padding: 0.65rem 1.1rem;
    border-radius: 0.7rem;
}

.dashboard-bookings-search__clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.7rem;
    flex-shrink: 0;
    border-radius: 0.7rem;
}

@media (max-width: 575.98px) {
    .dashboard-bookings-search__field,
    .dashboard-bookings-search__submit {
        flex: 1 1 100%;
    }
}

.dashboard-bookings-intro {
    padding: 0.85rem 1rem;
    border-radius: var(--bento-radius-sm, 12px);
    background: linear-gradient(145deg, rgba(42, 157, 130, 0.08), rgba(13, 110, 253, 0.04));
    border: 1px solid rgba(42, 157, 130, 0.14);
}

.dashboard-bookings-intro__ico {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 1rem;
    color: #1c7c6a;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 2px 8px rgba(28, 124, 106, 0.12);
}

.dashboard-bookings-intro__text {
    line-height: 1.55;
}

.dashboard-bookings-card {
    padding: 1rem 1.1rem;
    border-radius: var(--bento-radius-sm, 12px);
    border: 1px solid rgba(49, 49, 49, 0.1);
    background: #fafcfb;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.dashboard-bookings-card--lookup {
    border-color: rgba(42, 157, 130, 0.2);
    background: linear-gradient(180deg, #f7fcfa 0%, #fafcfb 100%);
}

.dashboard-bookings-card__head {
    margin-bottom: 0.65rem;
}

.dashboard-bookings-card__head-ico {
    width: 32px;
    height: 32px;
    font-size: 0.95rem;
    color: #1c7c6a;
    background: rgba(42, 157, 130, 0.12);
}

.dashboard-bookings-switch .form-check-input {
    width: 2.35rem;
    height: 1.2rem;
    cursor: pointer;
}

.dashboard-bookings-switch .form-check-input:checked {
    background-color: #2a9d82;
    border-color: #2a9d82;
}

.dashboard-bookings-switch .form-check-label {
    line-height: 1.45;
    cursor: pointer;
    padding-top: 0.1rem;
}

/* Per-field Show/Required toggles sit centered in a table cell, no block padding needed */
td .dashboard-bookings-switch {
    padding-inline-start: 0;
    justify-content: center;
}

td .dashboard-bookings-switch .form-check-input {
    margin: 0;
    float: none;
}

.dashboard-booking-fields-table table {
    --bs-table-bg: transparent;
}

.dashboard-booking-fields-table thead th {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 700;
    color: var(--bento-muted, rgba(26, 26, 26, 0.55));
    border-bottom-width: 1px;
}

.dashboard-booking-fields-table tbody tr {
    transition: background 0.15s ease;
}

.dashboard-booking-fields-table tbody tr:hover {
    background: rgba(0, 0, 0, 0.02);
}

.dashboard-booking-fields-table tbody td {
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
}

.dashboard-bookings-empty {
    padding: 1.5rem 1rem 1.75rem;
    border-radius: var(--bento-radius-sm, 12px);
    border: 1px dashed rgba(49, 49, 49, 0.14);
    background: #fafafa;
}

.dashboard-bookings-empty__ring {
    width: 4.5rem;
    height: 4.5rem;
    background: linear-gradient(145deg, rgba(42, 157, 130, 0.12), rgba(13, 110, 253, 0.06));
    border: 1px solid rgba(42, 157, 130, 0.15);
}

.dashboard-bookings-empty__ico {
    font-size: 1.85rem;
    color: #6c757d;
    opacity: 0.85;
}

.dashboard-bookings-table-shell {
    border-radius: var(--bento-radius-sm, 12px);
    border: 1px solid rgba(49, 49, 49, 0.1);
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.dashboard-bookings-table-shell__bar {
    padding: 0.65rem 1rem;
    background: linear-gradient(180deg, #f4f7f6 0%, #eef2f1 100%);
    border-bottom: 1px solid rgba(49, 49, 49, 0.08);
}

.dashboard-bookings-table-shell__bar .letter-spacing-sm {
    letter-spacing: 0.06em;
}

.dashboard-bookings-table-scroll {
    max-height: min(420px, 55vh);
    overflow: auto;
}

.dashboard-bookings-table {
    font-size: 0.875rem;
    --bs-table-hover-bg: rgba(42, 157, 130, 0.06);
}

.dashboard-bookings-table thead th {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    color: #5c6670;
    background: #f8faf9;
    border-bottom: 1px solid rgba(49, 49, 49, 0.1);
    white-space: nowrap;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
}

.dashboard-bookings-table tbody td {
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
    vertical-align: middle;
}

.dashboard-bookings-code {
    display: inline-block;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-weight: 700;
    font-size: 0.8125rem;
    letter-spacing: 0.06em;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    background: #0d0d0d;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.dashboard-bookings-code--block {
    display: block;
    font-size: 1.25rem;
    letter-spacing: 0.12em;
    font-weight: 800;
}

.dashboard-booking-action-btn {
    width: 2.25rem;
    height: 2.25rem;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

.dashboard-booking-action-btn i {
    font-size: 1.05rem;
    line-height: 1;
}

.dashboard-booking-action-btn:hover {
    background: rgba(13, 13, 13, 0.06);
}

.dashboard-booking-status-pill {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
}

.dashboard-booking-status-pill--pending {
    background: #ffc107;
    color: #1a1a1a;
}

.dashboard-booking-status-pill--confirmed {
    background: #198754;
    color: #fff;
}

.dashboard-booking-status-pill--cancelled {
    background: #dc3545;
    color: #fff;
}

.dashboard-bookings-table__row[data-booking-status='pending'] .dashboard-booking-status-select {
    background-color: #ffc107;
    color: #1a1a1a;
    border-color: #e0a800;
    font-weight: 700;
}

.dashboard-bookings-table__row[data-booking-status='confirmed'] .dashboard-booking-status-select {
    background-color: #198754;
    color: #fff;
    border-color: #157347;
    font-weight: 700;
}

.dashboard-bookings-table__row[data-booking-status='cancelled'] .dashboard-booking-status-select {
    background-color: #dc3545;
    color: #fff;
    border-color: #b02a37;
    font-weight: 700;
}

.dashboard-booking-settings-modal .dashboard-booking-settings-modal__ico,
.dashboard-booking-view-modal .dashboard-booking-view-modal__ico {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
    color: var(--theme-color, #1c7c6a);
    background: color-mix(in srgb, var(--theme-color, #1c7c6a) 14%, #f0f2f5);
}

.dashboard-bookings-mobile {
    font-size: 0.8125rem;
}

.dashboard-booking-status-select {
    min-width: 7.5rem;
    max-width: 10rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.8125rem;
    border-color: rgba(49, 49, 49, 0.14);
}

/* Your links tile: no frame / no colored glow (--theme-color still used in body gradient below) */
.bento-tile--your-links.bento-tile--plain {
    border: none;
    box-shadow: none;
}

/* Same bar as Quick stats & other bento heads */
.bento-tile--your-links .bento-tile__head {
    background: var(--bento-mint);
    color: #fff;
}

.bento-tile--your-links .bento-tile__head .text-muted {
    color: rgba(255, 255, 255, 0.9) !important;
}

.bento-tile--your-links .your-links-head-ico {
    color: #fff;
    font-size: 1.1rem;
    line-height: 1;
    opacity: 0.95;
}

.bento-tile--your-links .bento-tile__head .your-links-head-hint {
    text-align: inherit;
}

.bento-tile--your-links .your-links-add-toggle {
    font-weight: 700;
    font-size: 0.8125rem;
    color: var(--bento-text) !important;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.bento-tile--your-links .your-links-add-toggle:hover:not(:disabled) {
    filter: brightness(0.97);
    color: var(--bento-text) !important;
}

.bento-tile--your-links .your-links-add-toggle:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.95);
    outline-offset: 2px;
}

.bento-tile--your-links .your-links-add-toggle:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.bento-tile--your-links .your-links-add-badge {
    background: rgba(110, 210, 182, 0.35) !important;
    color: var(--bento-text) !important;
    font-weight: 600;
    font-size: 0.7rem;
    padding: 0.3em 0.55em;
    border: none;
}

.bento-tile--your-links .your-links-add-badge--warn {
    background: rgba(220, 53, 69, 0.2) !important;
    color: #842029 !important;
}

.bento-tile--your-links .your-links-add-chev {
    font-size: 0.95rem;
    opacity: 0.75;
    transition: transform 0.22s ease;
}

.link-group-chip {
    background: rgba(13, 110, 253, 0.12) !important;
    color: #0d6efd !important;
    font-weight: 600;
    font-size: 0.68rem;
    padding: 0.28em 0.6em;
    border: none;
}

.bento-tile--your-links .your-links-add-toggle[aria-expanded='true'] .your-links-add-chev {
    transform: rotate(-180deg);
}

.bento-tile--your-links .add-link-embed-collapse {
    border-top: 1px solid rgba(255, 255, 255, 0.28);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.06) 100%);
}

.bento-tile--your-links .bento-tile__body {
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--theme-color, #0d6efd) 5%, var(--bento-white)) 0%,
        var(--bento-white) 55%
    );
}

/* —— Dashboard: Quick stats —— */
.quick-stats-tile {
    overflow: hidden;
}

.quick-stats-tile__head-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 0.65rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(14, 165, 233, 0.12));
    color: #4f46e5;
    font-size: 1.05rem;
}

.quick-stats-tile__head-icon--warm {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(249, 115, 22, 0.14));
    color: #b45309;
}

.quick-stats-tile__head-icon--cool {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(14, 165, 233, 0.14));
    color: #0369a1;
}

/* Peak visit hours / Busiest days: now standalone boxes with a bigger chart + a headline callout */
.quick-stats-peak-callout {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 1.1rem;
}

.quick-stats-peak-callout--warm {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.16), rgba(249, 115, 22, 0.1));
    color: #b45309;
}

.quick-stats-peak-callout--cool {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.16), rgba(14, 165, 233, 0.1));
    color: #0369a1;
}

.quick-stats-barchart--big {
    height: 150px;
}

.quick-stats-barchart--big .quick-stats-barchart__bar {
    max-width: 22px;
}

.quick-stats-barchart--week.quick-stats-barchart--big {
    height: 130px;
    gap: 14px;
}

.quick-stats-barchart--big .quick-stats-barchart__tick {
    font-size: 0.7rem;
    font-weight: 600;
}

.quick-stats-tile__body {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.quick-stats-section {
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.quick-stats-section:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.quick-stats-section__title {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--bs-secondary-color);
    margin: 0 0 0.65rem;
}

.quick-stats-section__title i {
    font-size: 1rem;
    opacity: 0.85;
}

.quick-stats-section--compact {
    padding-bottom: 1rem;
}

/* One bar: Today | Month | 7 days — icon at inline-start, digits at inline-end (RTL-aware) */
.quick-stats-period-strip {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    border-radius: 0.85rem;
    background: linear-gradient(145deg, rgba(99, 102, 241, 0.08), rgba(14, 165, 233, 0.06));
    border: 1px solid rgba(0, 0, 0, 0.07);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.quick-stats-period-strip__seg {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.4rem;
    flex: 1 1 0;
    min-width: 0;
    padding: 0.55rem 0.5rem;
    border-inline-end: 1px solid rgba(0, 0, 0, 0.08);
}

.quick-stats-period-strip__seg:last-child {
    border-inline-end: none;
}

.quick-stats-period-strip__ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 0.5rem;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.75);
    color: #4f46e5;
    font-size: 0.95rem;
}

.quick-stats-period-strip__name {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--bs-secondary-color);
    line-height: 1.15;
    max-width: 4.2rem;
    flex-shrink: 0;
}

.quick-stats-period-strip__nums {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.25rem 0.35rem;
    margin-inline-start: auto;
    min-width: 0;
}

.quick-stats-period-strip__n {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    padding: 0.12rem 0.32rem;
    border-radius: 2rem;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.quick-stats-period-strip__n i {
    font-size: 0.65rem;
    opacity: 0.9;
}

.quick-stats-period-strip__n--views {
    background: rgba(14, 165, 233, 0.16);
    color: #0369a1;
}

.quick-stats-period-strip__n--clicks {
    background: rgba(147, 51, 234, 0.14);
    color: #6d28d9;
}

.quick-stats-num {
    font-variant-numeric: tabular-nums;
    unicode-bidi: isolate;
}

.quick-stats-period-strip__legend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.quick-stats-totals-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.quick-stats-total-links {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    padding: 0.5rem 0.65rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(0, 0, 0, 0.06);
    flex: 1 1 160px;
}

.quick-stats-total-links--bookings .quick-stats-total-links__ico {
    background: rgba(13, 110, 253, 0.14);
    color: #0a58ca;
}

.quick-stats-total-links--likes .quick-stats-total-links__ico {
    background: rgba(229, 72, 77, 0.14);
    color: #c81e28;
}

.quick-stats-total-links__ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 0.55rem;
    background: rgba(34, 197, 94, 0.14);
    color: #15803d;
    font-size: 1rem;
}

.quick-stats-total-links__label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--bs-body-color);
}

.quick-stats-total-links__val {
    font-size: 1.15rem;
    font-weight: 800;
    margin-inline-start: auto;
    color: var(--bs-body-color);
}

.quick-stats-total-links__cap {
    font-size: 0.8rem;
    font-weight: 600;
}

@media (max-width: 575.98px) {
    .quick-stats-period-strip {
        flex-direction: column;
    }

    .quick-stats-period-strip__seg {
        border-inline-end: none;
        border-block-end: 1px solid rgba(0, 0, 0, 0.08);
    }

    .quick-stats-period-strip__seg:last-child {
        border-block-end: none;
    }

    .quick-stats-period-strip__name {
        max-width: none;
    }
}

.quick-stats-top-links {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.quick-stats-top-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.5rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: background 0.15s ease, border-color 0.15s ease;
}

.quick-stats-top-link:hover {
    background: rgba(255, 255, 255, 0.88);
    border-color: rgba(99, 102, 241, 0.22);
}

/* By-date report: compact top-links list (no icon badges, just rank + title + clicks) */
.quick-stats-date-toplinks {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.quick-stats-date-toplink {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.65rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.quick-stats-date-toplink__rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.6rem;
    height: 1.6rem;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.12);
    color: #4f46e5;
    font-size: 0.75rem;
    font-weight: 800;
}

.quick-stats-date-toplink__title {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 0.85rem;
    font-weight: 600;
}

.quick-stats-top-link .social-badge {
    width: 2.25rem;
    height: 2.25rem;
    min-width: 2.25rem;
    border-radius: 0.65rem;
}

.quick-stats-top-link__rank {
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 0.35rem;
    font-size: 0.7rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(99, 102, 241, 0.12);
    color: #4f46e5;
    font-variant-numeric: tabular-nums;
}

.quick-stats-top-link__badge .quick-stats-top-link__icon-wrap {
    width: 2rem;
    height: 2rem;
}

.quick-stats-top-link__badge .link-dash-icon-wrap .bi {
    font-size: 1rem;
}

.quick-stats-top-link__badge .link-dash-icon-wrap__img {
    width: 1.25rem;
    height: 1.25rem;
}

.quick-stats-top-link__icon-digits {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
}

.quick-stats-top-link__clicknum {
    min-width: 1.5rem;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
    color: #6d28d9;
    text-align: center;
}

.quick-stats-top-link__main {
    flex: 1;
}

.quick-stats-top-link__title {
    font-size: 0.875rem;
    font-weight: 600;
}

.quick-stats-top-link__hint {
    font-size: 0.7rem;
    color: var(--bs-secondary-color);
}

.quick-stats-device-list,
.quick-stats-area-list,
.quick-stats-hour-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.quick-stats-hour-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.35rem 0.55rem;
    border-radius: 0.65rem;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.quick-stats-hour-row__label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--bs-body-color);
    flex-shrink: 0;
    width: 4.6rem;
}

.quick-stats-hour-row__bar-wrap {
    flex: 1 1 auto;
    height: 0.45rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.quick-stats-hour-row__bar {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #f59e0b, #f97316);
}

.quick-stats-hour-row__count {
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
    min-width: 1.5rem;
    text-align: end;
}

/* Instagram-style single-row bar chart (peak hours / busiest days) */
.quick-stats-barchart {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 96px;
    padding: 0.25rem 0.1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.quick-stats-barchart--week {
    height: 84px;
    gap: 8px;
}

.quick-stats-barchart__col {
    flex: 1 1 0;
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 0.3rem;
}

.quick-stats-barchart__bar {
    display: block;
    width: 100%;
    max-width: 14px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.08);
    transition: height 0.2s ease, filter 0.15s ease, transform 0.15s ease;
    cursor: default;
}

.quick-stats-barchart__col:hover .quick-stats-barchart__bar {
    filter: brightness(1.08);
    transform: scaleX(1.12);
}

.quick-stats-barchart__bar--warm {
    background: linear-gradient(180deg, #f59e0b, #f97316);
}

.quick-stats-barchart__bar--cool {
    background: linear-gradient(180deg, #38bdf8, #0ea5e9);
}

.quick-stats-barchart__tick {
    font-size: 0.62rem;
    color: var(--bs-secondary-color);
    line-height: 1;
    white-space: nowrap;
}

.quick-stats-barchart--week .quick-stats-barchart__tick {
    font-size: 0.68rem;
    font-weight: 600;
}

.quick-stats-device-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.65rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: background 0.15s ease, border-color 0.15s ease;
}

.quick-stats-device-row:hover {
    background: rgba(255, 255, 255, 0.88);
    border-color: rgba(14, 165, 233, 0.22);
}

.quick-stats-area-row {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.6rem 0.65rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: background 0.15s ease, border-color 0.15s ease;
}

.quick-stats-area-row:hover {
    background: rgba(255, 255, 255, 0.88);
    border-color: rgba(34, 197, 94, 0.22);
}

.quick-stats-device-row__icon {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(14, 165, 233, 0.12);
    color: #0ea5e9;
    font-size: 1rem;
}

.quick-stats-area-row__pin {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(34, 197, 94, 0.12);
    color: #16a34a;
    font-size: 1rem;
    margin-top: 0.1rem;
}

.quick-stats-area-row__geo {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.quick-stats-area-line {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    line-height: 1.25;
}

.quick-stats-area-line > i {
    flex-shrink: 0;
    opacity: 0.75;
    font-size: 0.85rem;
    color: var(--bs-secondary-color);
}

.quick-stats-area-line__lbl {
    flex-shrink: 0;
    color: var(--bs-secondary-color);
    font-weight: 600;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.quick-stats-area-line__val {
    flex: 1;
    min-width: 0;
    font-weight: 600;
    color: var(--bs-body-color);
}

.quick-stats-device-row__label {
    flex: 1;
    min-width: 0;
    font-size: 0.8125rem;
    font-weight: 500;
}

.quick-stats-device-row__nums {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    justify-content: flex-end;
    margin-inline-start: auto;
}

.quick-stats-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.2rem 0.45rem;
    border-radius: 2rem;
    font-size: 0.7rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.quick-stats-pill--views {
    background: rgba(14, 165, 233, 0.14);
    color: #0369a1;
}

.quick-stats-pill--clicks {
    background: rgba(147, 51, 234, 0.12);
    color: #6d28d9;
}

.quick-stats-pill--likes {
    background: rgba(229, 72, 77, 0.14);
    color: #c81e28;
}

.quick-stats-pill i {
    font-size: 0.65rem;
    opacity: 0.9;
}

.quick-stats-area-row__count {
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--bs-body-color);
    flex-shrink: 0;
    align-self: center;
    padding: 0.2rem 0.35rem;
    border-radius: 0.4rem;
    background: rgba(99, 102, 241, 0.08);
}

.quick-stats-hint,
.quick-stats-subhead {
    color: var(--bs-secondary-color);
}

.quick-stats-subhead {
    font-weight: 600;
}

.quick-stats-empty {
    color: var(--bs-secondary-color);
    padding: 0.5rem 0.65rem;
    border-radius: 0.65rem;
    background: rgba(0, 0, 0, 0.03);
}

/* Legacy layout (still works if used elsewhere) */
.bento-layout {
    display: grid;
    gap: var(--bento-gap);
    grid-template-columns: 1fr;
    align-items: start;
}

@media (min-width: 992px) {
    .bento-layout {
        grid-template-columns: minmax(280px, 360px) 1fr;
    }

    .bento-layout__sidebar {
        display: flex;
        flex-direction: column;
        gap: var(--bento-gap);
    }

    .bento-layout__main {
        display: flex;
        flex-direction: column;
        gap: var(--bento-gap);
    }
}

/* —— Bento tiles: flat white cards —— */
.bento-tile {
    border-radius: var(--bento-radius);
    border: none;
    box-shadow: none;
    overflow: hidden;
    color: var(--bento-text);
    background: var(--bento-white);
}

.bento-tile__head {
    padding: 1rem 1.35rem;
    font-weight: 650;
    font-size: 0.95rem;
    border: none;
    background: var(--bento-mint);
    color: #ffffff;
}

.bento-tile__head .text-muted {
    color: rgba(255, 255, 255, 0.85) !important;
}

.bento-tile__body {
    padding: 1.35rem;
}

.bento-tile--sky,
.bento-tile--mint,
.bento-tile--pink,
.bento-tile--plain,
.bento-tile--rose {
    box-shadow: none;
    border-top: none;
}

.bento-tile--sky .text-muted,
.bento-tile--mint .text-muted,
.bento-tile--pink .text-muted,
.bento-tile--plain .text-muted,
.bento-tile--rose .text-muted {
    color: var(--bento-muted) !important;
}

/* Plan row: tap to open modal */
.plan-dashboard-trigger {
    border: none !important;
    background: #fafafa !important;
    transition: background 0.15s ease;
}

.plan-dashboard-trigger:hover {
    background: #fff !important;
}

.plan-dashboard-trigger:focus-visible {
    outline: 2px solid rgba(152, 208, 255, 0.85);
    outline-offset: 2px;
}

.modal-content.rounded-4 {
    border-radius: var(--bento-radius) !important;
}

#planUpgradeCollapse .plan-pick-btn {
    background: #fafafa;
}

.modern-card {
    border-radius: var(--bento-radius);
    box-shadow: none;
    border: none;
    background: var(--bento-white);
}

/* —— Buttons —— */
.btn-modern {
    background: var(--bento-text);
    color: var(--bento-white);
    border: none;
    border-radius: 999px;
    font-weight: 600;
    padding: 0.5rem 1.1rem;
}

.btn-modern:hover {
    background: var(--bento-black);
    color: var(--bento-white);
}

.btn-primary {
    background: var(--bento-sky) !important;
    border-color: transparent !important;
    color: var(--bento-text) !important;
    border-radius: 999px;
    font-weight: 600;
}

.btn-primary:hover {
    filter: brightness(0.96);
    color: var(--bento-text) !important;
}

.btn-outline-dark {
    border-radius: 999px;
    border-color: var(--bento-border);
    color: var(--bento-text);
}

.btn-outline-danger {
    border-radius: 999px;
}

/* —— Forms —— */
.form-control,
.form-select {
    border-radius: var(--bento-radius-sm);
    border: 1px solid rgba(49, 49, 49, 0.12);
    color: var(--bento-text);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--bento-sky);
    box-shadow: 0 0 0 3px rgba(152, 208, 255, 0.35);
}

.form-label {
    color: var(--bento-text);
    font-weight: 500;
    font-size: 0.875rem;
}

/* Dashboard: Name / Bio text fields */
.dashboard-profile-form .form-control.dashboard-input-text {
    background-color: #ececec !important;
    border-color: rgba(49, 49, 49, 0.1) !important;
    color: var(--bento-text) !important;
}

.dashboard-profile-form .form-control.dashboard-input-soft,
.dashboard-profile-form .form-select.dashboard-input-soft {
    background-color: #f6f6f8 !important;
    border-color: rgba(49, 49, 49, 0.08) !important;
    color: var(--bento-text) !important;
}

.dashboard-profile-form .form-control.dashboard-input-soft:focus,
.dashboard-profile-form .form-select.dashboard-input-soft:focus {
    background-color: #f0f0f3 !important;
    border-color: rgba(49, 49, 49, 0.14) !important;
}

.dashboard-profile-form .form-control.dashboard-input-text:not(.dashboard-input-soft):focus {
    background-color: #e6e6e6 !important;
    border-color: rgba(49, 49, 49, 0.14) !important;
}

.bento-tile--mint .dashboard-profile-form .form-control.dashboard-input-text:focus,
.bento-tile--mint .dashboard-profile-form .form-control.dashboard-input-soft:focus,
.bento-tile--mint .dashboard-profile-form .form-select.dashboard-input-soft:focus {
    box-shadow: 0 0 0 3px rgba(152, 208, 255, 0.35);
}

.cursor-pointer {
    cursor: pointer;
}

.profile-preview-avatar-label {
    cursor: pointer;
}

/* Dashboard: profile card — camera badge bottom (half on / half off) + hover delete */
.dashboard-profile-avatar-block {
    padding-bottom: 1rem;
}

.dashboard-profile-avatar-wrap {
    border-radius: 50%;
    flex-shrink: 0;
}

.dashboard-profile-avatar-hit .profile-avatar {
    display: block;
    transition: filter 0.2s ease;
}

.dashboard-profile-avatar-cam {
    position: absolute;
    bottom: 0;
    left: 50%;
    top: auto;
    z-index: 3;
    transform: translate(-50%, 50%);
    width: 1.75rem;
    height: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: #fff;
    color: #0d6efd;
    border: 2px solid rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    font-size: 0.72rem;
    line-height: 1;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.dashboard-profile-avatar-cam:hover {
    transform: translate(-50%, 50%) scale(1.06);
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.16);
}

.dashboard-profile-avatar-wrap:hover .dashboard-profile-avatar-hit .profile-avatar {
    filter: brightness(0.9);
}

.dashboard-profile-avatar-remove {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    border-radius: 50%;
    pointer-events: none;
}

.dashboard-profile-avatar-remove__btn {
    width: 2.35rem;
    height: 2.35rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

.dashboard-profile-avatar-wrap:hover .dashboard-profile-avatar-remove__btn {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

/* Dashboard: bio banner public preview */
.dashboard-bio-banner-preview {
    border-radius: var(--bento-radius-sm, 0.75rem);
}

.dashboard-bio-banner-preview__stage {
    position: relative;
    aspect-ratio: 21 / 9;
    min-height: 108px;
    max-height: 200px;
}

.dashboard-bio-banner-preview__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 200px;
}

.dashboard-bio-banner-preview__empty {
    min-height: 108px;
    height: 100%;
}

.dashboard-bio-banner-preview__remove {
    position: absolute;
    top: 0.45rem;
    inset-inline-end: 0.45rem;
    margin: 0;
}

.dashboard-bio-banner-preview__remove-btn {
    width: 2.35rem;
    height: 2.35rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.dashboard-bio-banner-preview__stage:hover .dashboard-bio-banner-preview__remove-btn {
    opacity: 1;
    pointer-events: auto;
}

/* Public page tile: background image preview (same overlay remove as bio banner) */
.dashboard-pub-bg-preview-wrap .dashboard-bio-banner-preview__stage {
    aspect-ratio: 16 / 9;
    min-height: 96px;
    max-height: 168px;
}

/* Multi bio-banner grid (dashboard) — reflows down to a single column on narrow screens */
.dashboard-bio-banners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    align-items: start;
    gap: 1rem;
}

.dashboard-bio-banner-preview--grid .dashboard-bio-banner-preview__stage {
    aspect-ratio: 16 / 9;
    min-height: 80px;
    max-height: 140px;
}

.dashboard-bio-banner-preview--grid .dashboard-bio-banner-preview__remove-btn {
    opacity: 1;
    pointer-events: auto;
    width: 1.9rem;
    height: 1.9rem;
    font-size: 0.85rem;
}

.dashboard-bio-banner-card {
    border-radius: 1rem;
    background: var(--bento-white, #fff);
    border: 1px solid var(--bento-border, rgba(49, 49, 49, 0.08));
    padding: 0.6rem;
    transition: opacity 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.dashboard-bio-banner-card:hover {
    box-shadow: 0 8px 20px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}

.dashboard-bio-banner-card--off .dashboard-bio-banner-preview__stage img {
    opacity: 0.45;
    filter: grayscale(0.4);
}

.dashboard-bio-banner-preview__off-badge {
    position: absolute;
    top: 0.45rem;
    inset-inline-start: 0.45rem;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
}

.dashboard-bio-banner-card__toolbar {
    display: flex;
    align-items: center;
    padding: 0.35rem 0;
}

.dashboard-bio-banner-link-form {
    margin-top: 0.6rem !important;
}

.dashboard-bio-banner-link-form .input-group {
    border: 1px solid rgba(49, 49, 49, 0.12);
    border-radius: 0.65rem;
    background: #f6f6f8;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.dashboard-bio-banner-link-form .input-group:focus-within {
    border-color: var(--bento-sky, #98d0ff);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(152, 208, 255, 0.3);
}

.dashboard-bio-banner-link-form .input-group-text,
.dashboard-bio-banner-link-form .form-control,
.dashboard-bio-banner-link-form button {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.dashboard-bio-banner-link-form .form-control {
    min-width: 0;
    padding: 0.5rem 0.3rem;
    font-size: 0.82rem;
    color: var(--bento-text);
}

.dashboard-bio-banner-link-form__icon {
    color: var(--bento-muted, rgba(26, 26, 26, 0.5));
    padding-inline-start: 0.75rem;
    padding-inline-end: 0.35rem;
}

.dashboard-bio-banner-link-form button[type="submit"] {
    flex-shrink: 0;
    color: var(--bento-muted, rgba(26, 26, 26, 0.55));
    padding-inline: 0.7rem;
    border-inline-start: 1px solid rgba(49, 49, 49, 0.1) !important;
    transition: color 0.15s ease, background-color 0.15s ease;
}

.dashboard-bio-banner-link-form button[type="submit"]:hover,
.dashboard-bio-banner-link-form button[type="submit"]:focus-visible {
    color: #fff;
    background-color: #6ed2b6 !important;
}

.dashboard-bio-banner-upload-wrap {
    background: rgba(0, 0, 0, 0.02);
    border: 1.5px dashed rgba(49, 49, 49, 0.18);
    border-radius: 1rem;
    padding: 1.1rem;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.dashboard-bio-banner-upload-wrap:focus-within,
.dashboard-bio-banner-upload-wrap:hover {
    border-color: var(--bento-sky, #98d0ff);
    background: rgba(152, 208, 255, 0.06);
}


.dashboard-embeds-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Grouped embeds render nested inside one box instead of a flat list — assigned/managed from the Groups popup. */
.dashboard-embed-group-box {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.85rem;
    border: 1.5px dashed rgba(49, 49, 49, 0.16);
    border-radius: 1.15rem;
    background: rgba(0, 0, 0, 0.015);
}

.dashboard-embed-group-box__head {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.15rem 0.15rem 0.6rem;
    margin-bottom: 0.15rem;
    border-bottom: 1px dashed rgba(49, 49, 49, 0.14);
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--bento-text, #1a1a1a);
}

.dashboard-embed-group-box__head i {
    color: var(--bento-muted, rgba(26, 26, 26, 0.5));
    font-size: 1.05rem;
}

.dashboard-embed-group-box__name {
    flex: 1 1 auto;
    min-width: 0;
}

.dashboard-embed-group-box__count {
    background: rgba(0, 0, 0, 0.08) !important;
    color: var(--bento-text, #1a1a1a) !important;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.35em 0.75em;
}

/* "+" placeholder tile — click opens the Add embed popup (pre-set to a group, when inside one) */
.dashboard-embed-add-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    min-height: 108px;
    padding: 1rem;
    border: 1.5px dashed rgba(49, 49, 49, 0.22);
    border-radius: 1rem;
    background: transparent;
    color: var(--bento-muted, rgba(26, 26, 26, 0.55));
    font-size: 0.82rem;
    font-weight: 600;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.dashboard-embed-add-tile i {
    font-size: 1.3rem;
}

.dashboard-embed-add-tile:hover,
.dashboard-embed-add-tile:focus-visible {
    border-color: var(--bento-sky, #98d0ff);
    background: rgba(152, 208, 255, 0.08);
    color: var(--bento-text, #1a1a1a);
}

/* Empty state: no groups yet — nudge the customer to create one before adding embeds */
.dashboard-embed-groups-first {
    padding: 1.5rem 1rem;
    border: 1.5px dashed rgba(49, 49, 49, 0.18);
    border-radius: 1rem;
    background: rgba(0, 0, 0, 0.015);
    color: var(--bento-muted, rgba(26, 26, 26, 0.55));
}

.dashboard-embed-groups-first i {
    color: var(--bento-muted, rgba(26, 26, 26, 0.4));
}

/* Per-group "Per row" layout: how many embeds sit side by side inside that group's box. */
.dashboard-embed-group-box--cols-2,
.dashboard-embed-group-box--cols-3 {
    display: grid;
    align-items: start;
}

.dashboard-embed-group-box--cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-embed-group-box--cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dashboard-embed-group-box--cols-2 .dashboard-embed-group-box__head,
.dashboard-embed-group-box--cols-3 .dashboard-embed-group-box__head {
    grid-column: 1 / -1;
}

@media (max-width: 575.98px) {
    .dashboard-embed-group-box--cols-2,
    .dashboard-embed-group-box--cols-3 {
        display: flex;
        flex-direction: column;
    }
}

.dashboard-embed-card {
    border-radius: 1rem;
    background: var(--bento-white, #fff);
    border: 1px solid var(--bento-border, rgba(49, 49, 49, 0.08));
    padding: 0.85rem 1rem;
    transition: opacity 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.dashboard-embed-card:hover {
    box-shadow: 0 8px 20px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}

.dashboard-embed-card--off {
    opacity: 0.55;
}

.dashboard-embed-card--off:hover {
    box-shadow: none;
    transform: none;
}

.dashboard-embed-card__row {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.dashboard-embed-card__icon {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 0.65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.15rem;
    background: rgba(13, 110, 253, 0.12);
    color: #0a58ca;
}

.dashboard-embed-card__icon--youtube {
    background: rgba(255, 0, 0, 0.1);
    color: #ff0000;
}

.dashboard-embed-card__icon--vimeo {
    background: rgba(26, 183, 234, 0.14);
    color: #1ab7ea;
}

.dashboard-embed-card__icon--spotify {
    background: rgba(30, 215, 96, 0.15);
    color: #1db954;
}

.dashboard-embed-card__icon--soundcloud {
    background: rgba(255, 85, 0, 0.12);
    color: #ff5500;
}

.dashboard-embed-card__icon--instagram {
    background: rgba(193, 53, 132, 0.14);
    color: #c13584;
}

.dashboard-embed-card__icon--snapchat {
    background: rgba(255, 252, 0, 0.25);
    color: #a89400;
}

.dashboard-embed-supported {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.dashboard-embed-supported__label {
    margin-inline-end: 0.15rem;
}

.dashboard-embed-supported__icon.dashboard-embed-card__icon {
    width: 1.7rem;
    height: 1.7rem;
    font-size: 0.9rem;
    border-radius: 0.45rem;
}

.dashboard-embed-card__main {
    flex: 1 1 auto;
}

.dashboard-embed-card__title {
    font-size: 0.88rem;
    font-weight: 600;
}

.dashboard-embed-card__platform {
    margin-top: 0.1rem;
}

.dashboard-embed-card__remove-btn {
    width: 2.1rem;
    height: 2.1rem;
    border: none;
    border-radius: 0.6rem;
    background: rgba(234, 96, 129, 0.12);
    color: #9f1239;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.15s ease, transform 0.15s ease;
}

.dashboard-embed-card__remove-btn:hover {
    background: rgba(234, 96, 129, 0.26);
    transform: scale(1.05);
}

.dashboard-embed-card__columns-form {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.75rem;
    padding-top: 0.65rem;
    border-top: 1px dashed rgba(49, 49, 49, 0.1);
}

.dashboard-embed-card__columns-label {
    white-space: nowrap;
}

.dashboard-embed-card__columns-group {
    display: inline-flex;
    align-items: stretch;
    gap: 0.2rem;
    background: #f6f6f8;
    border: 1px solid rgba(49, 49, 49, 0.1);
    border-radius: 999px;
    padding: 0.2rem;
}

.dashboard-embed-card__columns-opt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.7rem;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--bento-muted, rgba(26, 26, 26, 0.55));
    cursor: pointer;
    user-select: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.dashboard-embed-card__columns-opt:hover {
    color: var(--bento-text, #1a1a1a);
}

.dashboard-embed-card__columns-opt.is-active,
.dashboard-embed-card__columns-opt:has(input:checked) {
    background: var(--bento-text, #1a1a1a);
    color: #fff;
}

.dashboard-embed-card__cover-form {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding-top: 0.65rem;
    border-top: 1px dashed rgba(49, 49, 49, 0.1);
}

.dashboard-embed-card__cover-preview {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    object-fit: cover;
    flex-shrink: 0;
}

.dashboard-embed-card__cover-upload {
    flex: 1 1 auto;
    min-width: 180px;
}

/* Public profile: embeds grid — each embed sized by its own chosen columns-per-row (1/2/3), mobile-first */
.public-embeds {
    display: flex;
    flex-wrap: wrap;
}

/* Public profile: customer-named embed group heading */
.public-profile-embed-group-heading {
    flex-basis: 100%;
    width: 100%;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    opacity: 0.72;
    padding: 0.1rem 0.25rem;
    margin-top: 0.35rem;
}

.public-profile-embed-group-heading:first-child {
    margin-top: 0;
}

.public-embed-block {
    flex: 1 1 100%;
    max-width: 100%;
}

.public-embed-block--cols-2 {
    flex-basis: calc(50% - 0.5rem);
    max-width: calc(50% - 0.5rem);
}

.public-embed-block--cols-3 {
    flex-basis: calc(33.333% - 0.667rem);
    max-width: calc(33.333% - 0.667rem);
}

/* Email subscribers tile (dashboard) */
.dashboard-subscribers-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.dashboard-subscriber-row {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.7rem 0.85rem;
    border-radius: 1rem;
    background: var(--bento-white, #fff);
    border: 1px solid var(--bento-border, rgba(49, 49, 49, 0.08));
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.dashboard-subscriber-row:hover {
    box-shadow: 0 8px 20px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}

.dashboard-subscriber-row__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    flex-shrink: 0;
    font-size: 1.3rem;
    background: rgba(13, 110, 253, 0.12);
    color: #0a58ca;
}

.dashboard-subscriber-row__main {
    flex: 1 1 auto;
}

.dashboard-subscriber-row__email {
    font-size: 0.85rem;
    font-weight: 600;
}

/* Posts tile (dashboard) */
.dashboard-posts-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.dashboard-post-card {
    border-radius: 1rem;
    background: var(--bento-white, #fff);
    border: 1px solid var(--bento-border, rgba(49, 49, 49, 0.08));
    padding: 0.9rem 1rem;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.dashboard-post-card:hover {
    box-shadow: 0 8px 20px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}

.dashboard-post-card__row {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    margin-bottom: 0.75rem;
}

.dashboard-post-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 0.65rem;
    flex-shrink: 0;
    background: rgba(0, 0, 0, 0.06);
    color: var(--bento-muted, rgba(26, 26, 26, 0.55));
    font-size: 1.05rem;
}

.dashboard-post-card__icon--live {
    background: rgba(34, 197, 94, 0.14);
    color: #15803d;
}

.dashboard-post-card__main {
    flex: 1 1 auto;
    min-width: 0;
}

.dashboard-post-card__badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.3rem;
}

.dashboard-post-card__title {
    font-size: 0.96rem;
    font-weight: 700;
}

.dashboard-post-card__snippet {
    white-space: pre-line;
    line-height: 1.5;
    margin-top: 0.25rem;
}

.dashboard-post-wordcount {
    color: var(--bento-muted, rgba(26, 26, 26, 0.55));
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.dashboard-post-wordcount--over {
    color: #c81e28;
    font-weight: 700;
}

.dashboard-post-card__actions {
    padding-top: 0.65rem;
    border-top: 1px dashed rgba(49, 49, 49, 0.1);
}

.dashboard-post-card__actions .btn,
.dashboard-post-card__actions .dashboard-embed-card__remove-btn {
    font-size: 0.8rem;
}

.dashboard-post-card__actions i {
    font-size: 0.95rem;
    line-height: 1;
}

.dashboard-post-card__actions .dashboard-embed-card__remove-btn {
    width: 2rem;
    height: 2rem;
}

.dashboard-post-card__actions form {
    margin: 0;
}

/* Profile card: public URL row — no grey fill, compact; copy = dark yellow icon button */
.bento-cell--profile .dashboard-profile-public-url {
    max-width: 100%;
}

.bento-cell--profile .dashboard-profile-url-input {
    background-color: transparent !important;
    border: 1px solid rgba(26, 26, 26, 0.14);
    box-shadow: none !important;
    color: var(--bento-text) !important;
    font-size: 0.8125rem;
    padding-top: 0.32rem;
    padding-bottom: 0.32rem;
}

.bento-cell--profile .dashboard-profile-url-input:focus {
    background-color: transparent !important;
    border-color: rgba(26, 26, 26, 0.24);
    box-shadow: none !important;
    color: var(--bento-text) !important;
}

.bento-cell--profile .dashboard-profile-copy-btn {
    min-width: 2.35rem;
    padding: 0.32rem 0.45rem;
    line-height: 1;
    background: #b8980f !important;
    color: #14110a !important;
    border: none !important;
    border-radius: var(--bento-radius-sm, 12px);
}

.bento-cell--profile .dashboard-profile-copy-btn:hover {
    background: #9e820d !important;
    color: #0a0905 !important;
}

.bento-cell--profile .dashboard-profile-copy-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(184, 152, 16, 0.5);
}

/* Dashboard: URL inputs — soft grey fill (elsewhere) */
.dashboard-input-url {
    background-color: #eceff1 !important;
    border-color: rgba(49, 49, 49, 0.1) !important;
    color: var(--bento-text) !important;
}

.dashboard-input-url:focus {
    background-color: #e3e7ea !important;
    border-color: rgba(49, 49, 49, 0.14) !important;
}

.bento-tile--mint .dashboard-profile-form .form-control.dashboard-input-url:focus,
.bento-tile--sky .form-control.dashboard-input-url:focus,
.bento-tile--rose .form-control.dashboard-input-url:focus,
.bento-tile--plain .form-control.dashboard-input-url:focus {
    box-shadow: 0 0 0 3px rgba(152, 208, 255, 0.35);
}

/* —— Add link tile: tap header to expand form —— */
.add-link-tile {
    overflow: hidden;
    min-height: 4.75rem;
}

.add-link-tile__toggle {
    padding: 1rem 1.35rem;
    font-weight: 650;
    font-size: 0.95rem;
    color: #fff;
    background: linear-gradient(135deg, #f06b8a 0%, var(--bento-rose) 45%, #d94a73 100%);
    border-radius: 0;
    transition: filter 0.15s ease, background 0.15s ease;
}

.add-link-tile__toggle:hover {
    filter: brightness(1.05);
    color: #fff;
}

.add-link-tile__toggle:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.95);
    outline-offset: 2px;
}

.add-link-tile__title {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.add-link-tile__badge {
    background: rgba(255, 255, 255, 0.95) !important;
    color: var(--bento-text) !important;
    font-weight: 600;
    font-size: 0.75rem;
    padding: 0.35em 0.75em;
    border: none;
}

.add-link-tile__badge--warn {
    background: rgba(0, 0, 0, 0.2) !important;
    color: #fff !important;
}

.add-link-tile__chev {
    font-size: 1.15rem;
    opacity: 0.9;
    transition: transform 0.22s ease;
}

.add-link-tile__toggle[aria-expanded='true'] .add-link-tile__chev {
    transform: rotate(-180deg);
}

.add-link-tile__collapse {
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, transparent 48px);
}

.add-link-tile__inner {
    padding: 1rem 1.25rem 1.35rem;
}

.add-link-panel {
    background: var(--bento-white);
    border-radius: var(--bento-radius-sm);
    border: 1px solid var(--bento-border);
    padding: 1.15rem 1.2rem 1.25rem;
    box-shadow: 0 6px 24px rgba(26, 26, 26, 0.06);
}

.add-link-form__label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--bento-text);
    letter-spacing: 0.01em;
}

.add-link-form__input,
.add-link-form__select,
.add-link-form__file {
    border-radius: 14px !important;
    border: 1px solid rgba(49, 49, 49, 0.12) !important;
    min-height: 46px;
    padding: 0.55rem 0.9rem;
    font-size: 0.9375rem;
}

.add-link-form__file {
    min-height: auto;
    padding: 0.45rem 0.75rem;
}

.add-link-form__input:focus,
.add-link-form__select:focus,
.add-link-form__file:focus {
    border-color: rgba(234, 96, 129, 0.45) !important;
    box-shadow: 0 0 0 3px rgba(234, 96, 129, 0.18) !important;
}

.add-link-form__divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--bento-border), transparent);
    margin-bottom: 0.75rem;
}

.add-link-form__section-cap {
    color: var(--bento-muted);
    letter-spacing: 0.02em;
    font-size: 0.78rem !important;
}

.add-link-form__hint {
    color: var(--bento-muted);
    line-height: 1.35;
}

.btn-add-link-submit {
    background: linear-gradient(135deg, #f06b8a 0%, var(--bento-rose) 50%, #c73d62 100%);
    color: #fff !important;
    border: none;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.65rem 1.25rem;
    letter-spacing: 0.02em;
    transition: transform 0.12s ease, filter 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 4px 14px rgba(234, 96, 129, 0.35);
}

.btn-add-link-submit:hover:not(:disabled) {
    filter: brightness(1.06);
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(234, 96, 129, 0.42);
}

.btn-add-link-submit:active:not(:disabled) {
    transform: translateY(0);
}

.btn-add-link-submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-add-link-submit:focus-visible {
    outline: 2px solid var(--bento-rose);
    outline-offset: 3px;
}

.add-link-social-hints {
    padding: 0 0.15rem;
    justify-content: flex-start;
}

/* Dashboard: save — mint, white text, no border */
.btn-dashboard-save {
    background: #6ed2b6;
    color: #ffffff;
    border: none;
    border-radius: 999px;
    font-weight: 600;
    padding: 0.5rem 1rem;
}

.btn-dashboard-save:hover {
    background: #5bc4a8;
    color: #ffffff;
}

.btn-dashboard-save:focus-visible {
    box-shadow: 0 0 0 3px rgba(110, 210, 182, 0.45);
}

/* Dashboard: open link — icon only */
.btn-dashboard-icon {
    color: #6b7280;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #f3f4f6;
    border-radius: 10px;
    padding: 0.28rem 0.5rem;
    line-height: 1;
}

.btn-dashboard-icon:hover {
    background: #e8eaed;
    color: #374151;
}

/* Dashboard: delete — compact icon */
.btn-dashboard-icon-danger {
    padding: 0.28rem 0.5rem;
    line-height: 1;
    border-radius: 10px;
}

.text-muted {
    color: var(--bento-muted) !important;
}

.bento-tile--sky .form-control,
.bento-tile--sky .form-select,
.bento-tile--mint .form-control,
.bento-tile--mint .form-select,
.bento-tile--pink .form-control,
.bento-tile--pink .form-select {
    background: rgba(255, 255, 255, 0.88);
    border: none;
    color: var(--bento-text);
}

.bento-tile--sky .form-control:focus,
.bento-tile--mint .form-control:focus,
.bento-tile--pink .form-control:focus,
.bento-tile--sky .form-select:focus,
.bento-tile--mint .form-select:focus,
.bento-tile--pink .form-select:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.75);
    border: none;
}

/* Login / register: visible input border */
.bento-auth-grid .bento-tile--mint .form-control,
.bento-auth-grid .bento-tile--mint .form-select {
    border: 1px solid #efefef !important;
}

.bento-auth-grid .bento-tile--mint .form-control:focus,
.bento-auth-grid .bento-tile--mint .form-select:focus {
    border: 1px solid var(--bento-sky) !important;
    box-shadow: 0 0 0 3px rgba(152, 208, 255, 0.35);
}

/* —— iOS-style switch (Settings) —— */
.ios-switch {
    position: relative;
    display: inline-block;
    width: 51px;
    height: 31px;
    flex-shrink: 0;
}

.ios-switch input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.ios-switch-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: #d1d1d6;
    border-radius: 31px;
    transition: background 0.25s ease;
}

.ios-switch-slider::before {
    content: '';
    position: absolute;
    height: 27px;
    width: 27px;
    left: 2px;
    bottom: 2px;
    background: var(--bento-white);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    transition: transform 0.25s ease;
}

.ios-switch input:checked + .ios-switch-slider {
    background: var(--bento-mint);
}

.ios-switch input:checked + .ios-switch-slider::before {
    transform: translateX(20px);
}

.ios-switch input:focus-visible + .ios-switch-slider {
    box-shadow: 0 0 0 3px rgba(152, 208, 255, 0.55);
}

.bento-setting-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.65rem 0;
    border-bottom: none;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.bento-tile--plain .bento-setting-row {
    border-top-color: rgba(0, 0, 0, 0.06);
}

/* —— Auth pages (bento grid) —— */
.bento-auth-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
}

.bento-auth-lang-row {
    flex-shrink: 0;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    padding: 0.85rem clamp(1rem, 4vw, 1.75rem);
    box-sizing: border-box;
}

.bento-auth-stage {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1rem, 4vw, 2.5rem);
    min-height: 0;
}

/* Public profile 404 — friendly card */
.profile-not-found-page .profile-not-found-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--bento-radius);
    border: 1px solid var(--bento-border);
    box-shadow: 0 14px 48px rgba(26, 26, 26, 0.08);
    background: var(--bento-white);
}

.profile-not-found-card__accent {
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, var(--bento-sky), var(--bento-mint), var(--bento-pink));
    flex-shrink: 0;
}

.profile-not-found-ico {
    width: 4.5rem;
    height: 4.5rem;
    background: linear-gradient(145deg, rgba(152, 208, 255, 0.4), rgba(110, 210, 182, 0.32));
    color: #145a7a;
    font-size: 2rem;
    line-height: 1;
}

.profile-not-found-page .btn-modern.btn-lg {
    font-size: 0.95rem;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
}

.bento-auth-page--narrow .bento-auth-grid {
    max-width: 440px;
    grid-template-columns: 1fr;
}

.bento-auth-grid {
    width: 100%;
    max-width: 920px;
    display: grid;
    gap: var(--bento-gap);
    grid-template-columns: 1fr;
}

.bento-auth-grid > .bento-tile {
    border: none;
    box-shadow: none;
}

@media (min-width: 992px) {
    .bento-auth-grid {
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
    }
}

.bento-auth-aside {
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem !important;
    background: linear-gradient(145deg, var(--bento-sky) 0%, var(--bento-mint) 45%, var(--bento-pink) 100%) !important;
    color: var(--bento-text);
    border: none !important;
    box-shadow: none !important;
}

.bento-auth-aside h2 {
    font-weight: 800;
    letter-spacing: -0.03em;
}

.bento-auth-aside__logo-plain {
    display: block;
    height: 2.75rem;
    width: auto;
    max-width: 80%;
    object-fit: contain;
}

/* Login: side panel — photo-style cover (SVG / replaceable asset) */
.bento-tile.bento-auth-aside.bento-auth-aside--login {
    position: relative;
    min-height: 320px;
    background:
        linear-gradient(180deg, rgba(26, 26, 26, 0.08) 0%, rgba(26, 26, 26, 0.52) 100%),
        url('../images/auth-login-visual.svg') center / cover no-repeat !important;
    color: #ffffff !important;
    justify-content: flex-end;
}

.bento-auth-aside--login h2,
.bento-auth-aside--login .bi {
    color: #ffffff !important;
}

.bento-auth-aside--login .opacity-90 {
    color: rgba(255, 255, 255, 0.92) !important;
}

.bento-auth-aside__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff !important;
    font-size: 1rem;
    transition: background-color 0.15s ease;
}

.bento-auth-aside__social-link:hover {
    background: rgba(255, 255, 255, 0.32);
}

/* Admin login: side panel — red photo-style cover */
.bento-tile.bento-auth-aside.bento-auth-aside--admin {
    position: relative;
    min-height: 320px;
    background:
        linear-gradient(180deg, rgba(60, 10, 20, 0.15) 0%, rgba(40, 5, 12, 0.6) 100%),
        url('../images/auth-admin-visual.svg') center / cover no-repeat !important;
    color: #ffffff !important;
    justify-content: flex-end;
}

.bento-auth-aside--admin h2,
.bento-auth-aside--admin .bi {
    color: #ffffff !important;
}

.bento-auth-aside--admin .opacity-90 {
    color: rgba(255, 255, 255, 0.92) !important;
}

/* Register: aside headline + tagline — white on gradient */
.bento-tile.bento-auth-aside.bento-auth-aside--register {
    color: #ffffff !important;
}

.bento-auth-aside--register h2,
.bento-auth-aside--register .bi {
    color: #ffffff !important;
}

.bento-auth-aside--register .opacity-90 {
    color: rgba(255, 255, 255, 0.92) !important;
}

/* Login page: register CTA + admin link strips */
.auth-login-strip {
    border-radius: var(--bento-radius-sm);
    padding: 0.7rem 1rem;
}

.auth-login-strip--register {
    margin-top: 1rem;
    background: #5ea49b;
    color: #ffffff;
}

.auth-login-strip--register .auth-login-strip-link {
    color: #ffffff;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.auth-login-strip--register .auth-login-strip-link:hover {
    color: #ffffff;
    opacity: 0.92;
}

.auth-login-admin-note {
    margin-top: 0.65rem;
    font-size: 0.75rem;
    line-height: 1.35;
}

.auth-login-admin-link {
    color: var(--bento-muted);
    font-weight: 500;
    text-decoration: none;
}

.auth-login-admin-link:hover {
    color: var(--bento-text);
    text-decoration: underline;
}

@media (min-width: 992px) {
    .bento-tile.bento-auth-aside.bento-auth-aside--login,
    .bento-tile.bento-auth-aside.bento-auth-aside--admin {
        min-height: min(520px, 72vh);
    }
}

/* —— Profile / links —— */
.profile-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.85);
    box-shadow: none;
}

.profile-avatar-lg {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--bento-white);
    box-shadow: var(--bento-shadow);
}

.public-page {
    min-height: 100vh;
}

.profile-center {
    max-width: 520px;
}

.bio-text {
    color: var(--bento-muted);
}

/* Public profile: bio (profile.php — p.bio-text.mb-4.text-center) */
.public-page p.bio-text.mb-4.text-center {
    background: #fff;
    border-radius: 17px;
    padding: 20px;
    color: var(--bento-text);
    border: 1px solid rgba(49, 49, 49, 0.1);
}

/* Public profile: booking block (profile.php) — full width of .profile-center (520px) */
.public-booking-trigger {
    width: 100%;
    max-width: 520px;
    background: var(--bento-white);
    border: 1px solid rgba(49, 49, 49, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.public-booking-trigger__cta.social-link-btn {
    justify-content: center;
    text-align: center;
    border-radius: 999px;
    background: transparent;
    border: none;
    box-shadow: none;
}

.public-booking-trigger__cta.social-link-btn:hover {
    background: transparent;
    opacity: 0.75;
}

.public-subscribe-trigger {
    width: 100%;
    justify-content: center;
    text-align: center;
    border: none;
    background: transparent;
    color: var(--bento-text);
    font-weight: 600;
    border-radius: 999px;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.public-subscribe-trigger:hover {
    background: transparent;
    color: var(--bento-text);
    opacity: 0.75;
    transform: translateY(-1px);
}

.pub-bg-midnight.public-page .public-subscribe-trigger,
.pub-bg-aurora.public-page .public-subscribe-trigger,
.pub-bg-ocean.public-page .public-subscribe-trigger {
    color: #fff;
}

.public-booking-trigger__secondary {
    border: none;
    background: transparent;
    color: var(--bento-text);
    font-weight: 600;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.public-booking-trigger__secondary:hover {
    background: transparent;
    color: var(--bento-text);
    opacity: 0.75;
    transform: translateY(-1px);
}

.public-booking-trigger__divider {
    width: 1px;
    align-self: center;
    height: 1.75rem;
    background: rgba(49, 49, 49, 0.12);
    flex-shrink: 0;
}

.pub-bg-midnight.public-page .public-booking-trigger__divider,
.pub-bg-aurora.public-page .public-booking-trigger__divider,
.pub-bg-ocean.public-page .public-booking-trigger__divider {
    background: rgba(255, 255, 255, 0.18);
}

.public-booking-modal .modal-dialog {
    max-width: min(460px, calc(100vw - 1.25rem));
}

.public-booking-modal__content {
    overflow: hidden;
}

.public-booking-modal__bar {
    height: 5px;
    width: 100%;
    background: linear-gradient(
        90deg,
        color-mix(in srgb, var(--theme-color, #0d6efd) 85%, transparent),
        color-mix(in srgb, var(--theme-color, #0d6efd) 35%, transparent)
    );
}

.public-booking-modal__header {
    padding: 1.25rem 1.25rem 0.9rem;
}

.public-booking-modal__header-ico {
    width: 46px;
    height: 46px;
    font-size: 1.25rem;
    color: var(--theme-color, #0d6efd);
    background: color-mix(in srgb, var(--theme-color, #0d6efd) 14%, #fff);
}

.public-booking-modal__lead {
    line-height: 1.4;
}

.public-booking-modal__body {
    padding: 0.25rem 1.25rem 1.5rem;
}

.public-booking-modal__body .form-label {
    font-weight: 600;
    font-size: 0.875rem;
}

.public-booking-modal__body .form-control,
.public-booking-modal__body .form-select {
    border-radius: 12px;
    border-color: rgba(49, 49, 49, 0.14);
    padding: 0.6rem 0.85rem;
}

.public-booking-modal__body .form-control:focus,
.public-booking-modal__body .form-select:focus {
    border-color: color-mix(in srgb, var(--theme-color, #0d6efd) 55%, transparent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--theme-color, #0d6efd) 18%, transparent);
}

.public-booking-modal__code-input {
    font-size: 1.15rem;
    letter-spacing: 0.35em;
    font-weight: 700;
}

.public-booking-modal__submit {
    background: var(--theme-color, #0d6efd);
    color: #fff;
    font-weight: 700;
    border: none;
    box-shadow: 0 6px 18px color-mix(in srgb, var(--theme-color, #0d6efd) 35%, transparent);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.public-booking-modal__submit:hover {
    color: #fff;
    filter: brightness(1.06);
    transform: translateY(-1px);
    box-shadow: 0 10px 22px color-mix(in srgb, var(--theme-color, #0d6efd) 42%, transparent);
}

/* Public profile — share modal (profile.php) */
.public-share-modal .modal-dialog {
    max-width: min(440px, calc(100vw - 1.25rem));
    margin: 0.75rem auto;
}

.public-share-modal__sheet {
    overflow: hidden;
    background: linear-gradient(165deg, #ffffff 0%, #f8fafc 55%, #f1f5f9 100%);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.public-share-modal__grab {
    width: 40px;
    height: 5px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.12);
    margin: 0.5rem auto 0;
    flex-shrink: 0;
}

.public-share-modal__head {
    padding-top: max(0.5rem, env(safe-area-inset-top, 0px));
    padding-left: max(1rem, env(safe-area-inset-left, 0px));
    padding-right: max(1rem, env(safe-area-inset-right, 0px));
}

.public-share-modal__title {
    line-height: 1.3;
    font-size: clamp(1.05rem, 4vw, 1.25rem);
}

.public-share-modal__close {
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    margin: -0.25rem -0.35rem -0.25rem 0;
    background-size: 0.85rem;
}

.public-share-modal__icon {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
    color: var(--theme-color, #0d6efd);
    background: color-mix(in srgb, var(--theme-color, #0d6efd) 14%, #fff);
}

.public-share-modal__body {
    padding-top: 0.25rem;
    padding-left: max(1rem, env(safe-area-inset-left, 0px));
    padding-right: max(1rem, env(safe-area-inset-right, 0px));
    padding-bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
}

.public-share-modal__lead {
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 1.125rem;
    color: var(--bs-secondary-color, #6c757d);
}

.public-share-modal__block {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 1rem;
    padding: 1rem 1rem 1.125rem;
    margin-bottom: 0.875rem;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.public-share-modal__block--social {
    margin-bottom: 0;
}

.public-share-modal__block-title {
    letter-spacing: -0.02em;
    color: var(--bs-emphasis-color, #212529);
}

.public-share-modal__field-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--bs-secondary-color, #6c757d);
}

.public-share-modal__qr-wrap {
    max-width: min(280px, 82vw);
    min-height: min(220px, 48vw);
    padding: clamp(0.65rem, 2.5vw, 1rem);
    border-radius: 1rem;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}

.public-share-modal__qr-canvas {
    display: block;
    max-width: 100%;
    height: auto;
}

.public-share-modal__primary-btn,
.public-share-modal__secondary-btn {
    min-height: 3rem;
    font-weight: 600;
    font-size: 0.9375rem;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
}

.public-share-modal__link-group .form-control {
    min-width: 0;
}

.public-share-modal__link-input {
    font-size: 0.8125rem;
    padding: 0.7rem 0.85rem;
    min-height: 3rem;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.public-share-modal__copy-btn {
    min-width: 3.25rem;
    min-height: 3rem;
    padding: 0.5rem 0.75rem;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.public-share-modal__social-btn {
    border: 1px solid rgba(49, 49, 49, 0.1);
    background: rgba(255, 255, 255, 0.98);
    border-radius: 1rem;
    min-height: 5.25rem;
    padding: 0.65rem 0.35rem;
    gap: 0.35rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.public-share-modal__social-btn:active {
    transform: scale(0.98);
}

.public-share-modal__social-btn:hover {
    border-color: color-mix(in srgb, var(--theme-color, #0d6efd) 38%, rgba(49, 49, 49, 0.1));
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

.public-share-modal__social-ico {
    font-size: clamp(1.5rem, 5vw, 1.75rem);
    line-height: 1;
}

.public-share-modal__social-label {
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    max-width: 100%;
    padding: 0 0.15rem;
    word-break: break-word;
}

.public-share-modal__social-ico.bi-snapchat {
    filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.35));
}

.public-share-toast-wrap {
    z-index: 1100;
    padding-bottom: env(safe-area-inset-bottom, 0px) !important;
}

@media (max-width: 575.98px) {
    .public-share-modal .modal-dialog {
        margin: 0;
        max-width: 100%;
        min-height: 100%;
        align-items: flex-end;
    }

    .public-share-modal.modal .modal-dialog.modal-fullscreen-sm-down .modal-content.public-share-modal__sheet {
        border-radius: 1.35rem 1.35rem 0 0;
        max-height: min(92vh, 100dvh);
        min-height: auto;
        display: flex;
        flex-direction: column;
    }

    .public-share-modal.modal .modal-dialog.modal-fullscreen-sm-down .modal-body.public-share-modal__body {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }

    .public-share-modal__block {
        padding: 1.05rem 1rem 1.15rem;
    }

    .public-share-trigger {
        font-size: 0.8125rem;
    }
}

@media (min-width: 576px) {
    .public-share-modal__grab {
        display: none !important;
    }
}

.pub-bg-midnight.public-page .public-share-modal__social-btn,
.pub-bg-aurora.public-page .public-share-modal__social-btn,
.pub-bg-ocean.public-page .public-share-modal__social-btn {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.92);
}

.pub-bg-midnight.public-page .public-share-modal__social-btn:hover,
.pub-bg-aurora.public-page .public-share-modal__social-btn:hover,
.pub-bg-ocean.public-page .public-share-modal__social-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.28);
    color: #fff;
}

.pub-bg-midnight.public-page .public-share-modal__qr-wrap,
.pub-bg-aurora.public-page .public-share-modal__qr-wrap,
.pub-bg-ocean.public-page .public-share-modal__qr-wrap {
    background: rgba(255, 255, 255, 0.95) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.pub-bg-midnight.public-page .public-share-trigger,
.pub-bg-aurora.public-page .public-share-trigger,
.pub-bg-ocean.public-page .public-share-trigger {
    border-color: rgba(255, 255, 255, 0.35);
    color: rgba(255, 255, 255, 0.95);
}

.pub-bg-midnight.public-page .public-share-trigger:hover,
.pub-bg-aurora.public-page .public-share-trigger:hover,
.pub-bg-ocean.public-page .public-share-trigger:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
}

.pub-bg-midnight.public-page .public-booking-trigger__secondary,
.pub-bg-aurora.public-page .public-booking-trigger__secondary,
.pub-bg-ocean.public-page .public-booking-trigger__secondary {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.92);
}

.pub-bg-midnight.public-page .public-booking-trigger__secondary:hover,
.pub-bg-aurora.public-page .public-booking-trigger__secondary:hover,
.pub-bg-ocean.public-page .public-booking-trigger__secondary:hover {
    background: transparent;
    color: #fff;
}

.pub-bg-midnight.public-page .public-booking-trigger__cta.social-link-btn,
.pub-bg-aurora.public-page .public-booking-trigger__cta.social-link-btn,
.pub-bg-ocean.public-page .public-booking-trigger__cta.social-link-btn {
    background: transparent;
    border: none;
    color: #fff;
}

.pub-bg-midnight.public-page .public-booking-trigger__cta.social-link-btn:hover,
.pub-bg-aurora.public-page .public-booking-trigger__cta.social-link-btn:hover,
.pub-bg-ocean.public-page .public-booking-trigger__cta.social-link-btn:hover {
    background: transparent;
    color: #fff;
    opacity: 0.75;
}

.link-card-btn {
    background: var(--bento-white);
    border-radius: var(--bento-radius-sm);
    padding: 14px 16px;
    border: none;
    color: var(--bento-text);
    font-weight: 600;
    transition: transform 0.2s ease, opacity 0.2s ease, color 0.2s ease;
}

.social-link-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    text-align: start;
}

.link-card-btn:hover {
    opacity: 0.92;
    color: var(--bento-text);
    transform: translateY(-1px);
}

/* Public profile: customer-named link group heading */
.public-profile-link-group-heading {
    grid-column: 1 / -1;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    opacity: 0.72;
    padding: 0.1rem 0.25rem;
    margin-top: 0.35rem;
}

.public-profile-link-group-heading:first-child {
    margin-top: 0;
}

/* Public profile: list-style links (vs box cards) */
.public-profile-links--list {
    gap: 0 !important;
}

.pub-links-list .social-link-btn--list {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0.9rem 0.15rem;
    font-weight: 600;
    color: inherit;
    border-bottom: 1px solid rgba(26, 26, 26, 0.1) !important;
    transform: none !important;
}

.pub-links-list .public-profile-links--list > a:last-of-type {
    border-bottom: none !important;
}

.pub-links-list .social-link-btn--list:hover {
    opacity: 1;
    background: rgba(26, 26, 26, 0.04) !important;
    color: inherit;
}

.pub-bg-midnight.public-page .social-link-btn--list,
.pub-bg-aurora.public-page .social-link-btn--list,
.pub-bg-ocean.public-page .social-link-btn--list {
    border-bottom-color: rgba(255, 255, 255, 0.14) !important;
    color: inherit;
}

.pub-bg-midnight.public-page .social-link-btn--list:hover,
.pub-bg-aurora.public-page .social-link-btn--list:hover,
.pub-bg-ocean.public-page .social-link-btn--list:hover {
    background: rgba(255, 255, 255, 0.06) !important;
}

/* Public profile: icon grids — 3 or 2 per row, icon only (title in tooltip / aria-label) */
.pub-links-icons .public-profile-links--icons,
.pub-links-icons2 .public-profile-links--icons-2 {
    display: grid !important;
    gap: 0.65rem;
}

.pub-links-icons .public-profile-links--icons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pub-links-icons2 .public-profile-links--icons-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pub-links-icons .social-link-btn--icons-tile,
.pub-links-icons2 .social-link-btn--icons-tile {
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0 !important;
    aspect-ratio: 1;
    width: 100%;
    margin: 0;
    padding: 0.5rem !important;
    border: none;
    border-radius: var(--bento-radius-sm);
    background: var(--bento-white) !important;
    box-shadow: none;
    color: var(--bento-text);
    transform: none !important;
    transition: transform 0.15s ease, opacity 0.15s ease, filter 0.15s ease;
}

.link-pub-icon-wrap__caption {
    display: block;
    width: 100%;
    max-width: 100%;
    margin-top: 0.35rem;
    font-size: 0.7rem;
    line-height: 1.2;
    text-align: center;
    color: inherit;
}

.pub-links-icons .social-link-btn--icons-tile:hover,
.pub-links-icons2 .social-link-btn--icons-tile:hover {
    opacity: 1;
    transform: scale(1.04) !important;
    filter: brightness(1.02);
}

.pub-links-icons .link-pub-icon-wrap--tile,
.pub-links-icons2 .link-pub-icon-wrap--tile {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
}

.pub-links-icons .link-pub-icon-wrap--tile .link-pub-icon-wrap__i,
.pub-links-icons2 .link-pub-icon-wrap--tile .link-pub-icon-wrap__i {
    font-size: 1.85rem;
    line-height: 1;
}

.pub-links-icons .link-pub-icon-wrap--tile .link-pub-icon-wrap__img,
.pub-links-icons2 .link-pub-icon-wrap--tile .link-pub-icon-wrap__img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    border-radius: inherit;
}

.pub-links-icons.pub-icons-sm .link-pub-icon-wrap--tile,
.pub-links-icons2.pub-icons-sm .link-pub-icon-wrap--tile {
    width: 42px;
    height: 42px;
}

.pub-links-icons.pub-icons-sm .link-pub-icon-wrap--tile .link-pub-icon-wrap__i,
.pub-links-icons2.pub-icons-sm .link-pub-icon-wrap--tile .link-pub-icon-wrap__i {
    font-size: 1.45rem;
}

.pub-links-icons.pub-icons-lg .link-pub-icon-wrap--tile,
.pub-links-icons2.pub-icons-lg .link-pub-icon-wrap--tile {
    width: 62px;
    height: 62px;
}

.pub-links-icons.pub-icons-lg .link-pub-icon-wrap--tile .link-pub-icon-wrap__i,
.pub-links-icons2.pub-icons-lg .link-pub-icon-wrap--tile .link-pub-icon-wrap__i {
    font-size: 2.1rem;
}

.pub-links-icons.pub-icons-xl .link-pub-icon-wrap--tile,
.pub-links-icons2.pub-icons-xl .link-pub-icon-wrap--tile {
    width: 72px;
    height: 72px;
}

.pub-links-icons.pub-icons-xl .link-pub-icon-wrap--tile .link-pub-icon-wrap__i,
.pub-links-icons2.pub-icons-xl .link-pub-icon-wrap--tile .link-pub-icon-wrap__i {
    font-size: 2.45rem;
}

.pub-links-icons.pub-icons-xxl .link-pub-icon-wrap--tile,
.pub-links-icons2.pub-icons-xxl .link-pub-icon-wrap--tile {
    width: 82px;
    height: 82px;
}

.pub-links-icons.pub-icons-xxl .link-pub-icon-wrap--tile .link-pub-icon-wrap__i,
.pub-links-icons2.pub-icons-xxl .link-pub-icon-wrap--tile .link-pub-icon-wrap__i {
    font-size: 2.75rem;
}

.pub-links-icons.pub-icons-xxxl .link-pub-icon-wrap--tile,
.pub-links-icons2.pub-icons-xxxl .link-pub-icon-wrap--tile {
    width: 94px;
    height: 94px;
}

.pub-links-icons.pub-icons-xxxl .link-pub-icon-wrap--tile .link-pub-icon-wrap__i,
.pub-links-icons2.pub-icons-xxxl .link-pub-icon-wrap--tile .link-pub-icon-wrap__i {
    font-size: 3.05rem;
}

.pub-links-icons.pub-icons-xxxxl .link-pub-icon-wrap--tile,
.pub-links-icons2.pub-icons-xxxxl .link-pub-icon-wrap--tile {
    width: 106px;
    height: 106px;
}

.pub-links-icons.pub-icons-xxxxl .link-pub-icon-wrap--tile .link-pub-icon-wrap__i,
.pub-links-icons2.pub-icons-xxxxl .link-pub-icon-wrap--tile .link-pub-icon-wrap__i {
    font-size: 3.35rem;
}

.link-pub-icons-fallback {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--theme-color, #0d6efd) 18%, rgba(128, 128, 128, 0.1));
    color: var(--theme-color, #0d6efd);
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1;
}

.pub-bg-midnight.public-page .social-link-btn--icons-tile,
.pub-bg-aurora.public-page .social-link-btn--icons-tile,
.pub-bg-ocean.public-page .social-link-btn--icons-tile {
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
}

.pub-bg-midnight.public-page .link-pub-icons-fallback,
.pub-bg-aurora.public-page .link-pub-icons-fallback,
.pub-bg-ocean.public-page .link-pub-icons-fallback {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.pub-links-icons.pub-icons-xl .link-pub-icons-fallback,
.pub-links-icons2.pub-icons-xl .link-pub-icons-fallback {
    width: 72px;
    height: 72px;
    font-size: 1.5rem;
}

.pub-links-icons.pub-icons-xxl .link-pub-icons-fallback,
.pub-links-icons2.pub-icons-xxl .link-pub-icons-fallback {
    width: 82px;
    height: 82px;
    font-size: 1.65rem;
}

.pub-links-icons.pub-icons-xxxl .link-pub-icons-fallback,
.pub-links-icons2.pub-icons-xxxl .link-pub-icons-fallback {
    width: 94px;
    height: 94px;
    font-size: 1.85rem;
}

.pub-links-icons.pub-icons-xxxxl .link-pub-icons-fallback,
.pub-links-icons2.pub-icons-xxxxl .link-pub-icons-fallback {
    width: 106px;
    height: 106px;
    font-size: 2rem;
}

.social-hints {
    display: flex;
    gap: 10px;
    font-size: 1.1rem;
    flex-wrap: wrap;
    align-items: center;
}

.social-hints .social-hint.social-brand {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.link-manage-card {
    border: none;
    border-radius: var(--bento-radius-sm);
    padding: 1rem;
    background: rgba(0, 0, 0, 0.04);
}

.dashboard-section-order-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    border-radius: var(--bento-radius-sm);
    padding: 0.75rem 0.9rem;
    background: rgba(0, 0, 0, 0.04);
}

.dashboard-section-order-item__handle {
    cursor: grab;
    color: var(--bento-muted);
    padding: 4px 2px;
    user-select: none;
    touch-action: none;
    line-height: 1;
    flex-shrink: 0;
}

.dashboard-section-order-item__handle:active {
    cursor: grabbing;
}

.dashboard-section-order-item__icon {
    width: 2rem;
    height: 2rem;
    border-radius: 0.55rem;
    background: var(--bento-white);
    color: var(--bento-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.95rem;
}

.dashboard-section-order-item__label {
    min-width: 0;
}

.dashboard-section-order-item.sortable-ghost {
    opacity: 0.4;
}

.dashboard-section-order-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
}

@media (min-width: 768px) {
    .dashboard-section-order-layout {
        grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
    }
}

.dashboard-section-order-layout__preview,
.dashboard-section-order-layout__list {
    min-width: 0;
}

.dashboard-section-order-preview-frame {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 9 / 19;
    max-height: 820px;
    margin: 0 auto;
    border-radius: 1.6rem;
    border: 8px solid var(--bento-text, #1a1a1a);
    background: var(--bento-white, #fff);
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
}

.dashboard-section-order-preview-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    overflow-y: auto;
}

.link-drag-handle {
    cursor: grab;
    color: var(--bento-muted);
    padding: 4px 2px;
    user-select: none;
    touch-action: none;
    line-height: 1;
}

.link-drag-handle:active {
    cursor: grabbing;
}

.link-manage-toggle .link-manage-chevron {
    transition: transform 0.2s ease;
}

.link-manage-toggle:not(.collapsed) .link-manage-chevron {
    transform: rotate(-180deg);
}

.link-manage-item.sortable-ghost {
    opacity: 0.45;
}

.link-manage-item.sortable-drag {
    cursor: grabbing;
}

.social-badge {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bento-text);
    background: rgba(255, 255, 255, 0.85);
}

/* Brand colours — dashboard badges & add-link hints */
.social-brand--instagram .bi-instagram {
    display: inline-block;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.social-brand--youtube .bi-youtube {
    color: #ff0000;
}

.social-brand--facebook .bi-facebook {
    color: #1877f2;
}

.social-brand--x .bi-twitter-x {
    color: #000000;
}

.social-brand--linkedin .bi-linkedin {
    color: #0a66c2;
}

.social-brand--tiktok .bi-tiktok {
    color: #000000;
}

.social-brand--github .bi-github {
    color: #181717;
}

.social-brand--whatsapp .bi-whatsapp {
    color: #25d366;
}

.social-brand--telegram .bi-telegram {
    color: #0088cc;
}

.social-brand--pinterest .bi-pinterest {
    color: #e60023;
}

.social-brand--snapchat {
    background: #fffc00 !important;
}

.social-brand--snapchat .bi-snapchat {
    color: #000000;
}

.social-brand--pdf .bi-file-pdf-fill {
    color: #e53935;
}

.social-brand--file .bi-file-earmark-fill {
    color: #475569;
}

.social-brand--gdrive .bi-cloud-arrow-down {
    color: #1a73e8;
}

.social-brand--dropbox .bi-box-seam {
    color: #0061ff;
}

.social-brand--onedrive .bi-cloud {
    color: #0078d4;
}

.social-brand--website .bi-globe2,
.social-brand--webpage .bi-window {
    color: #64748b;
}

.social-brand--gmaps .bi-geo-alt-fill {
    color: #4285f4;
}

.social-brand--android .bi-google-play {
    color: #3ddc84;
}

.social-brand--ios .bi-apple {
    color: #000000;
}

.social-brand--payment .bi-wallet2,
.social-brand--payment .bi-paypal {
    color: #6366f1;
}

.social-brand--cash .bi-cash-stack {
    color: #16a34a;
}

.social-brand--cart .bi-cart3 {
    color: #ea580c;
}

.social-brand--location .bi-pin-map-fill {
    color: #0d9488;
}

.social-brand--card .bi-credit-card-fill,
.social-brand--card .bi-credit-card {
    color: #334155;
}

.social-brand--visa .bi-credit-card-2-front {
    color: #1a1f71;
}

.social-brand--knet .bi-bank2 {
    color: #006bb6;
}

.social-brand--skype .bi-skype {
    color: #00aff0;
}

.social-brand--behance .bi-behance {
    color: #1769ff;
}

.social-brand--threads .bi-threads {
    color: #000000;
}

.social-brand--custom .bi {
    color: var(--theme-color, #0d6efd);
}

.social-badge-img {
    width: 22px;
    height: 22px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

/* Public profile link icons */
.social-link-icon--instagram {
    display: inline-block;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.social-link-icon--youtube {
    color: #ff0000;
}

.social-link-icon--facebook {
    color: #1877f2;
}

.social-link-icon--x {
    color: #000000;
}

.social-link-icon--linkedin {
    color: #0a66c2;
}

.social-link-icon--tiktok {
    color: #000000;
}

.social-link-icon--github {
    color: #181717;
}

.social-link-icon--whatsapp {
    color: #25d366;
}

.social-link-icon--telegram {
    color: #0088cc;
}

.social-link-icon--pinterest {
    color: #e60023;
}

.social-link-icon--snapchat {
    color: #000000;
    filter: drop-shadow(0 0 0.5px #fffc00) drop-shadow(0 0 1px #fffc00);
}

.social-link-icon--pdf {
    color: #e53935;
}

.social-link-icon--file {
    color: #475569;
}

.social-link-icon--gdrive {
    color: #1a73e8;
}

.social-link-icon--dropbox {
    color: #0061ff;
}

.social-link-icon--onedrive {
    color: #0078d4;
}

.social-link-icon--website {
    color: #64748b;
}

.social-link-icon--webpage {
    color: #64748b;
}

.social-link-icon--gmaps {
    color: #4285f4;
}

.social-link-icon--android {
    color: #3ddc84;
}

.social-link-icon--ios {
    color: #000000;
}

.social-link-icon--payment {
    color: #6366f1;
}

.social-link-icon--cash {
    color: #16a34a;
}

.social-link-icon--cart {
    color: #ea580c;
}

.social-link-icon--location {
    color: #0d9488;
}

.social-link-icon--card {
    color: #334155;
}

.social-link-icon--visa {
    color: #1a1f71;
}

.social-link-icon--knet {
    color: #006bb6;
}

.social-link-icon--skype {
    color: #00aff0;
}

.social-link-icon--behance {
    color: #1769ff;
}

.social-link-icon--threads {
    color: #000000;
}

.social-link-icon--custom {
    color: var(--theme-color, #0d6efd);
}

.social-link-img {
    border-radius: 6px;
    object-fit: cover;
}

.public-profile-card {
    position: relative;
    background: var(--bento-white);
    border: none;
    border-radius: var(--bento-radius);
    padding: 1.25rem;
    box-shadow: none;
}

.public-profile-card__like {
    position: absolute;
    top: 1.1rem;
    right: 1.1rem;
    width: 2.1rem;
    height: 2.1rem;
    padding: 0;
    border: none;
    background: transparent;
    color: #e5484d;
    font-size: 1.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    line-height: 1;
    transition: transform 0.15s ease;
}

html[dir="rtl"] .public-profile-card__like {
    right: auto;
    left: 1.1rem;
}

.public-profile-card__like:hover {
    transform: scale(1.08);
}

.public-profile-card__like.is-animating {
    animation: publicProfileLikePop 0.32s ease;
}

@keyframes publicProfileLikePop {
    0% { transform: scale(1); }
    35% { transform: scale(1.35); }
    100% { transform: scale(1); }
}

.public-profile-card__avatar-wrap {
    position: relative;
    padding-bottom: 2rem;
}

.public-profile-card__avatar {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bento-white);
    box-shadow: var(--bento-shadow);
    display: block;
}

.public-profile-card__type-pill {
    position: absolute;
    left: 50%;
    top: 96px;
    transform: translateX(-50%);
    white-space: nowrap;
    background: #f1f1f4;
    color: #6b6b74;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    /* box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06); */
}

.public-profile-card__name {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin: 0 0 0.15rem;
    line-height: 1.2;
}

.public-profile-card__verified-tick {
    color: #1d9bf0;
    font-size: 0.72em;
    vertical-align: middle;
}

.public-profile-card__username {
    display: inline-flex;
    align-items: center;
    font-size: 0.85rem;
    color: var(--bento-muted);
    background: #f1f1f4;
    padding: 0.22rem 0.7rem;
    border-radius: 999px;
    margin-top: 0.2rem;
}

.public-profile-card__business-type {
    font-size: 0.9rem;
    color: var(--bento-muted);
    margin-top: 0.15rem;
}

.public-profile-card__stats {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 0.85rem;
}

.public-profile-card__stat-label {
    font-size: 0.72rem;
    color: var(--bento-muted);
    margin-bottom: 0.2rem;
}

.public-profile-card__stat-value {
    font-size: 1.15rem;
    font-weight: 800;
}

.pub-bg-aurora.public-page .public-profile-card__stats,
.pub-bg-midnight.public-page .public-profile-card__stats,
.pub-bg-ocean.public-page .public-profile-card__stats {
    border-top-color: rgba(255, 255, 255, 0.18);
}

.plan-pick-btn {
    appearance: none;
    border: none;
    border-radius: var(--bento-radius-sm);
    padding: 14px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--bento-text);
    transition: transform 0.15s ease, background 0.15s ease;
    text-align: left;
    width: 100%;
}

.plan-pick-btn:hover {
    background: rgba(255, 255, 255, 0.92);
    transform: scale(1.01);
}

.plan-pick-btn.is-active {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.12);
}

.plan-feature-list li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.plan-feature-list li:last-child {
    border-bottom: 0;
}

.alert {
    border-radius: var(--bento-radius-sm);
    border: none;
}

.alert-success {
    background: rgba(110, 210, 182, 0.2);
    color: var(--bento-text);
}

.alert-danger {
    background: rgba(234, 96, 129, 0.12);
    color: var(--bento-text);
}

/* —— Public page plan-driven themes (keep; default sits on bento bg) —— */
.pub-bg-default.public-page {
    background: var(--bento-bg);
}

.pub-bg-soft.public-page {
    background: linear-gradient(180deg, #fdf4ff 0%, #fae8ff 50%, #e0f2fe 100%);
}

.pub-bg-aurora.public-page {
    background: linear-gradient(160deg, #1e1b4b 0%, #312e81 45%, #6b21a8 75%, #9d174d 100%);
    color: #f8fafc;
}

.pub-bg-aurora.public-page .text-muted,
.pub-bg-midnight.public-page .text-muted,
.pub-bg-ocean.public-page .text-muted,
.pub-bg-aurora.public-page .public-profile-card__username,
.pub-bg-midnight.public-page .public-profile-card__username,
.pub-bg-ocean.public-page .public-profile-card__username,
.pub-bg-aurora.public-page .public-profile-card__business-type,
.pub-bg-midnight.public-page .public-profile-card__business-type,
.pub-bg-ocean.public-page .public-profile-card__business-type,
.pub-bg-aurora.public-page .public-profile-card__stat-label,
.pub-bg-midnight.public-page .public-profile-card__stat-label,
.pub-bg-ocean.public-page .public-profile-card__stat-label {
    color: #cbd5e1 !important;
}

.pub-bg-aurora.public-page .public-profile-card__username,
.pub-bg-midnight.public-page .public-profile-card__username,
.pub-bg-ocean.public-page .public-profile-card__username {
    background: rgba(255, 255, 255, 0.14) !important;
}

.pub-bg-aurora.public-page p.bio-text.mb-4.text-center,
.pub-bg-midnight.public-page p.bio-text.mb-4.text-center,
.pub-bg-ocean.public-page p.bio-text.mb-4.text-center {
    background: #fff !important;
    border-radius: 17px !important;
    padding: 20px !important;
    color: var(--bento-text) !important;
    border: 1px solid rgba(49, 49, 49, 0.1) !important;
}

.pub-bg-aurora.public-page .public-profile-card,
.pub-bg-aurora.public-page .public-booking-trigger,
.pub-bg-aurora.public-page .link-card-btn {
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: #f8fafc;
}

.pub-bg-aurora.public-page .link-card-btn:hover {
    color: #fff !important;
    border-color: var(--theme-color, #a78bfa) !important;
}

.pub-bg-midnight.public-page {
    background: linear-gradient(185deg, #0f172a 0%, #1e293b 55%, #0f172a 100%);
    color: #e2e8f0;
}

.pub-bg-midnight.public-page .public-profile-card,
.pub-bg-midnight.public-page .public-booking-trigger,
.pub-bg-midnight.public-page .link-card-btn {
    background: rgba(30, 41, 59, 0.85);
    border: none;
    color: #f1f5f9;
}

.pub-bg-midnight.public-page .link-card-btn:hover {
    border-color: var(--theme-color, #38bdf8) !important;
    color: var(--theme-color, #38bdf8) !important;
}

.pub-bg-sunset.public-page {
    background: linear-gradient(180deg, #fff7ed 0%, #ffedd5 40%, #fecdd3 100%);
}

.pub-bg-ocean.public-page {
    background: linear-gradient(165deg, #0c4a6e 0%, #0369a1 50%, #0e7490 100%);
    color: #ecfeff;
}

.pub-bg-ocean.public-page .public-profile-card,
.pub-bg-ocean.public-page .public-booking-trigger,
.pub-bg-ocean.public-page .link-card-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #f0fdfa;
}

.pub-bg-ocean.public-page .link-card-btn:hover {
    border-color: var(--theme-color, #22d3ee) !important;
    color: #fff !important;
}

.pub-font-system.public-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.pub-font-dm_sans.public-page {
    font-family: 'DM Sans', system-ui, sans-serif;
}

.pub-font-inter.public-page {
    font-family: 'Inter', system-ui, sans-serif;
}

.pub-font-poppins.public-page {
    font-family: 'Poppins', system-ui, sans-serif;
}

.pub-font-roboto.public-page {
    font-family: 'Roboto', system-ui, sans-serif;
}

.pub-font-montserrat.public-page {
    font-family: 'Montserrat', system-ui, sans-serif;
}

.pub-font-lora.public-page {
    font-family: 'Lora', Georgia, serif;
}

.pub-font-playfair_display.public-page {
    font-family: 'Playfair Display', Georgia, serif;
}

.pub-font-cairo.public-page {
    font-family: 'Cairo', system-ui, sans-serif;
}

.pub-font-tajawal.public-page {
    font-family: 'Tajawal', system-ui, sans-serif;
}

.pub-font-noto_naskh_arabic.public-page {
    font-family: 'Noto Naskh Arabic', 'Noto Sans Arabic', Georgia, serif;
}

.pub-font-amiri.public-page {
    font-family: 'Amiri', Georgia, serif;
}

.pub-font-nunito.public-page {
    font-family: 'Nunito', system-ui, sans-serif;
}

.pub-font-raleway.public-page {
    font-family: 'Raleway', system-ui, sans-serif;
}

.pub-font-work_sans.public-page {
    font-family: 'Work Sans', system-ui, sans-serif;
}

.pub-font-rubik.public-page {
    font-family: 'Rubik', system-ui, sans-serif;
}

.pub-font-quicksand.public-page {
    font-family: 'Quicksand', system-ui, sans-serif;
}

.pub-font-manrope.public-page {
    font-family: 'Manrope', system-ui, sans-serif;
}

.pub-font-space_grotesk.public-page {
    font-family: 'Space Grotesk', system-ui, sans-serif;
}

.pub-font-merriweather.public-page {
    font-family: 'Merriweather', Georgia, serif;
}

.pub-font-ibm_plex_sans_arabic.public-page {
    font-family: 'IBM Plex Sans Arabic', 'Tajawal', system-ui, sans-serif;
}

.pub-font-almarai.public-page {
    font-family: 'Almarai', 'Tajawal', system-ui, sans-serif;
}

.pub-font-changa.public-page {
    font-family: 'Changa', 'Cairo', system-ui, sans-serif;
}

.pub-font-el_messiri.public-page {
    font-family: 'El Messiri', 'Cairo', system-ui, sans-serif;
}

.pub-font-reem_kufi.public-page {
    font-family: 'Reem Kufi', 'Cairo', system-ui, sans-serif;
}

.pub-font-markazi_text.public-page {
    font-family: 'Markazi Text', 'Amiri', serif;
}

.pub-font-aref_ruqaa.public-page {
    font-family: 'Aref Ruqaa', 'Amiri', serif;
}

.pub-layout-standard.public-page .public-profile-card {
    box-shadow: var(--bento-shadow);
}

.pub-layout-glass.public-page .public-profile-card {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(14px);
    border-color: rgba(255, 255, 255, 0.35);
}

.pub-bg-aurora.public-page .pub-layout-glass .public-profile-card,
.pub-bg-midnight.public-page .pub-layout-glass .public-profile-card,
.pub-bg-ocean.public-page .pub-layout-glass .public-profile-card {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.pub-layout-minimal.public-page .public-profile-card {
    background: transparent;
    border: none;
    box-shadow: none;
}

.pub-btns-pill .link-card-btn {
    border-radius: 999px;
}

.pub-btns-square .link-card-btn {
    border-radius: 6px;
}

.pub-btns-pill .social-link-btn--icons-tile {
    border-radius: 999px;
}

.pub-btns-square .social-link-btn--icons-tile {
    border-radius: 6px;
}

/* Public profile: wide bio banner (below avatar, above bio text) */
.public-page .public-bio-banner {
    margin: 0;
    padding: 0;
    width: 100%;
}

.public-page .public-bio-banner__frame {
    width: 100%;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--bento-shadow, 0 10px 40px rgba(15, 23, 42, 0.12));
    border: 1px solid color-mix(in srgb, var(--theme-color, #0d6efd) 22%, transparent);
    background: rgba(0, 0, 0, 0.04);
}

.public-page .public-bio-banner__img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 21 / 9;
    max-height: 220px;
    object-fit: cover;
    object-position: center;
}

.public-page .public-bio-banner__gallery {
    display: flex;
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.public-page .public-bio-banner__gallery::-webkit-scrollbar {
    display: none;
}

.public-page .public-bio-banner__slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.public-page .public-bio-banner__link {
    display: block;
    text-decoration: none;
}

.public-page .public-bio-banner__dots {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.55rem 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.28), transparent);
    margin-top: -2rem;
}

.public-page .public-bio-banner__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    transition: background 0.2s ease, transform 0.2s ease;
}

.public-page .public-bio-banner__dot.is-active {
    background: #fff;
    transform: scale(1.3);
}

.pub-bg-ocean.public-page .public-bio-banner__frame,
.pub-bg-midnight.public-page .public-bio-banner__frame,
.pub-bg-aurora.public-page .public-bio-banner__frame {
    border-color: color-mix(in srgb, var(--theme-color, #fff) 35%, transparent);
    background: rgba(255, 255, 255, 0.06);
}

/* Public profile: embedded content blocks (YouTube / Vimeo / Spotify / SoundCloud) */
.public-page .public-embed-block__title {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--bento-text);
}

.public-page .public-embed-block__frame {
    position: relative;
    width: 100%;
    aspect-ratio: var(--embed-aspect, 16/9);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--bento-shadow, 0 10px 40px rgba(15, 23, 42, 0.12));
    border: 1px solid color-mix(in srgb, var(--theme-color, #0d6efd) 18%, transparent);
    background: rgba(0, 0, 0, 0.04);
}

.public-page .public-embed-block__frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Public profile: Instagram embeds — plain photo card (no widget chrome), links out to Instagram/app on tap */
.public-page .public-embed-photo-card {
    position: relative;
    display: block;
    width: 100%;
    border-radius: 1rem;
    overflow: hidden;
    text-decoration: none;
    box-shadow: var(--bento-shadow, 0 10px 40px rgba(15, 23, 42, 0.12));
    border: 1px solid color-mix(in srgb, var(--theme-color, #0d6efd) 18%, transparent);
    background: rgba(0, 0, 0, 0.04);
}

.public-page .public-embed-photo-card__media {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.public-page .public-embed-photo-card__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.public-page .public-embed-photo-card__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2.4rem;
}

.public-page .public-embed-photo-card__label {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.55rem 0.7rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--bento-text);
    background: var(--bento-white);
}

/* Public profile: published posts / updates feed */
.public-page .public-post-card {
    background: var(--bento-white);
    border-radius: 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(49, 49, 49, 0.08);
    box-shadow: var(--bento-shadow, 0 6px 24px rgba(15, 23, 42, 0.06));
}

.public-page .public-post-card__head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.public-page .public-post-card__icon {
    color: var(--theme-color, #0d6efd);
    font-size: 1rem;
    flex-shrink: 0;
}

.public-page .public-post-card__title {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
    flex: 1 1 auto;
    min-width: 0;
}

.public-page .public-post-card__date {
    font-size: 0.72rem;
    color: var(--bento-muted);
    flex-shrink: 0;
}

.public-page .public-post-card__body {
    font-size: 0.88rem;
    color: var(--bento-text);
    margin: 0;
    white-space: pre-line;
}

.pub-bg-ocean.public-page .public-post-card,
.pub-bg-midnight.public-page .public-post-card,
.pub-bg-aurora.public-page .public-post-card {
    background: rgba(255, 255, 255, 0.1);
    border-color: color-mix(in srgb, var(--theme-color, #fff) 25%, transparent);
    color: #fff;
}

.pub-bg-ocean.public-page .public-post-card__date,
.pub-bg-midnight.public-page .public-post-card__date,
.pub-bg-aurora.public-page .public-post-card__date {
    color: rgba(255, 255, 255, 0.65);
}

/* Dashboard: link icon color swatches (modal) */
#linkIconPickerModal .link-icon-color-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

#linkIconPickerModal .link-icon-color-swatch {
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 50%;
    border: 2px solid var(--bs-border-color);
    background: var(--swatch, #ccc);
    padding: 0;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

#linkIconPickerModal .link-icon-color-swatch:hover {
    transform: scale(1.08);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--bs-primary) 35%, transparent);
}

#linkIconPickerModal .link-icon-color-swatch.is-selected {
    box-shadow: 0 0 0 3px var(--bs-primary);
    border-color: var(--bs-body-bg);
}

#linkIconPickerModal .link-icon-color-swatch[data-hex="#ffffff"],
#linkIconPickerModal .link-icon-color-swatch[data-hex="#FFFFFF"] {
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

#linkIconPickerModal .link-icon-color-swatch[data-hex="#ffffff"].is-selected,
#linkIconPickerModal .link-icon-color-swatch[data-hex="#FFFFFF"].is-selected {
    box-shadow: 0 0 0 3px var(--bs-primary), inset 0 0 0 1px rgba(0, 0, 0, 0.15);
}

/* Link icon modal: layout + grid + shapes */
.link-icon-modal__content {
    overflow: hidden;
}

.link-icon-modal__help-btn {
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.link-icon-modal__tabs .nav-link {
    border-radius: 0.5rem 0.5rem 0 0;
}

.link-icon-modal__panel {
    background: color-mix(in srgb, var(--bs-body-bg) 92%, var(--bs-secondary-color) 8%);
    border: 1px solid var(--bs-border-color-translucent, var(--bs-border-color));
}

#linkIconPickerModal .link-icon-picker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(4.5rem, 1fr));
    gap: 0.5rem;
}

#linkIconPickerModal .link-icon-pick-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.4rem 0.25rem;
    border: none;
    border-radius: 0.5rem;
    background: transparent;
    color: var(--bs-body-color);
    cursor: pointer;
    transition: color 0.15s ease, transform 0.1s ease;
    -webkit-tap-highlight-color: transparent;
}

#linkIconPickerModal .link-icon-pick-cell:hover .link-icon-pick-cell__in {
    background: color-mix(in srgb, var(--bs-secondary-color) 14%, transparent);
}

#linkIconPickerModal .link-icon-pick-cell.is-selected .link-icon-pick-cell__in {
    box-shadow: 0 0 0 2px var(--bs-primary);
    background: color-mix(in srgb, var(--bs-primary) 12%, transparent);
}

#linkIconPickerModal .link-icon-pick-cell:active {
    transform: scale(0.97);
}

#linkIconPickerModal .link-icon-pick-cell__in {
    width: 2.6rem;
    height: 2.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 0.5rem;
    background: transparent;
    transition: background 0.15s ease, box-shadow 0.15s ease;
}

#linkIconPickerModal .link-icon-pick-cell__in .bi {
    font-size: 1.35rem;
    line-height: 1;
}

#linkIconPickerModal .link-icon-pick-cell__cap {
    font-size: 0.6rem;
    line-height: 1.15;
    text-align: center;
    max-width: 100%;
    word-break: break-word;
    color: var(--bs-secondary-color);
}

#linkIconPickerModal .link-icon-modal__advanced summary {
    cursor: pointer;
}

.link-icon-help-toast-wrap .toast {
    max-width: 22rem;
}

/* Dashboard + public: icon shape wrappers */
.link-dash-icon-wrap,
.link-pub-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    overflow: hidden;
    vertical-align: middle;
}

.link-dash-icon-wrap--circle,
.link-pub-icon-wrap--circle {
    border-radius: 50%;
}

.link-dash-icon-wrap--rounded,
.link-pub-icon-wrap--rounded {
    border-radius: 7px;
}

.link-dash-icon-wrap--square,
.link-pub-icon-wrap--square {
    border-radius: 2px;
}

.link-dash-icon-wrap .bi,
.link-pub-icon-wrap__i {
    font-size: 1.1rem;
    line-height: 1;
}

.link-dash-icon-wrap__img,
.link-pub-icon-wrap__img {
    width: 22px;
    height: 22px;
    object-fit: cover;
    border-radius: inherit;
    display: block;
}

/* Public profile: link icon size (with link_icons plan) */
.pub-icons-sm .link-pub-icon-wrap {
    width: 18px;
    height: 18px;
}

.pub-icons-sm .link-pub-icon-wrap__i,
.pub-icons-sm .link-pub-icon-wrap .bi {
    font-size: 0.95rem !important;
    line-height: 1;
}

.pub-icons-sm .link-pub-icon-wrap__img {
    width: 18px;
    height: 18px;
}

.pub-icons-lg .link-pub-icon-wrap {
    width: 28px;
    height: 28px;
}

.pub-icons-lg .link-pub-icon-wrap__i,
.pub-icons-lg .link-pub-icon-wrap .bi {
    font-size: 1.35rem !important;
    line-height: 1;
}

.pub-icons-lg .link-pub-icon-wrap__img {
    width: 28px;
    height: 28px;
}

.pub-icons-xl .link-pub-icon-wrap {
    width: 36px;
    height: 36px;
}

.pub-icons-xl .link-pub-icon-wrap__i,
.pub-icons-xl .link-pub-icon-wrap .bi {
    font-size: 1.6rem !important;
    line-height: 1;
}

.pub-icons-xl .link-pub-icon-wrap__img {
    width: 36px;
    height: 36px;
}

.pub-icons-xxl .link-pub-icon-wrap {
    width: 44px;
    height: 44px;
}

.pub-icons-xxl .link-pub-icon-wrap__i,
.pub-icons-xxl .link-pub-icon-wrap .bi {
    font-size: 1.85rem !important;
    line-height: 1;
}

.pub-icons-xxl .link-pub-icon-wrap__img {
    width: 44px;
    height: 44px;
}

.pub-icons-xxxl .link-pub-icon-wrap {
    width: 52px;
    height: 52px;
}

.pub-icons-xxxl .link-pub-icon-wrap__i,
.pub-icons-xxxl .link-pub-icon-wrap .bi {
    font-size: 2.1rem !important;
    line-height: 1;
}

.pub-icons-xxxl .link-pub-icon-wrap__img {
    width: 52px;
    height: 52px;
}

.pub-icons-xxxxl .link-pub-icon-wrap {
    width: 60px;
    height: 60px;
}

.pub-icons-xxxxl .link-pub-icon-wrap__i,
.pub-icons-xxxxl .link-pub-icon-wrap .bi {
    font-size: 2.4rem !important;
    line-height: 1;
}

.pub-icons-xxxxl .link-pub-icon-wrap__img {
    width: 60px;
    height: 60px;
}

/* Site footer: bold large brand + small © (row: brand start, copyright end) */
.app-site-footer {
    margin-top: 2rem;
    border-color: var(--bento-border) !important;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.app-site-footer__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
}

.app-site-footer__col--brand {
    flex-shrink: 0;
}

.app-site-footer__col--credit {
    display: flex;
    align-items: baseline;
    flex-wrap: nowrap;
    gap: 0.4rem;
    white-space: nowrap;
    overflow-x: auto;
    max-width: 100%;
}

.app-site-footer__col--credit > * {
    flex-shrink: 0;
}

@media (max-width: 575.98px) {
    .app-site-footer__row {
        justify-content: center;
        text-align: center;
    }

    .app-site-footer__col--credit {
        font-size: 0.7rem;
    }
}

.app-site-footer__brand {
    font-size: clamp(1.625rem, 4.5vw, 2.375rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.app-site-footer__brand-logo {
    height: clamp(1.625rem, 4.5vw, 2.375rem);
    width: auto;
    max-width: 12rem;
    object-fit: contain;
}

.app-site-footer__copyright,
.app-site-footer__powered {
    font-size: 0.8125rem;
    line-height: 1.4;
    font-weight: 400;
}

.app-site-footer__credit-sep {
    font-size: 0.8125rem;
    opacity: 0.6;
}

.app-site-footer__powered-link {
    color: var(--bento-muted);
    font-weight: 650;
    text-decoration: none;
}

.app-site-footer__powered-link:hover,
.app-site-footer__powered-link:focus-visible {
    color: var(--bento-text);
    text-decoration: underline;
}

.admin-shell .app-site-footer {
    background: rgba(255, 255, 255, 0.55);
}

/*
 * Dashboard: minimal/modern typography pass.
 * Every dashboard font-size is rem-based, so shrinking the root size scales all of them
 * together — a small, uniform step down rather than hundreds of individual overrides.
 * Font-weight is forced to normal everywhere (no bold), overriding the many 600–800
 * weights scattered through the dashboard component styles above.
 */
:root:has(body.dashboard-page) {
    font-size: 15px;
}

.dashboard-page,
.dashboard-page * {
    font-weight: 400 !important;
}
