.bookaro-admin {
    max-width: 100%;
    color: var(--bookaro-text);
}

.bookaro-admin * {
    box-sizing: border-box;
}

.bookaro-admin h1,
.bookaro-admin h2,
.bookaro-admin h3 {
    letter-spacing: -0.01em;
}

.bookaro-admin .bookaro-card {
    width: 100%;
    background: var(--bookaro-surface);
    border: 1px solid var(--bookaro-border);
    border-radius: 18px;
    box-shadow: 0 12px 30px -24px var(--bookaro-shadow);
}

.bookaro-hero {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    margin-bottom: 18px;
    background: linear-gradient(135deg, var(--bookaro-surface) 0%, var(--bookaro-surface-alt) 100%);
}

.bookaro-hero__eyebrow {
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--bookaro-muted);
    font-weight: 600;
    margin-bottom: 6px;
}

/* Brand lockup shown at the top of every plugin admin hero. */
.bookaro-hero__brand {
    margin: 0 0 10px;
    line-height: 0;
}

.bookaro-hero__brand img,
.bookaro-hero__brand svg {
    display: block;
    height: 36px;
    width: auto;
    max-width: 100%;
}

.bookaro-hero h1 {
    margin: 0;
    font-size: 24px;
}

.bookaro-hero .description {
    margin: 6px 0 0;
}

.bookaro-hero__actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.bookaro-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 16px;
    align-items: start;
    margin-bottom: 18px;
}

.bookaro-admin-overview .bookaro-overview-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 16px;
    align-items: start;
    margin-bottom: 18px;
}

.bookaro-admin-overview .bookaro-overview-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bookaro-admin-settings .bookaro-overview-panel {
    margin-bottom: 18px;
    border: 1px solid var(--bookaro-border);
    border-radius: 18px;
    background: var(--bookaro-surface);
    box-shadow: 0 12px 30px -24px var(--bookaro-shadow);
    overflow: hidden;
}

.bookaro-admin-settings .bookaro-overview-panel--highlight {
    border-color: rgba(15, 118, 110, 0.35);
    box-shadow: 0 18px 40px -26px rgba(15, 118, 110, 0.35);
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.08) 0%, var(--bookaro-surface) 65%);
}

.bookaro-admin-settings .bookaro-overview-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    background: var(--bookaro-surface-alt);
    border-bottom: 1px solid var(--bookaro-border);
}

.bookaro-admin-settings .bookaro-overview-panel--highlight .bookaro-overview-header {
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.12) 0%, var(--bookaro-surface-alt) 100%);
    border-bottom-color: rgba(15, 118, 110, 0.2);
}

.bookaro-admin-settings .bookaro-overview-header h2 {
    margin: 0;
    font-size: 16px;
}

.bookaro-admin-settings .bookaro-overview-header .description {
    margin: 4px 0 0;
    color: var(--bookaro-muted);
}

.bookaro-admin-settings .bookaro-overview-toggle {
    border-radius: 999px;
    white-space: nowrap;
}

.bookaro-admin-settings .bookaro-overview-panel--highlight .bookaro-overview-toggle {
    background: var(--bookaro-accent);
    border-color: var(--bookaro-accent);
    color: #fff;
    box-shadow: 0 10px 20px -14px var(--bookaro-accent);
}

.bookaro-admin-settings .bookaro-overview-panel--highlight .bookaro-overview-toggle:hover {
    filter: brightness(0.96);
}

.bookaro-admin-settings .bookaro-overview-header__copy h2 {
    position: relative;
}

.bookaro-admin-settings .bookaro-overview-panel--highlight .bookaro-overview-header__copy h2::after {
    content: '';
    display: block;
    width: 44px;
    height: 3px;
    margin-top: 6px;
    border-radius: 999px;
    background: var(--bookaro-accent);
    opacity: 0.8;
}

.bookaro-admin-settings .bookaro-overview-content {
    padding: 16px 20px 20px;
}

.bookaro-admin-settings .bookaro-overview-panel.is-collapsed .bookaro-overview-header {
    border-bottom: none;
}

.bookaro-admin-settings .bookaro-overview-panel.is-collapsed .bookaro-overview-content {
    display: none;
}

.bookaro-admin-settings .bookaro-overview-panel .bookaro-overview-grid,
.bookaro-admin-settings .bookaro-overview-panel .bookaro-overview-columns {
    margin-bottom: 0;
}

.bookaro-admin-settings .bookaro-overview-columns {
    display: grid;
    gap: 16px;
    align-items: start;
}

@media (min-width: 900px) {
    .bookaro-admin-settings .bookaro-overview-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.bookaro-admin-settings .bookaro-overview-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.bookaro-admin-settings .bookaro-overview-column .bookaro-card {
    margin-bottom: 0;
}

.bookaro-admin-settings .bookaro-status-item {
    flex-wrap: wrap;
    align-items: flex-start;
}

.bookaro-admin-settings .bookaro-status-item__label {
    min-width: 140px;
}

.bookaro-admin-settings .bookaro-status-item__value {
    min-width: 0;
    flex: 1 1 220px;
}

.bookaro-admin-settings .bookaro-health__item {
    align-items: flex-start;
}

.bookaro-admin-settings .bookaro-health__message {
    min-width: 0;
}

.bookaro-overview-hero {
    margin-bottom: 18px;
}

.bookaro-overview-summary {
    padding: 16px 20px;
    margin-bottom: 12px;
}

.bookaro-overview-card {
    padding: 16px 20px;
    margin-bottom: 16px;
}

.bookaro-overview-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-end;
    margin: 0;
}

.bookaro-overview-field label {
    font-size: 12px;
    color: var(--bookaro-muted);
    display: block;
    margin-bottom: 4px;
}

.bookaro-overview-input {
    min-height: 34px;
    border-radius: 10px;
    border: 1px solid var(--bookaro-border);
    padding: 6px 10px;
    background: var(--bookaro-surface);
    color: var(--bookaro-text);
}

.bookaro-overview-input:focus {
    border-color: var(--bookaro-accent);
    box-shadow: 0 0 0 2px var(--bookaro-accent-soft);
    outline: none;
}

.bookaro-overview-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin: 0;
}

.bookaro-overview-controls__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin: 0;
}

.bookaro-overview-controls__item {
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid var(--bookaro-border);
    background: var(--bookaro-surface-alt);
}

.bookaro-overview-controls__item label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bookaro-overview-controls__item .description {
    margin-top: 4px;
}

.bookaro-overview-kpi {
    padding: 12px 14px;
    border: 1px solid var(--bookaro-border);
    border-radius: 14px;
    background: var(--bookaro-surface-alt);
}

.bookaro-overview-kpi__label {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--bookaro-muted);
    margin-bottom: 6px;
}

.bookaro-overview-kpi__value {
    font-size: 22px;
    font-weight: 700;
    color: var(--bookaro-text);
}

.bookaro-admin-overview .bookaro-overview-kpi-grid--wide {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.bookaro-admin-overview .bookaro-overview-kpi__meta {
    margin-top: 4px;
    font-size: 11px;
    color: var(--bookaro-muted);
}

.bookaro-admin-overview .bookaro-overview-delta.is-up {
    color: var(--bookaro-success);
}

.bookaro-admin-overview .bookaro-overview-delta.is-down {
    color: var(--bookaro-danger);
}

.bookaro-admin-overview .bookaro-overview-delta.is-flat {
    color: var(--bookaro-muted);
}

.bookaro-admin-overview .bookaro-overview-status-list {
    display: grid;
    gap: 10px;
}

.bookaro-admin-overview .bookaro-overview-status-row {
    display: grid;
    grid-template-columns: minmax(90px, auto) 1fr auto;
    gap: 10px;
    align-items: center;
}

.bookaro-admin-overview .bookaro-overview-status-label {
    font-size: 12px;
    color: var(--bookaro-muted);
}

.bookaro-admin-overview .bookaro-overview-status-value {
    font-size: 12px;
    font-weight: 600;
    min-width: 80px;
    text-align: right;
}

.bookaro-admin-overview .bookaro-overview-table {
    width: 100%;
    border-collapse: collapse;
}

.bookaro-admin-overview .bookaro-overview-table th,
.bookaro-admin-overview .bookaro-overview-table td {
    padding: 8px 10px;
    border-bottom: 1px solid var(--bookaro-border);
    font-size: 12px;
}

.bookaro-admin-overview .bookaro-overview-table th {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--bookaro-muted);
    font-size: 11px;
}

.bookaro-admin-overview .bookaro-overview-table td.is-number,
.bookaro-admin-overview .bookaro-overview-table th.is-number {
    text-align: right;
    white-space: nowrap;
}

.bookaro-admin-overview .bookaro-overview-card--wide {
    grid-column: 1 / -1;
}

.bookaro-admin-overview .bookaro-overview-health-list {
    display: grid;
    gap: 10px;
}

.bookaro-admin-overview .bookaro-overview-health-row {
    display: grid;
    grid-template-columns: minmax(90px, auto) 1fr auto;
    gap: 10px;
    align-items: center;
}

.bookaro-admin-overview .bookaro-overview-health-label {
    font-size: 12px;
    color: var(--bookaro-muted);
}

.bookaro-admin-overview .bookaro-overview-health-values {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
    color: var(--bookaro-muted);
}

.bookaro-admin-overview .bookaro-overview-health-rate {
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.bookaro-overview-chart {
    min-height: 260px;
}

.bookaro-admin-overview .ct-series-a .ct-line,
.bookaro-admin-overview .ct-series-a .ct-point,
.bookaro-admin-overview .ct-series-a .ct-bar {
    stroke: var(--bookaro-accent) !important;
}

.bookaro-admin-overview .ct-series-a .ct-area {
    fill: var(--bookaro-accent-soft);
    fill-opacity: 0.35;
}

.bookaro-admin-overview .ct-grid,
.bookaro-admin-overview .ct-label {
    stroke: var(--bookaro-border);
    color: var(--bookaro-muted);
}

.bookaro-admin-overview .ct-label {
    font-size: 11px;
}

.bookaro-admin-overview .ct-point {
    stroke-width: 6px;
}

.bookaro-admin-overview .ct-line {
    stroke-width: 3px;
    fill: none;
}

.bookaro-overview-bars {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bookaro-overview-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bookaro-overview-bar-label {
    min-width: 96px;
    font-size: 12px;
    color: var(--bookaro-muted);
}

.bookaro-overview-bar-track {
    flex: 1;
    height: 8px;
    background: var(--bookaro-surface-muted);
    border-radius: 999px;
    overflow: hidden;
}

.bookaro-overview-bar-fill {
    height: 100%;
    background: var(--bookaro-accent);
    border-radius: 999px;
}

.bookaro-overview-bar-value {
    font-size: 12px;
    font-weight: 600;
    color: var(--bookaro-text);
    min-width: 32px;
    text-align: right;
}

.bookaro-overview-muted {
    color: var(--bookaro-muted);
    font-size: 13px;
}

.bookaro-overview-inline {
    margin: 16px 0 24px;
}

.bookaro-tabs-card {
    padding: 10px 12px;
    margin-bottom: 18px;
}

.bookaro-tabs-toolbar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 8px;
}

.bookaro-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bookaro-tabs button {
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: 1px solid transparent;
    background: transparent;
    cursor: pointer;
    color: var(--bookaro-muted);
    transition: all 0.2s ease;
}

.bookaro-tabs button:hover {
    background: var(--bookaro-surface-alt);
    border-color: var(--bookaro-border);
    color: var(--bookaro-text);
}

.bookaro-tabs button.active {
    background: var(--bookaro-accent);
    border-color: var(--bookaro-accent);
    color: #fff;
    box-shadow: 0 8px 20px -16px var(--bookaro-accent);
}

.bookaro-settings-panel {
    display: none;
    padding: 22px;
}

.bookaro-settings-panel.active {
    display: block;
}

.bookaro-help {
    padding: 12px 14px;
    margin-bottom: 14px;
    background: var(--bookaro-surface-alt);
    border: 1px solid var(--bookaro-border);
}

.bookaro-help__title {
    font-weight: 600;
    margin-bottom: 6px;
}

.bookaro-help__item {
    margin-bottom: 6px;
}

.bookaro-help__link {
    margin-top: 6px;
}

.bookaro-actions {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.bookaro-footer-note {
    margin: 16px 4px 0;
    color: var(--bookaro-muted);
}

.bookaro-admin .form-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 12px;
    margin: 0;
}

.bookaro-admin .form-table tr {
    background: var(--bookaro-surface);
    border: 1px solid var(--bookaro-border);
    border-radius: 14px;
    display: block;
    padding: 14px 16px;
}

.bookaro-admin .form-table th {
    display: block;
    padding: 0 0 6px 0;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--bookaro-muted);
    width: 100%;
}

.bookaro-admin .form-table td {
    display: block;
    padding: 0;
}

.bookaro-admin .bookaro-setting-hidden {
    display: none !important;
}

.bookaro-admin .form-table tr.bookaro-setting-hidden {
    display: none !important;
}

.bookaro-admin .form-table tr.bookaro-setting-heading,
.bookaro-admin .form-table tr.bookaro-setting-note {
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
}

.bookaro-admin .form-table tr.bookaro-setting-template {
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
}

.bookaro-admin .form-table tr.bookaro-setting-heading th,
.bookaro-admin .form-table tr.bookaro-setting-note th {
    display: none;
}

.bookaro-admin .form-table tr.bookaro-setting-template th {
    display: none;
}

.bookaro-admin .form-table tr.bookaro-setting-heading td,
.bookaro-admin .form-table tr.bookaro-setting-note td {
    padding: 0;
}

.bookaro-admin .form-table tr.bookaro-setting-template td {
    padding: 0;
}

.bookaro-admin .form-table tr.bookaro-setting-heading td,
.bookaro-admin .form-table tr.bookaro-setting-note td,
.bookaro-admin .form-table tr.bookaro-setting-template td {
    grid-column: 1 / -1;
    width: 100%;
}

.bookaro-admin-settings .form-table {
    border-spacing: 0;
}

.bookaro-admin-settings .form-table tr {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.bookaro-admin-settings .form-table tr.bookaro-group-row {
    background: var(--bookaro-surface);
    border-left: 1px solid var(--bookaro-border);
    border-right: 1px solid var(--bookaro-border);
    padding: 14px 16px;
}

.bookaro-admin-settings .form-table tr.bookaro-group-row:not(.bookaro-group-start) {
    border-top: 1px solid var(--bookaro-border);
}

.bookaro-admin-settings .form-table tr.bookaro-group-start {
    border-top: 1px solid var(--bookaro-border);
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.bookaro-admin-settings .form-table tr.bookaro-group-end {
    border-bottom: 1px solid var(--bookaro-border);
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    margin-bottom: 14px;
}

.bookaro-admin-settings .form-table .description {
    font-size: 11px;
    color: var(--bookaro-muted);
    margin-top: 6px;
}

.bookaro-section-heading {
    padding: 4px 2px 2px;
    border-bottom: 1px solid var(--bookaro-border);
    margin-bottom: 6px;
}

.bookaro-section-heading h3 {
    margin: 0;
    font-size: 15px;
}

.bookaro-admin-settings .bookaro-section-heading {
    position: relative;
    padding: 8px 4px 8px 14px;
    margin-bottom: 10px;
}

.bookaro-admin-settings .bookaro-section-heading::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 3px;
    border-radius: 999px;
    background: var(--bookaro-accent);
    opacity: 0.6;
}

.bookaro-note {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--bookaro-border);
    background: var(--bookaro-surface-alt);
}

.bookaro-note--warning {
    border-color: var(--bookaro-warning);
    background: #fffbeb;
}

.bookaro-note--success {
    border-color: var(--bookaro-success);
    background: #ecfdf3;
}

.bookaro-pages-helper .bookaro-status-item {
    background: var(--bookaro-surface);
}

.bookaro-pages-helper__actions {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.bookaro-pages-helper__actions form {
    margin: 0;
}

.bookaro-field-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.bookaro-tooltip {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid #115e59;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: help;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #0f766e, #115e59);
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.2);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.bookaro-tooltip:hover,
.bookaro-tooltip:focus,
.bookaro-tooltip:focus-visible {
    transform: translateY(-1px);
    z-index: 2000;
    box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.35), 0 4px 10px rgba(15, 23, 42, 0.26);
    filter: saturate(1.08);
}

.bookaro-tooltip:focus-visible {
    outline: 2px solid #0f766e;
    outline-offset: 2px;
}

.bookaro-email-template {
    border: 1px solid var(--bookaro-border);
    border-radius: 16px;
    background: var(--bookaro-surface);
    padding: 16px 18px;
    display: grid;
    gap: 12px;
}

.bookaro-email-template__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.bookaro-email-template__header-actions {
    display: grid;
    gap: 8px;
    justify-items: end;
}

.bookaro-email-template__toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--bookaro-muted);
}

.bookaro-email-template__title {
    margin: 0 0 4px;
    font-size: 15px;
}

.bookaro-email-template__tokens {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.bookaro-email-template__tokens-label {
    font-size: 12px;
    color: var(--bookaro-muted);
    margin-right: 4px;
}

.bookaro-token-chip {
    border: 1px solid var(--bookaro-border);
    background: var(--bookaro-surface-alt);
    color: var(--bookaro-text);
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 11px;
    cursor: pointer;
}

.bookaro-token-chip:hover {
    border-color: var(--bookaro-accent);
    color: var(--bookaro-accent-text);
}

.bookaro-email-template__field {
    display: grid;
    gap: 6px;
}

.bookaro-email-template__field label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--bookaro-muted);
    font-weight: 600;
}

.bookaro-email-template__field .regular-text {
    max-width: 100%;
}

.bookaro-email-preview {
    border: 1px solid var(--bookaro-border);
    border-radius: 12px;
    padding: 10px 12px;
    background: var(--bookaro-surface-alt);
    display: grid;
    gap: 10px;
}

.bookaro-email-preview__samples {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.bookaro-email-preview__sample {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #eef2ff;
    color: #1e293b;
    font-size: 11px;
}

.bookaro-email-preview__sample code {
    font-size: 10px;
}

.bookaro-email-preview__panel {
    border: 1px solid var(--bookaro-border);
    border-radius: 10px;
    background: var(--bookaro-surface);
    padding: 10px 12px;
    display: grid;
    gap: 8px;
}

.bookaro-email-preview__label {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--bookaro-muted);
    font-weight: 700;
}

.bookaro-email-preview__subject-output {
    font-weight: 600;
}

.bookaro-email-preview__body-output {
    display: grid;
    gap: 8px;
}

.bookaro-email-preview__body-html,
.bookaro-email-preview__body-text {
    border: 1px dashed var(--bookaro-border);
    border-radius: 8px;
    padding: 8px 10px;
    background: #f8fafc;
    font-size: 12px;
    line-height: 1.45;
    white-space: pre-wrap;
}

.bookaro-email-template .wp-editor-wrap {
    max-width: 100%;
}

.bookaro-email-template .wp-editor-container {
    border-radius: 10px;
    border-color: var(--bookaro-border);
}

.bookaro-tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    top: 28px;
    transform: translateX(-50%) translateY(-4px);
    background: #0f172a;
    color: #fff;
    font-size: 12px;
    line-height: 1.4;
    padding: 9px 11px;
    border-radius: 10px;
    width: 250px;
    opacity: 0;
    pointer-events: none;
    z-index: 2100;
    transition: opacity 0.15s ease, transform 0.15s ease;
    white-space: pre-line;
    box-shadow: 0 8px 24px rgba(2, 6, 23, 0.35);
}

.bookaro-tooltip::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 22px;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-bottom-color: #0f172a;
    opacity: 0;
    transition: opacity 0.15s ease;
    z-index: 2100;
}

.bookaro-tooltip:hover::after,
.bookaro-tooltip:focus::after,
.bookaro-tooltip:hover::before,
.bookaro-tooltip:focus::before {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.bookaro-admin .form-table input[type="text"],
.bookaro-admin .form-table input[type="email"],
.bookaro-admin .form-table input[type="password"],
.bookaro-admin .form-table input[type="number"],
.bookaro-admin .form-table input[type="search"],
.bookaro-admin .form-table select,
.bookaro-admin .form-table textarea {
    width: 100%;
    max-width: 100%;
    padding: 9px 12px;
    border: 1px solid var(--bookaro-border);
    border-radius: 12px;
    background: var(--bookaro-surface);
    font-size: 13px;
    color: var(--bookaro-text);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.bookaro-admin .form-table input[type="text"]:focus,
.bookaro-admin .form-table input[type="email"]:focus,
.bookaro-admin .form-table input[type="password"]:focus,
.bookaro-admin .form-table input[type="number"]:focus,
.bookaro-admin .form-table input[type="search"]:focus,
.bookaro-admin .form-table select:focus,
.bookaro-admin .form-table textarea:focus {
    outline: none;
    border-color: var(--bookaro-accent);
    box-shadow: 0 0 0 2px var(--bookaro-accent-soft);
}

.bookaro-admin .bookaro-multiselect-wrapper {
    display: grid;
    gap: 8px;
}

.bookaro-admin .bookaro-multiselect-search {
    max-width: 420px;
}

.bookaro-admin .form-table textarea {
    min-height: 110px;
}

.bookaro-admin .description {
    color: var(--bookaro-muted);
    font-size: 12px;
    margin-top: 6px;
}

.bookaro-admin-settings.bookaro-help-compact .bookaro-settings-panel .description {
    display: none;
}

.bookaro-admin-settings.bookaro-help-compact .bookaro-settings-panel .bookaro-note .description,
.bookaro-admin-settings.bookaro-help-compact .bookaro-settings-panel .bookaro-section-heading .description,
.bookaro-admin-settings.bookaro-help-compact .bookaro-settings-panel .description.bookaro-disabled-reason,
.bookaro-admin-settings.bookaro-help-compact .bookaro-settings-panel .description.bookaro-pro-lock-note,
.bookaro-admin-settings.bookaro-help-compact .bookaro-settings-panel .description.bookaro-email-test-result,
.bookaro-admin-settings.bookaro-help-compact .bookaro-settings-panel .description.bookaro-sms-test-result,
.bookaro-admin-settings.bookaro-help-compact .bookaro-settings-panel .description.bookaro-sms-preview-result,
.bookaro-admin-settings.bookaro-help-compact .bookaro-settings-panel .description.bookaro-webhook-test-result,
.bookaro-admin-settings.bookaro-help-compact .bookaro-settings-panel .description.bookaro-webhook-preview-result {
    display: block;
}

.bookaro-admin-settings.bookaro-help-compact .bookaro-help {
    display: none;
}

.bookaro-admin .button:not(.button-link) {
    border-radius: 12px;
    padding: 6px 14px;
    min-height: 36px;
    line-height: 1.2;
    box-shadow: none;
    border-color: var(--bookaro-border);
}

.bookaro-admin .button-primary:not(.button-link) {
    background: var(--bookaro-accent);
    border-color: var(--bookaro-accent);
    color: #fff;
}

.bookaro-admin .button-primary:not(.button-link):hover,
.bookaro-admin .button-primary:not(.button-link):focus {
    filter: brightness(0.95);
}

.bookaro-admin .button-secondary:not(.button-link) {
    background: var(--bookaro-surface);
    border-color: var(--bookaro-border);
    color: var(--bookaro-text);
}

.bookaro-admin .button-secondary:not(.button-link):hover,
.bookaro-admin .button-secondary:not(.button-link):focus {
    background: var(--bookaro-surface-alt);
    border-color: var(--bookaro-border);
}

.bookaro-admin .bookaro-disabled-reason {
    color: #92400e;
    background: #fffbeb;
    border: 1px solid rgba(245, 158, 11, 0.4);
    padding: 8px 10px;
    border-radius: 10px;
    margin-top: 8px;
}

.bookaro-admin .bookaro-pro-lock-note {
    color: #7c2d12;
    background: #fff7ed;
    border: 1px solid rgba(249, 115, 22, 0.38);
    padding: 8px 10px;
    border-radius: 10px;
    margin-top: 8px;
    font-weight: 600;
}

.bookaro-admin .bookaro-sms-test,
.bookaro-admin .bookaro-sms-callback {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.bookaro-admin .bookaro-sms-test-button,
.bookaro-admin .bookaro-sms-copy-button {
    white-space: nowrap;
}

.bookaro-admin .bookaro-sms-test-result.is-success,
.bookaro-admin .bookaro-sms-copy-result.is-success,
.bookaro-admin .bookaro-email-test-result.is-success,
.bookaro-admin .bookaro-webhook-test-result.is-success {
    color: var(--bookaro-success);
}

.bookaro-admin .bookaro-sms-test-result.is-error,
.bookaro-admin .bookaro-sms-copy-result.is-error,
.bookaro-admin .bookaro-email-test-result.is-error,
.bookaro-admin .bookaro-webhook-test-result.is-error {
    color: var(--bookaro-danger);
}

.bookaro-admin .bookaro-sms-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.bookaro-admin .bookaro-sms-preview-template,
.bookaro-admin .bookaro-sms-preview-booking {
    min-width: 200px;
    padding: 6px 10px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
}

.bookaro-admin .bookaro-sms-preview-output {
    margin-top: 12px;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #f8fafc;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 12px;
    line-height: 1.45;
    max-height: 220px;
    overflow: auto;
    white-space: pre-wrap;
}

.bookaro-admin .bookaro-sms-preview-result.is-success {
    color: var(--bookaro-success);
}

.bookaro-admin .bookaro-sms-preview-result.is-error {
    color: var(--bookaro-danger);
}

.bookaro-admin .bookaro-webhook-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.bookaro-admin .bookaro-filter-label {
    font-size: 12px;
    color: #6b7280;
    margin-left: 4px;
    margin-right: -4px;
    letter-spacing: 0.02em;
    text-transform: none;
}

.bookaro-admin .bookaro-preview-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 11px;
    color: #0f172a;
    background: #e2e8f0;
    border: 1px solid #cbd5f5;
}

.bookaro-admin .bookaro-webhook-preview-event {
    min-width: 220px;
    padding: 6px 10px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
}

.bookaro-admin .bookaro-webhook-preview-provider,
.bookaro-admin .bookaro-webhook-preview-status {
    min-width: 180px;
    padding: 6px 10px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
}

.bookaro-admin .bookaro-webhook-preview-booking {
    min-width: 220px;
    padding: 6px 10px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
}

.bookaro-admin .bookaro-webhook-preview-output {
    margin-top: 12px;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #f8fafc;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 12px;
    line-height: 1.45;
    max-height: 280px;
    overflow: auto;
    white-space: pre-wrap;
}

.bookaro-admin .bookaro-webhook-preview-result.is-success {
    color: var(--bookaro-success);
}

.bookaro-admin .bookaro-webhook-preview-result.is-error {
    color: var(--bookaro-danger);
}

.bookaro-admin .form-table td > label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.bookaro-pro-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    color: #fff;
    background: var(--bookaro-warning);
    border-radius: 10px;
}

.bookaro-order-map {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    max-width: 980px;
}

.bookaro-order-map__item {
    display: inline-flex;
    flex-direction: column;
    gap: 6px;
    min-width: 220px;
    padding: 10px 12px;
    border: 1px solid var(--bookaro-border);
    border-radius: 12px;
    background: var(--bookaro-surface);
}

.bookaro-order-map__label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--bookaro-muted);
    font-weight: 600;
}

.bookaro-admin .bookaro-shortcode-generator {
    margin-top: 8px;
    display: grid;
    gap: 16px;
}

.bookaro-admin .bookaro-generator-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.bookaro-admin .bookaro-generator-output {
    display: grid;
    gap: 12px;
}

.bookaro-admin .bookaro-generator-row {
    display: grid;
    gap: 6px;
}

.bookaro-admin .bookaro-generator-field {
    display: grid;
    gap: 8px;
    grid-template-columns: 1fr auto;
    align-items: center;
}

.bookaro-admin .bookaro-generator-field textarea {
    min-height: 110px;
}

.bookaro-checklist {
    padding: 16px 20px;
}

.bookaro-checklist__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.bookaro-checklist__progress {
    min-width: 200px;
}

.bookaro-checklist__count {
    font-size: 12px;
    color: var(--bookaro-muted);
    margin-bottom: 6px;
}

.bookaro-progress {
    background: var(--bookaro-surface-muted);
    height: 8px;
    border-radius: 999px;
    overflow: hidden;
}

.bookaro-progress__bar {
    height: 8px;
    background: var(--bookaro-accent);
}

.bookaro-checklist__list {
    margin: 16px 0 0;
    display: grid;
    gap: 10px;
    padding: 0;
    list-style: none;
}

.bookaro-checklist__item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    background: var(--bookaro-surface-alt);
    border: 1px solid var(--bookaro-border);
    border-radius: 12px;
    padding: 10px 12px;
}

.bookaro-checklist__item.is-done {
    border-color: rgba(22, 163, 74, 0.3);
}

.bookaro-checklist__icon {
    margin-top: 2px;
    color: var(--bookaro-muted);
}

.bookaro-checklist__item.is-done .bookaro-checklist__icon {
    color: var(--bookaro-success);
}

.bookaro-checklist__body {
    flex: 1;
}

.bookaro-checklist__title {
    font-weight: 600;
    font-size: 13px;
}

.bookaro-health {
    padding: 16px 20px;
}

.bookaro-health__header h2 {
    margin-bottom: 4px;
}

.bookaro-health__list {
    margin-top: 12px;
    display: grid;
    gap: 10px;
}

.bookaro-health__item {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    background: var(--bookaro-surface-alt);
    border: 1px solid var(--bookaro-border);
    border-radius: 12px;
    padding: 10px 12px;
}

.bookaro-health__label {
    min-width: 150px;
    font-weight: 600;
}

.bookaro-health__status {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    border: 1px solid var(--bookaro-border);
}

.bookaro-health__message {
    margin: 0;
    flex: 1;
    min-width: 220px;
}

.bookaro-dashboard-status {
    padding: 16px 20px;
}

.bookaro-dashboard-status .bookaro-status-list {
    margin-top: 12px;
}

.bookaro-support {
    padding: 16px 20px;
}

.bookaro-support__list {
    margin-top: 12px;
    display: grid;
    gap: 10px;
}

.bookaro-support__item {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    background: var(--bookaro-surface-alt);
    border: 1px solid var(--bookaro-border);
    border-radius: 12px;
    padding: 10px 12px;
}

.bookaro-support__label {
    min-width: 150px;
    font-weight: 600;
}

.bookaro-support__message {
    margin: 0;
    flex: 1;
    min-width: 220px;
}

.bookaro-support__meta {
    margin-top: 10px;
    font-size: 12px;
    color: var(--bookaro-muted);
}

.bookaro-support__meta code {
    background: var(--bookaro-surface-muted);
    border: 1px solid var(--bookaro-border);
    border-radius: 8px;
    padding: 2px 6px;
}

.bookaro-admin-logs .bookaro-health__item {
    align-items: flex-start;
}

.bookaro-log-actions {
    justify-content: space-between;
}

.bookaro-log-actions .bookaro-log-lines {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--bookaro-muted);
}

.bookaro-log-actions select {
    min-height: 32px;
    border-radius: 10px;
    border: 1px solid var(--bookaro-border);
    padding: 4px 8px;
    background: var(--bookaro-surface);
}

.bookaro-log-meta {
    display: grid;
    gap: 6px;
    font-size: 12px;
    color: var(--bookaro-muted);
}

.bookaro-log-meta code {
    display: inline-flex;
    padding: 2px 6px;
    border-radius: 8px;
    border: 1px solid var(--bookaro-border);
    background: var(--bookaro-surface-muted);
    font-size: 12px;
}

.bookaro-log-viewer {
    background: #0f172a;
    color: #e2e8f0;
    border-radius: 14px;
    border: 1px solid #1e293b;
    padding: 14px 16px;
    max-height: 420px;
    overflow: auto;
}

.bookaro-log-viewer pre {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    white-space: pre-wrap;
    word-break: break-word;
}

.bookaro-hidden {
    display: none !important;
}

@media (min-width: 960px) {
    .bookaro-admin .form-table tr {
        display: grid;
        grid-template-columns: 260px 1fr;
        align-items: start;
        column-gap: 18px;
    }
    .bookaro-admin .form-table th {
        padding: 2px 0 0 0;
    }
}

.bookaro-setup-hero {
    margin-bottom: 18px;
}

.bookaro-stepper {
    padding: 14px 18px;
    margin-bottom: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.bookaro-stepper__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--bookaro-border);
    background: var(--bookaro-surface-alt);
    color: var(--bookaro-muted);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
}

.bookaro-stepper__item.is-active {
    background: var(--bookaro-accent-soft);
    border-color: var(--bookaro-accent);
    color: var(--bookaro-accent-text);
}

.bookaro-stepper__item.is-complete {
    background: #ecfdf3;
    border-color: rgba(22, 163, 74, 0.4);
    color: #166534;
}

.bookaro-stepper__index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: 1px solid currentColor;
    font-size: 11px;
    font-weight: 700;
    background: var(--bookaro-surface);
}

.bookaro-setup-panel {
    padding: 22px 24px;
}

.bookaro-next-button.bookaro-button-loading {
    position: relative;
    padding-right: 2.4em;
    opacity: 0.85;
}

.bookaro-next-button.bookaro-button-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0.8em;
    width: 14px;
    height: 14px;
    margin-top: -7px;
    border: 2px solid rgba(255, 255, 255, 0.55);
    border-top-color: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    animation: bookaro-spin 0.8s linear infinite;
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    .bookaro-next-button.bookaro-button-loading::after {
        animation: none;
    }
}

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

.bookaro-setup-panel__header {
    margin-bottom: 12px;
}

.bookaro-setup-panel__header h2 {
    margin: 0 0 6px;
    font-size: 18px;
}

.bookaro-setup-panel__header .description {
    margin: 0;
}

.bookaro-setup-panel h3 {
    margin: 18px 0 8px;
    font-size: 15px;
}

.bookaro-setup-note {
    margin-top: 12px;
}

.bookaro-setup-note .description {
    margin: 6px 0 0;
}

.bookaro-setup-code-grid {
    display: grid;
    gap: 10px;
    max-width: 760px;
}

.bookaro-setup-list {
    margin: 0 0 12px 18px;
    list-style: disc;
}

.bookaro-getting-started__hero {
    margin-bottom: 18px;
}

.bookaro-getting-started__card,
.bookaro-getting-started__actions {
    padding: 18px 20px;
}

.bookaro-getting-started__actions .bookaro-card__header {
    margin-bottom: 14px;
}

.bookaro-mode-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--bookaro-accent-soft);
    color: var(--bookaro-accent-text);
    font-size: 12px;
    font-weight: 600;
    margin-top: 10px;
}

.bookaro-card__header {
    margin-bottom: 12px;
}

.bookaro-card__header h2 {
    margin: 0 0 6px;
    font-size: 18px;
}

.bookaro-onboarding-list {
    display: grid;
    gap: 12px;
}

.bookaro-onboarding-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 14px;
    border: 1px solid var(--bookaro-border);
    border-radius: 12px;
    background: var(--bookaro-surface-alt);
}

.bookaro-onboarding-status {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.bookaro-onboarding-status.is-success {
    background: var(--bookaro-success);
}

.bookaro-onboarding-status.is-warning {
    background: var(--bookaro-warning);
}

.bookaro-onboarding-status .dashicons {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

.bookaro-onboarding-body {
    flex: 1;
}

.bookaro-onboarding-title {
    font-weight: 600;
    font-size: 13px;
}

.bookaro-onboarding-actions {
    margin-top: 8px;
}

.bookaro-shortcode-list {
    display: grid;
    gap: 10px;
}

.bookaro-shortcode-row {
    display: grid;
    gap: 6px;
}

.bookaro-shortcode-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.bookaro-shortcode-controls .regular-text {
    flex: 1;
    min-width: 240px;
}

.bookaro-shortcode-note {
    margin-top: 10px;
}

.bookaro-tip-list {
    margin: 0 0 10px 18px;
    list-style: disc;
}

.bookaro-action-list {
    display: grid;
    gap: 14px;
}

.bookaro-action-card {
    border: 1px solid var(--bookaro-border);
    border-radius: 14px;
    padding: 14px 16px;
    background: var(--bookaro-surface-alt);
}

.bookaro-action-card__header h3 {
    margin: 0 0 6px;
    font-size: 15px;
}

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

.bookaro-action-select {
    min-width: 220px;
}

.bookaro-action-input {
    min-width: 220px;
}

.bookaro-action-meta {
    margin-top: 6px;
    font-size: 12px;
    color: var(--bookaro-muted);
}

.bookaro-action-secondary {
    margin-top: 10px;
}

.bookaro-action-note {
    margin-top: 8px;
}

.bookaro-bookings-hero {
    margin-bottom: 18px;
}

.bookaro-export-card {
    padding: 16px 18px;
    margin-bottom: 18px;
}

.bookaro-export-form {
    display: grid;
    gap: 12px;
}

.bookaro-export-form__row {
    display: grid;
    gap: 6px;
}

.bookaro-export-form__row--inline {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-end;
}

.bookaro-export-form__label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--bookaro-muted);
    font-weight: 600;
}

.bookaro-export-form__input {
    min-height: 36px;
    border-radius: 10px;
    border: 1px solid var(--bookaro-border);
    padding: 6px 10px;
    background: var(--bookaro-surface);
    color: var(--bookaro-text);
}

.bookaro-bookings-table {
    padding: 16px 18px;
    margin-top: 18px;
}

.bookaro-admin-bookings .tablenav.top {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-start;
    height: auto;
    min-height: 0;
    padding: 8px 0 12px;
}

.bookaro-admin-export-log .tablenav.top,
.bookaro-admin-payouts .tablenav.top {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    height: auto;
    min-height: 0;
    padding: 8px 0 12px;
}

.bookaro-admin-export-log .tablenav.top .alignleft.actions,
.bookaro-admin-payouts .tablenav.top .alignleft.actions {
    float: none;
}

.bookaro-admin-export-log .tablenav.top .tablenav-pages,
.bookaro-admin-payouts .tablenav.top .tablenav-pages {
    margin-left: auto;
    float: none;
}

.bookaro-admin-export-log .tablenav.bottom,
.bookaro-admin-payouts .tablenav.bottom {
    padding-top: 10px;
}

.bookaro-admin-bookings .tablenav.top .alignleft.actions.bookaro-filters {
    width: 100%;
    flex: 1 1 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    padding-bottom: 8px;
    float: none;
}

.bookaro-admin-bookings .tablenav.top .tablenav-pages {
    margin-left: auto;
    align-self: flex-end;
    float: none;
}

.bookaro-admin-bookings .tablenav .actions.bookaro-filters select,
.bookaro-admin-bookings .tablenav .actions.bookaro-filters input[type="date"],
.bookaro-admin-bookings .tablenav .actions.bookaro-filters input[type="number"] {
    min-height: 32px;
    border-radius: 10px;
    border: 1px solid var(--bookaro-border);
    padding: 4px 8px;
    max-width: 180px;
    background: var(--bookaro-surface);
}

.bookaro-admin-profiles .tablenav.top .alignleft.actions.bookaro-profile-filters {
    width: 100%;
    flex: 1 1 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    padding-bottom: 8px;
    float: none;
}

.bookaro-admin-profiles .tablenav .actions.bookaro-profile-filters select,
.bookaro-admin-profiles .tablenav .actions.bookaro-profile-filters input[type="number"] {
    min-height: 32px;
    border-radius: 10px;
    border: 1px solid var(--bookaro-border);
    padding: 4px 8px;
    max-width: 220px;
    background: var(--bookaro-surface);
}

.bookaro-admin-profiles .tablenav .actions.bookaro-profile-filters .button-link {
    text-decoration: none;
}

.bookaro-admin-bookings .subsubsub a {
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid var(--bookaro-border);
    background: var(--bookaro-surface-alt);
    color: var(--bookaro-text);
    text-decoration: none;
}

.bookaro-admin-bookings .subsubsub a.current {
    background: var(--bookaro-accent-soft);
    border-color: var(--bookaro-accent);
    color: var(--bookaro-accent-text);
}

.bookaro-admin-bookings .wp-list-table {
    border: 1px solid var(--bookaro-border);
    border-radius: 14px;
    overflow: hidden;
}

.bookaro-admin-bookings .wp-list-table thead th {
    background: var(--bookaro-surface-alt);
}

.bookaro-admin-bookings .wp-list-table td,
.bookaro-admin-bookings .wp-list-table th {
    vertical-align: middle;
}

.bookaro-admin .bookaro-status {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
}

.bookaro-admin .bookaro-status.badge-pending {
    background: #fef3c7;
    color: #92400e;
}

.bookaro-admin .bookaro-status.badge-approved {
    background: #dcfce7;
    color: #166534;
}

.bookaro-admin .bookaro-status.badge-rejected {
    background: #fee2e2;
    color: #991b1b;
}

.bookaro-admin .bookaro-status.badge-cancelled {
    background: #e2e8f0;
    color: #475569;
}

.bookaro-admin .bookaro-status.badge-completed {
    background: #e0f2fe;
    color: #0c4a6e;
}

.bookaro-admin .bookaro-status.badge-no_show {
    background: #ffedd5;
    color: #9a3412;
}

.bookaro-admin .bookaro-status.badge-active {
    background: #dcfce7;
    color: #166534;
}

.bookaro-admin .bookaro-status.badge-inactive {
    background: #e2e8f0;
    color: #334155;
}

/* -----------------------------
   Payouts Table Filters & Actions
   ----------------------------- */
.bookaro-admin .tablenav .actions.bookaro-payout-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 6px;
}

.bookaro-admin .tablenav .actions.bookaro-payout-filters select,
.bookaro-admin .tablenav .actions.bookaro-payout-filters input[type="date"] {
    min-width: 160px;
    height: 32px;
}

.bookaro-admin .tablenav .actions.bookaro-payout-tools {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-left: 8px;
}

.bookaro-admin .wp-list-table.payouts .column-actions {
    width: 240px;
}

.bookaro-admin .wp-list-table.payouts td,
.bookaro-admin .wp-list-table.payouts th {
    vertical-align: middle;
}

.bookaro-admin .bookaro-payout-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.bookaro-admin .bookaro-payout-actions .button {
    margin: 0;
}

.bookaro-admin .bookaro-payout-actions input[type="number"] {
    max-width: 110px;
}

.bookaro-admin .wp-list-table.payouts .column-customer {
    min-width: 180px;
}

.bookaro-admin .wp-list-table.payouts .column-booking_status {
    min-width: 140px;
}

.bookaro-admin .wp-list-table.payouts .column-payout_details {
    min-width: 220px;
}

.bookaro-admin .bookaro-payout-details {
    font-size: 12px;
    color: #0f172a;
    line-height: 1.4;
}

.bookaro-admin .bookaro-payout-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    align-items: center;
}

.bookaro-admin .bookaro-payout-summary .bookaro-payout-view {
    margin-left: auto;
    white-space: nowrap;
}

.bookaro-admin .bookaro-payout-meta {
    color: var(--bookaro-muted);
    font-size: 12px;
}

.bookaro-admin .bookaro-payout-warning {
    color: #b45309;
    font-weight: 600;
    font-size: 11px;
}

.bookaro-admin .bookaro-payout-details__grid {
    display: grid;
    gap: 6px;
}

.bookaro-admin .bookaro-payout-detail-row {
    display: grid;
    grid-template-columns: minmax(90px, auto) 1fr;
    gap: 8px;
    align-items: start;
}

.bookaro-admin .bookaro-payout-detail-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--bookaro-muted);
    font-weight: 600;
}

.bookaro-admin .bookaro-payout-detail-value {
    font-size: 12px;
    color: var(--bookaro-text);
    word-break: break-word;
}

.bookaro-admin .bookaro-payout-detail-section {
    margin-top: 6px;
    font-weight: 600;
    color: #1f2937;
}

.bookaro-admin .bookaro-payout-detail-warning {
    margin-top: 6px;
    font-weight: 600;
    color: #b45309;
}

.bookaro-admin .bookaro-payout-details-actions {
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.bookaro-admin .bookaro-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: none;
}

.bookaro-admin .bookaro-modal.is-open {
    display: block;
}

.bookaro-admin .bookaro-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
}

.bookaro-admin .bookaro-modal__content {
    position: relative;
    z-index: 1;
    max-width: 640px;
    width: calc(100% - 32px);
    max-height: 80vh;
    overflow: auto;
    margin: 6vh auto;
    background: var(--bookaro-surface);
    border: 1px solid var(--bookaro-border);
    border-radius: 18px;
    padding: 20px 22px 24px;
    box-shadow: 0 20px 40px -24px rgba(15, 23, 42, 0.3);
}

.bookaro-admin .bookaro-modal__title {
    margin: 0 0 12px;
    font-size: 18px;
}

.bookaro-admin .bookaro-modal__body {
    display: grid;
    gap: 10px;
}

.bookaro-admin-profiles .bookaro-modal__content {
    max-width: 920px;
}

.bookaro-admin .bookaro-profile-modal-content {
    display: grid;
    gap: 16px;
}

.bookaro-admin .bookaro-profile-modal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 10px;
}

.bookaro-admin .bookaro-profile-modal-item {
    border: 1px solid var(--bookaro-border);
    border-radius: 12px;
    background: var(--bookaro-surface-alt);
    padding: 10px 12px;
    display: grid;
    gap: 4px;
}

.bookaro-admin .bookaro-profile-modal-item__label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--bookaro-muted);
    font-weight: 600;
}

.bookaro-admin .bookaro-profile-modal-item__value {
    font-size: 13px;
    color: var(--bookaro-text);
    font-weight: 600;
    word-break: break-word;
}

.bookaro-admin .bookaro-profile-modal-item__sub {
    display: block;
    margin-top: 2px;
    font-weight: 400;
    color: var(--bookaro-muted);
}

.bookaro-admin .bookaro-profile-modal-section {
    border: 1px solid var(--bookaro-border);
    border-radius: 14px;
    background: var(--bookaro-surface);
    padding: 14px;
    display: grid;
    gap: 10px;
}

.bookaro-admin .bookaro-profile-modal-section h3 {
    margin: 0;
    font-size: 14px;
}

.bookaro-admin .bookaro-profile-modal-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 8px;
}

.bookaro-admin .bookaro-profile-modal-field {
    border: 1px solid var(--bookaro-border);
    border-radius: 10px;
    background: var(--bookaro-surface-alt);
    padding: 8px 10px;
    display: grid;
    gap: 3px;
}

.bookaro-admin .bookaro-profile-modal-field__label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--bookaro-muted);
    font-weight: 600;
}

.bookaro-admin .bookaro-profile-modal-field__value {
    font-size: 12px;
    color: var(--bookaro-text);
    word-break: break-word;
}

.bookaro-admin .bookaro-profile-modal-raw {
    border: 1px solid var(--bookaro-border);
    border-radius: 10px;
    padding: 8px 10px;
    background: var(--bookaro-surface-alt);
}

.bookaro-admin .bookaro-profile-modal-raw summary {
    cursor: pointer;
    font-weight: 600;
}

.bookaro-admin .bookaro-profile-modal-raw pre {
    margin: 8px 0 0;
    max-height: 240px;
    overflow: auto;
    background: #0f172a;
    color: #e2e8f0;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 12px;
    line-height: 1.45;
}

.bookaro-admin .bookaro-profile-edit-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.bookaro-admin .bookaro-profile-edit-json {
    display: grid;
    gap: 6px;
}

.bookaro-admin .bookaro-profile-edit-form label {
    display: grid;
    gap: 5px;
}

.bookaro-admin .bookaro-profile-edit-form label span {
    font-size: 12px;
    font-weight: 600;
    color: var(--bookaro-muted);
}

.bookaro-admin .bookaro-profile-edit-form input[type="text"],
.bookaro-admin .bookaro-profile-edit-form input[type="number"],
.bookaro-admin .bookaro-profile-edit-form select,
.bookaro-admin .bookaro-profile-edit-form textarea {
    width: 100%;
    min-height: 36px;
    border-radius: 10px;
    border: 1px solid var(--bookaro-border);
    padding: 7px 10px;
    background: var(--bookaro-surface);
}

.bookaro-admin .bookaro-profile-edit-form textarea {
    min-height: 140px;
}

.bookaro-admin .bookaro-profile-modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.bookaro-admin .bookaro-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    border: none;
    background: transparent;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    color: var(--bookaro-muted);
}

.bookaro-admin .bookaro-modal__close:hover {
    color: var(--bookaro-text);
}

.bookaro-admin .bookaro-payout-copy-status {
    font-size: 12px;
    color: #64748b;
}

.bookaro-admin .bookaro-payout-copy-status.is-success {
    color: #15803d;
}

.bookaro-admin .bookaro-payout-copy-status.is-error {
    color: #b91c1c;
}
.bookaro-admin .bookaro-payout-tooltip {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}

.bookaro-admin .bookaro-tooltip-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    font-size: 16px;
    color: #2563eb;
    cursor: help;
}

.bookaro-admin .bookaro-tooltip-content {
    position: absolute;
    left: 0;
    top: 22px;
    min-width: 240px;
    max-width: 360px;
    background: #fff;
    border: 1px solid #dbeafe;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
    padding: 10px 12px;
    font-size: 12px;
    color: #0f172a;
    line-height: 1.4;
    z-index: 20;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.bookaro-admin .bookaro-tooltip-content .bookaro-tooltip-section {
    font-weight: 600;
    margin: 6px 0 4px;
    color: #1f2937;
}

.bookaro-admin .bookaro-tooltip-content .bookaro-tooltip-warning {
    color: #b45309;
    font-weight: 600;
    margin-bottom: 4px;
}

.bookaro-admin .bookaro-payout-tooltip:hover .bookaro-tooltip-content,
.bookaro-admin .bookaro-tooltip-trigger:focus + .bookaro-tooltip-content,
.bookaro-admin .bookaro-tooltip-trigger:focus-visible + .bookaro-tooltip-content {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.bookaro-booking-edit-hero {
    margin-bottom: 18px;
}

.bookaro-booking-edit .bookaro-hero__meta {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.bookaro-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid var(--bookaro-border);
    background: var(--bookaro-surface-alt);
    color: var(--bookaro-text);
    font-size: 12px;
    font-weight: 500;
}

.bookaro-booking-edit__card {
    padding: 18px 20px;
}

.bookaro-booking-edit__form .form-table {
    margin-top: 0;
}

.bookaro-booking-edit .bookaro-log-table {
    margin-top: 12px;
    border-radius: 12px;
    overflow: hidden;
}

.bookaro-system-hero {
    margin-bottom: 18px;
}

.bookaro-system-status__grid {
    display: grid;
    gap: 16px;
    margin-bottom: 18px;
}

@media (min-width: 1024px) {
    .bookaro-system-status__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.bookaro-system-card {
    padding: 18px 20px;
}

.bookaro-admin .bookaro-lane-summary-banner {
    padding: 18px 20px;
    margin-bottom: 18px;
}

.bookaro-system-support-card {
    margin-bottom: 18px;
}

.bookaro-system-launch-card {
    margin-bottom: 18px;
}

.bookaro-launch-overview {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.bookaro-launch-overview__meta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.bookaro-launch-overview__counts {
    font-size: 12px;
    font-weight: 600;
    color: var(--bookaro-muted);
}

.bookaro-launch-blockers {
    margin: 12px 0 0;
    padding-left: 20px;
    display: grid;
    gap: 10px;
}

.bookaro-launch-blocker {
    border: 1px solid var(--bookaro-border);
    border-radius: 12px;
    background: var(--bookaro-surface-alt);
    padding: 10px 12px;
}

.bookaro-launch-blocker__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.bookaro-status-list {
    display: grid;
    gap: 10px;
}

.bookaro-status-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    justify-content: space-between;
    padding: 10px 12px;
    border: 1px solid var(--bookaro-border);
    border-radius: 12px;
    background: var(--bookaro-surface-alt);
}

.bookaro-status-item--needs-fix {
    border-color: rgba(220, 38, 38, 0.38);
    background: #fff7f7;
}

.bookaro-status-item__label {
    min-width: 160px;
    font-weight: 600;
}

.bookaro-status-item__value {
    flex: 1;
}

.bookaro-status-item__meta {
    margin-top: 4px;
    font-size: 12px;
    color: var(--bookaro-muted);
}

.bookaro-status-item__fix {
    color: #991b1b;
    font-weight: 500;
}

.bookaro-status-item__actions {
    margin-top: 6px;
}

.bookaro-copy-bundle-status {
    min-height: 16px;
}

.bookaro-status-pill {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    border: 1px solid transparent;
}

.bookaro-status-item__value .bookaro-status-pill + .bookaro-status-pill {
    margin-left: 6px;
}

.bookaro-status-pill--ok {
    background: #dcfce7;
    color: #166534;
    border-color: rgba(22, 163, 74, 0.3);
}

.bookaro-status-pill--warn {
    background: #fef3c7;
    color: #92400e;
    border-color: rgba(245, 158, 11, 0.4);
}

.bookaro-status-pill--error {
    background: #fee2e2;
    color: #991b1b;
    border-color: rgba(220, 38, 38, 0.35);
}

.bookaro-status-pill--info {
    background: #e2e8f0;
    color: #475569;
    border-color: rgba(148, 163, 184, 0.4);
}

.bookaro-system-report {
    padding: 18px 20px;
}

.bookaro-report-grid {
    display: grid;
    gap: 16px;
}

@media (min-width: 960px) {
    .bookaro-report-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.bookaro-report-label {
    font-weight: 600;
    margin-bottom: 6px;
}

.bookaro-report-actions {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.bookaro-support-bundle-hint {
    display: inline-flex;
    align-items: center;
}

.bookaro-license-grid {
    display: grid;
    gap: 16px;
    margin-bottom: 18px;
}

@media (min-width: 1024px) {
    .bookaro-license-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.bookaro-license-card {
    padding: 18px 20px;
}

.bookaro-license-card .form-table {
    margin-top: 0;
}

.bookaro-license-card--full {
    grid-column: 1 / -1;
}

.bookaro-license-hero__meta {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.bookaro-license-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.bookaro-license-actions form {
    margin: 0;
}

.bookaro-license-divider {
    border-top: 1px solid var(--bookaro-border);
    margin: 12px 0;
}

.bookaro-license-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.bookaro-upgrade-hero {
    margin-bottom: 18px;
}

.bookaro-compare {
    padding: 18px 20px;
    margin-bottom: 18px;
}

.bookaro-compare-table {
    margin-top: 12px;
    border-radius: 14px;
    overflow: hidden;
}

.bookaro-compare-table thead th {
    background: var(--bookaro-surface-alt);
}

.bookaro-compare-table th:nth-child(3),
.bookaro-compare-table td:nth-child(3) {
    background: #f0fdf4;
}

.bookaro-compare-table th:nth-child(2),
.bookaro-compare-table td:nth-child(2) {
    background: #f8fafc;
}

.bookaro-upgrade-cta {
    padding: 18px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, var(--bookaro-surface) 0%, var(--bookaro-surface-alt) 100%);
    border: 1px solid var(--bookaro-border);
    margin-bottom: 12px;
}

.bookaro-upgrade-cta__content h2 {
    margin: 0 0 6px;
    font-size: 18px;
}

.bookaro-upgrade-cta__actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
