:root {
    --brand-primary: #2f6bff;
    --brand-primary-deep: #1b3faf;
    --brand-cta: #ff7a18;
    --brand-cta-deep: #ff3d2e;
    --brand-ink: #132345;
    --brand-accent: #4d74ff;
    --brand-soft: #edf3ff;
    --brand-surface: #ffffff;
    --brand-muted: #6c7896;
    --brand-border: rgba(27, 63, 175, 0.1);
    --brand-shadow: 0 18px 42px rgba(24, 52, 126, 0.10);
    --brand-radius-lg: 1rem;
    --brand-radius-xl: 1.25rem;
    --brand-radius-2xl: 1.5rem;
    --brand-surface-soft: rgba(255, 255, 255, 0.74);
    --brand-surface-muted: rgba(47, 107, 255, 0.04);
    --brand-danger: #d64545;
    --brand-warning: #d97706;
    --brand-success: #178a5c;
    --brand-info: #2563eb;
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-7: 2rem;
    --space-8: 2.5rem;
}

body {
    background:
        radial-gradient(circle at top left, rgba(47, 107, 255, 0.16), transparent 33%),
        radial-gradient(circle at right 20%, rgba(255, 122, 24, 0.10), transparent 28%),
        linear-gradient(180deg, #f6f9ff 0%, #eef3ff 100%);
    color: var(--brand-ink);
    font-family: "Inter", "Roboto", "Segoe UI", sans-serif;
    font-size: 0.975rem;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand,
.btn,
.metric-value {
    font-family: "Poppins", "Montserrat", "Inter", sans-serif;
}

h1,
.h1 {
    font-size: clamp(2rem, 3vw, 2.7rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

h2,
.h2 {
    font-size: clamp(1.5rem, 2vw, 2rem);
    font-weight: 750;
    letter-spacing: -0.02em;
}

h3,
.h3 {
    font-size: clamp(1.3rem, 1.6vw, 1.7rem);
    font-weight: 750;
}

h4,
.h4,
h5,
.h5,
h6,
.h6 {
    font-weight: 700;
}

p,
label,
.form-text,
.text-muted,
td,
th,
li {
    line-height: 1.65;
}

a {
    color: var(--brand-primary-deep);
}

a:hover {
    color: var(--brand-primary);
}

[dir="rtl"] body {
    text-align: right;
}

.navbar-glass,
.surface-card,
.metric-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: var(--brand-shadow);
}

.navbar-glass {
    border-bottom: 1px solid var(--brand-border);
}

main > .container {
    max-width: 1280px;
}

.hero-panel,
.surface-card,
.metric-card,
.booking-shell {
    border: 1px solid var(--brand-border);
    border-radius: var(--brand-radius-xl);
}

.hero-panel {
    background:
        linear-gradient(135deg, rgba(47, 107, 255, 0.96), rgba(27, 63, 175, 0.92)),
        linear-gradient(225deg, rgba(255, 122, 24, 0.18), transparent 55%);
    color: #fff;
    overflow: hidden;
    position: relative;
}

.hero-panel::after {
    content: "";
    position: absolute;
    inset: auto -10% -35% auto;
    width: 280px;
    height: 280px;
    border-radius: 999px;
    background: rgba(255, 122, 24, 0.18);
}

.surface-card,
.booking-shell {
    background: var(--brand-surface);
}

.surface-card,
.metric-card,
.mini-summary-card,
.booking-selection-card,
.branding-preview,
.service-inline-editor,
.empty-state,
.bridge-loading-state,
.landing-info-card,
.landing-step-card,
.signup-panel,
.signup-form-card {
    transition: box-shadow 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.surface-card:hover,
.metric-card:hover,
.mini-summary-card:hover {
    border-color: rgba(47, 107, 255, 0.14);
    box-shadow: 0 20px 40px rgba(24, 52, 126, 0.11);
}

.page-shell {
    display: grid;
    grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.page-shell__aside {
    min-width: 0;
}

.page-shell__content {
    min-width: 0;
    display: grid;
    gap: 1.5rem;
}

.page-intro {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.25rem;
    margin-bottom: 1rem;
}

.page-intro__content {
    min-width: 0;
}

.page-intro__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.8rem;
    margin-bottom: 0.8rem;
    border-radius: 999px;
    background: rgba(47, 107, 255, 0.08);
    color: var(--brand-primary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.page-intro__title {
    margin-bottom: 0.45rem;
}

.page-intro__description {
    max-width: 64ch;
    margin-bottom: 0;
    color: var(--brand-muted);
}

.page-intro__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.brand-text-logo {
    display: block;
    height: 34px;
    width: auto;
}

.brand-full-logo {
    display: block;
    max-width: min(320px, 100%);
    width: 100%;
    height: auto;
    filter: drop-shadow(0 18px 26px rgba(9, 26, 74, 0.18));
}

.auth-brand-logo {
    width: min(220px, 100%);
    height: auto;
}

.auth-card {
    max-width: 540px;
    margin-inline: auto;
}

.hero-metrics-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 247, 255, 0.96));
}

.business-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.business-card:hover {
    transform: translateY(-3px);
    border-color: rgba(47, 107, 255, 0.18);
    box-shadow: 0 22px 44px rgba(24, 52, 126, 0.14);
}

.metric-card {
    border-radius: var(--brand-radius-lg);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.metric-card__label {
    color: var(--brand-muted);
    font-size: 0.85rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.metric-card__meta {
    color: var(--brand-muted);
    font-size: 0.88rem;
}

.badge-soft {
    background: rgba(47, 107, 255, 0.12);
    color: var(--brand-primary);
}

.table-shell {
    border: 1px solid rgba(27, 63, 175, 0.08);
    border-radius: var(--brand-radius-xl);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 248, 255, 0.95));
    overflow: hidden;
}

.table-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.9rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(27, 63, 175, 0.08);
    background: rgba(255, 255, 255, 0.62);
}

.table-toolbar__meta {
    display: grid;
    gap: 0.18rem;
}

.table-toolbar__title {
    font-weight: 700;
}

.table-toolbar__hint {
    color: var(--brand-muted);
    font-size: 0.9rem;
}

.table-clean thead th {
    border-bottom: 1px solid rgba(27, 63, 175, 0.08);
    color: var(--brand-muted);
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 1rem 1rem 0.95rem;
    background: rgba(47, 107, 255, 0.04);
    white-space: nowrap;
}

.table-clean tbody tr {
    vertical-align: middle;
    border-color: rgba(27, 63, 175, 0.06);
}

.table-clean tbody td {
    padding: 1rem;
}

.table-clean tbody tr:hover {
    background: rgba(47, 107, 255, 0.03);
}

.table-clean > :not(caption) > * > * {
    box-shadow: none;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.section-title > div:first-child {
    min-width: 0;
}

.section-title .h5,
.section-title .h4,
.section-title .h3 {
    margin-bottom: 0.35rem;
}

.panel-section + .panel-section {
    margin-top: 1.25rem;
}

.panel-section__header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.panel-section__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 122, 24, 0.08);
    color: var(--brand-cta-deep);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.7rem;
}

.panel-section__title {
    font-size: 1.08rem;
    font-weight: 750;
    margin-bottom: 0.25rem;
}

.panel-section__description {
    color: var(--brand-muted);
    margin-bottom: 0;
    max-width: 64ch;
}

.form-panel {
    padding: 1.35rem;
    border: 1px solid rgba(27, 63, 175, 0.08);
    border-radius: var(--brand-radius-xl);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 247, 255, 0.94));
}

.form-section {
    padding: 1.15rem 1.1rem;
    border-radius: 1rem;
    border: 1px solid rgba(27, 63, 175, 0.08);
    background: var(--brand-surface-soft);
}

.form-section + .form-section {
    margin-top: 1rem;
}

.form-section__title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.form-section__description {
    color: var(--brand-muted);
    font-size: 0.92rem;
    margin-bottom: 1rem;
    max-width: 62ch;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    padding-top: 0.5rem;
}

.booking-shell {
    padding: 1.5rem;
}

.booking-shell__header {
    gap: 1rem;
}

.booking-shell__summary {
    flex: 1 1 360px;
    min-width: 0;
}

.booking-shell__actions {
    flex: 0 1 240px;
    width: min(100%, 240px);
}

.booking-locale-switcher {
    min-width: 210px;
    max-width: 100%;
    margin-inline-start: auto;
}

.booking-selected-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
}

.booking-selected-meta__sep {
    color: rgba(19, 35, 69, 0.45);
}

.slot-pill {
    border: 1px solid rgba(47, 107, 255, 0.18);
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
    background: rgba(47, 107, 255, 0.08);
    color: var(--brand-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.9rem;
}

.slot-preview-loading {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.slot-preview-loading span {
    width: 92px;
    height: 2.2rem;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(47, 107, 255, 0.08), rgba(47, 107, 255, 0.2), rgba(47, 107, 255, 0.08));
    background-size: 180% 100%;
    animation: bridge-pulse 1s ease-in-out infinite;
}

.slot-preview-loading span:nth-child(2) {
    animation-delay: 0.12s;
}

.slot-preview-loading span:nth-child(3) {
    animation-delay: 0.24s;
}

.slot-preview-list {
    min-height: 2.25rem;
    align-items: flex-start;
}

.booking-summary li + li {
    margin-top: 0.8rem;
}

.booking-selection-card,
.branding-preview,
.service-inline-editor {
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(47, 107, 255, 0.05);
    border: 1px solid rgba(27, 63, 175, 0.08);
}

.branding-preview {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.branding-preview__logo {
    max-width: 240px;
    max-height: 90px;
    width: auto;
    height: auto;
}

.branding-preview__icon {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.public-booking-logo {
    max-width: 220px;
    max-height: 72px;
    width: auto;
    height: auto;
}

.booking-service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.booking-service-card {
    display: block;
    cursor: pointer;
}

.booking-service-card__input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.booking-service-card__body {
    display: block;
    height: 100%;
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(27, 63, 175, 0.12);
    box-shadow: 0 14px 28px rgba(24, 52, 126, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.booking-service-card:hover .booking-service-card__body,
.booking-service-card.is-selected .booking-service-card__body {
    transform: translateY(-2px);
    border-color: rgba(47, 107, 255, 0.32);
    box-shadow: 0 18px 34px rgba(24, 52, 126, 0.14);
}

.sidebar-links .nav-link {
    border-radius: 999px;
    color: var(--brand-ink);
}

.sidebar-links .nav-link.active,
.sidebar-links .nav-link:hover {
    background: rgba(47, 107, 255, 0.1);
    color: var(--brand-primary);
}

.portal-nav {
    position: sticky;
    top: 96px;
}

.portal-nav .nav-link {
    border-radius: 0.55rem;
    color: var(--brand-ink);
    padding: 0.52rem 0.65rem;
    font-size: 0.92rem;
}

.portal-nav .nav-link.active,
.portal-nav .nav-link:hover {
    background: rgba(47, 107, 255, 0.1);
    color: var(--brand-primary);
}

.portal-nav .surface-card,
.sidebar-links.surface-card {
    padding: 0.85rem;
}

.portal-nav__group {
    display: grid;
    gap: 0.35rem;
}

.portal-nav__group + .portal-nav__group {
    padding-top: 0.55rem;
    border-top: 1px solid rgba(22, 50, 79, 0.08);
}

.portal-nav__group-label {
    padding: 0 0.65rem;
    color: var(--brand-muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.portal-nav__group-links {
    display: grid;
    gap: 0.2rem;
}

.portal-nav__group--active .portal-nav__group-label {
    color: var(--brand-primary);
}

.notification-master-detail {
    display: grid;
    gap: 1rem;
}

.timeline-thread {
    display: grid;
    gap: 1rem;
}

.ticket-message {
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(22, 50, 79, 0.04);
    border: 1px solid rgba(22, 50, 79, 0.08);
}

.ticket-message--platform_admin {
    background: rgba(47, 107, 255, 0.08);
    border-color: rgba(47, 107, 255, 0.14);
}

.ticket-message--business_user {
    background: rgba(255, 122, 24, 0.12);
    border-color: rgba(255, 122, 24, 0.16);
}

.form-control,
.form-select {
    border-radius: 0.9rem;
    border-color: rgba(27, 63, 175, 0.16);
    min-height: 46px;
    background-color: rgba(255, 255, 255, 0.98);
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(47, 107, 255, 0.38);
    box-shadow: 0 0 0 0.25rem rgba(47, 107, 255, 0.12);
}

textarea.form-control {
    min-height: 120px;
}

.form-control::placeholder,
.form-select::placeholder {
    color: #95a1bd;
}

.form-check-input {
    border-color: rgba(27, 63, 175, 0.25);
}

.form-check-input:checked {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(47, 107, 255, 0.14);
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-deep));
    border-color: transparent;
    border-radius: 0.9rem;
    box-shadow: 0 14px 26px rgba(47, 107, 255, 0.24);
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, #3e79ff, #234ac5);
    border-color: transparent;
}

.btn-outline-primary {
    color: var(--brand-primary);
    border-color: rgba(47, 107, 255, 0.28);
    border-radius: 0.9rem;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background: rgba(47, 107, 255, 0.08);
    color: var(--brand-primary-deep);
    border-color: rgba(47, 107, 255, 0.32);
}

.btn,
.btn-sm,
.btn-lg {
    font-weight: 700;
    letter-spacing: 0.01em;
}

.btn-light {
    border-radius: 0.9rem;
}

.btn-outline-danger {
    border-radius: 0.9rem;
    color: var(--brand-danger);
    border-color: rgba(214, 69, 69, 0.25);
}

.btn-outline-danger:hover,
.btn-outline-danger:focus {
    background: rgba(214, 69, 69, 0.06);
    color: #a73030;
    border-color: rgba(214, 69, 69, 0.35);
}

.btn-cta,
.booking-shell .btn-primary,
.public-booking-cta {
    background: linear-gradient(135deg, var(--brand-cta), var(--brand-cta-deep));
    border-color: transparent;
    box-shadow: 0 14px 30px rgba(255, 90, 34, 0.24);
}

.btn-cta:hover,
.btn-cta:focus,
.booking-shell .btn-primary:hover,
.booking-shell .btn-primary:focus,
.public-booking-cta:hover,
.public-booking-cta:focus {
    background: linear-gradient(135deg, #ff8b32, #ff4d3f);
    border-color: transparent;
}

.navbar-nav .nav-link {
    color: var(--brand-ink);
    font-weight: 600;
    border-radius: 999px;
    padding-inline: 0.9rem;
}

.navbar-nav .nav-link:hover {
    background: rgba(47, 107, 255, 0.06);
}

.page-section + .page-section {
    margin-top: 1.5rem;
}

.hint-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-inline-start: 0.35rem;
    color: var(--brand-primary);
    cursor: help;
}

.report-filter {
    border-radius: var(--brand-radius-xl);
}

.stack-list {
    display: grid;
    gap: 0.9rem;
}

.mini-summary-card {
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(47, 107, 255, 0.05);
    border: 1px solid rgba(27, 63, 175, 0.08);
}

.empty-state {
    display: grid;
    gap: 0.4rem;
    justify-items: start;
    padding: 1.1rem 1.15rem;
    border-radius: 1rem;
    background: rgba(22, 50, 79, 0.04);
    border: 1px dashed rgba(22, 50, 79, 0.12);
    color: var(--brand-muted);
}

.empty-state::before {
    content: "\F4AD";
    font-family: "bootstrap-icons";
    font-size: 1.15rem;
    color: var(--brand-primary);
    line-height: 1;
}

.alert {
    border-radius: 1rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.gateway-card__intro {
    position: sticky;
    top: 120px;
}

.gateway-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 122, 24, 0.12);
    color: var(--brand-cta-deep);
    font-weight: 700;
}

.notification-badge {
    position: absolute;
    top: -0.35rem;
    right: -0.35rem;
    min-width: 1.1rem;
    height: 1.1rem;
    padding: 0 0.3rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--brand-cta), var(--brand-cta-deep));
    color: #fff;
    font-size: 0.7rem;
    line-height: 1.1rem;
    text-align: center;
    box-shadow: 0 10px 24px rgba(255, 122, 24, 0.35);
}

.notification-dropdown {
    width: min(390px, calc(100vw - 2rem));
    border-radius: 1rem;
    overflow: hidden;
}

.notification-dropdown__body {
    max-height: 360px;
    overflow-y: auto;
}

.notification-item {
    padding: 0.95rem 1rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    cursor: pointer;
    transition: background 0.18s ease, transform 0.18s ease;
}

.notification-item:last-child {
    border-bottom: 0;
}

.notification-item:hover {
    background: rgba(47, 107, 255, 0.05);
}

.notification-item__title {
    font-weight: 700;
    color: var(--brand-deep);
    margin-bottom: 0.25rem;
}

.notification-item__body {
    color: var(--brand-muted);
    font-size: 0.92rem;
    margin-bottom: 0.45rem;
}

.notification-item__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}

.notification-item.is-read {
    opacity: 0.72;
}

.notification-screen-grid {
    display: grid;
    gap: 1rem;
}

.notification-screen-grid__main,
.notification-screen-grid__side {
    min-width: 0;
}

.landing-hero {
    overflow: hidden;
}

.landing-hero-panel {
    background:
        radial-gradient(circle at top right, rgba(47, 107, 255, 0.18), transparent 55%),
        rgba(255, 255, 255, 0.96);
}

.landing-metric-chip {
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
}

.landing-metric-chip__value {
    font-family: "Poppins", sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
}

.landing-metric-chip__label {
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.landing-info-card {
    position: relative;
    overflow: hidden;
}

.landing-info-card__icon {
    width: 2.75rem;
    height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.95rem;
    margin-bottom: 1rem;
    color: var(--brand-primary);
    background: rgba(47, 107, 255, 0.1);
}

.landing-step-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.9rem;
    align-items: start;
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(47, 107, 255, 0.05);
    border: 1px solid rgba(27, 63, 175, 0.08);
}

.landing-step-card__index {
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-deep));
    color: #fff;
    font-weight: 700;
}

.landing-plan-card {
    display: block;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.landing-plan-card:hover,
.landing-plan-card.is-selected {
    transform: translateY(-2px);
    border-color: rgba(47, 107, 255, 0.36);
    box-shadow: 0 18px 34px rgba(27, 63, 175, 0.12);
}

.landing-plan-card__input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.landing-plan-card__price {
    font-family: "Poppins", sans-serif;
    font-size: 1.05rem;
    color: var(--brand-deep);
}

.landing-plan-card__price strong {
    font-size: 2rem;
    line-height: 1;
}

.landing-plan-highlight {
    border-color: rgba(255, 122, 24, 0.25);
    background: rgba(255, 122, 24, 0.06);
}

.bridge-loading-state {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: center;
    padding: 1rem 1.1rem;
    margin-bottom: 1rem;
    border-radius: 1rem;
    border: 1px dashed rgba(47, 107, 255, 0.22);
    background: rgba(47, 107, 255, 0.05);
}

.bridge-loading-state__spinner {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 50%;
    border: 3px solid rgba(47, 107, 255, 0.14);
    border-top-color: var(--brand-primary);
    animation: bridge-spin 0.9s linear infinite;
}

.bridge-loading-state__bars {
    display: flex;
    gap: 0.4rem;
    margin-top: 0.7rem;
}

.bridge-loading-state__bars span {
    width: 100%;
    max-width: 4.5rem;
    height: 0.38rem;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(47, 107, 255, 0.1), rgba(47, 107, 255, 0.45), rgba(47, 107, 255, 0.1));
    background-size: 180% 100%;
    animation: bridge-pulse 1.2s ease-in-out infinite;
}

.bridge-loading-state__bars span:nth-child(2) {
    animation-delay: 0.15s;
}

.bridge-loading-state__bars span:nth-child(3) {
    animation-delay: 0.3s;
}

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

@keyframes bridge-pulse {
    0% {
        background-position: 100% 50%;
        opacity: 0.4;
    }

    50% {
        background-position: 0% 50%;
        opacity: 1;
    }

    100% {
        background-position: 100% 50%;
        opacity: 0.4;
    }
}

@media (max-width: 991.98px) {
    body {
        font-size: 0.95rem;
    }

    main > .container {
        max-width: 100%;
    }

    .page-shell {
        grid-template-columns: 1fr;
    }

    .hero-panel,
    .booking-shell {
        border-radius: 1rem;
    }

    .brand-text-logo {
        height: 30px;
    }

    .brand-full-logo {
        max-width: 240px;
    }

    .gateway-card__intro {
        position: static;
    }

    .booking-service-grid {
        grid-template-columns: 1fr;
    }

    .booking-shell__actions {
        flex-basis: 100%;
        width: 100%;
    }

    .booking-locale-switcher {
        min-width: 0;
        width: 100%;
    }

    .table-clean thead th,
    .table-clean tbody td {
        padding: 0.85rem 0.75rem;
    }
}

.location-map-frame {
    width: 100%;
    min-height: 240px;
    border: 0;
    border-radius: 1rem;
    background: #f3f6fb;
}

.list-clean {
    display: grid;
    gap: 0.85rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.data-pair-grid {
    display: grid;
    gap: 0.75rem;
}

.data-pair {
    display: grid;
    gap: 0.15rem;
    padding: 0.85rem 0.95rem;
    border-radius: 0.95rem;
    background: rgba(47, 107, 255, 0.04);
    border: 1px solid rgba(27, 63, 175, 0.08);
}

.data-pair__label {
    color: var(--brand-muted);
    font-size: 0.83rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.data-pair__value {
    font-weight: 650;
    word-break: break-word;
}

.submit-progress {
    position: relative;
}

.submit-progress.is-loading {
    pointer-events: none;
}

.submit-progress.is-loading::after {
    content: "";
    width: 0.95rem;
    height: 0.95rem;
    margin-inline-start: 0.5rem;
    display: inline-block;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-top-color: currentColor;
    border-radius: 50%;
    vertical-align: -0.12rem;
    animation: bridge-spin 0.7s linear infinite;
}

.btn[disabled],
.btn:disabled {
    opacity: 0.72;
    box-shadow: none;
}

.status-soft {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.42rem 0.72rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.status-soft--success {
    background: rgba(23, 138, 92, 0.12);
    color: var(--brand-success);
}

.status-soft--danger {
    background: rgba(214, 69, 69, 0.12);
    color: var(--brand-danger);
}

.status-soft--warning {
    background: rgba(217, 119, 6, 0.12);
    color: var(--brand-warning);
}

.status-soft--info {
    background: rgba(37, 99, 235, 0.12);
    color: var(--brand-info);
}

.seo-preview-image {
    width: 100%;
    max-height: 190px;
    object-fit: cover;
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: #f8fafc;
}

.seo-google-preview__url {
    color: #188038;
    font-size: 0.86rem;
    margin-bottom: 0.35rem;
    word-break: break-word;
}

.seo-google-preview__title {
    color: #1a0dab;
    font-size: 1.1rem;
    line-height: 1.45;
    margin-bottom: 0.3rem;
}

.seo-google-preview__description {
    color: #4b5563;
    line-height: 1.7;
    font-size: 0.95rem;
}

.permission-matrix__actions .btn {
    border-radius: 999px;
}

.permission-option {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(27, 63, 175, 0.1);
    background: rgba(47, 107, 255, 0.04);
    cursor: pointer;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.permission-option:hover {
    border-color: rgba(47, 107, 255, 0.22);
    box-shadow: 0 12px 24px rgba(24, 52, 126, 0.08);
    transform: translateY(-1px);
}

.permission-option__input {
    flex: 0 0 auto;
    padding-top: 0.15rem;
}

.permission-option__content {
    min-width: 0;
    display: grid;
    gap: 0.2rem;
}

.permission-option__title {
    display: block;
    font-weight: 700;
    color: var(--brand-ink);
}

.permission-option__meta {
    display: block;
    color: var(--brand-muted);
    font-size: 0.84rem;
    word-break: break-word;
}

[dir="rtl"] .notification-badge {
    right: auto;
    left: -0.35rem;
}

[dir="rtl"] .notification-item__meta,
[dir="rtl"] .section-title,
[dir="rtl"] .panel-section__header,
[dir="rtl"] .page-intro,
[dir="rtl"] .table-toolbar {
    flex-direction: row-reverse;
}

[dir="rtl"] .table-clean thead th,
[dir="rtl"] .table-clean tbody td,
[dir="rtl"] .table-clean tbody th {
    text-align: right;
}

[dir="rtl"] .dropdown-menu-end {
    right: auto !important;
    left: 0 !important;
}

@media (max-width: 767.98px) {
    .booking-shell {
        padding: 1.1rem;
    }

    .tenant-booking-theme .surface-card {
        padding: 1.1rem !important;
    }

    .booking-selection-card,
    .booking-service-card__body {
        padding: 0.9rem;
    }

    .public-booking-logo {
        max-width: 180px;
        max-height: 60px;
    }

    .booking-selected-meta {
        gap: 0.25rem 0.45rem;
    }

    .slot-pill {
        width: 100%;
        justify-content: center;
    }

    .booking-submit-button {
        width: 100%;
    }

    .location-map-frame {
        min-height: 200px;
    }

    .table-responsive {
        border-radius: 1rem;
    }

    .page-intro,
    .section-title,
    .panel-section__header,
    .table-toolbar {
        align-items: stretch;
    }

    .page-intro__actions,
    .form-actions {
        width: 100%;
    }

    .page-intro__actions .btn,
    .form-actions .btn {
        flex: 1 1 auto;
    }

    .metric-value {
        font-size: 1.6rem;
    }

}
