/* ==========================================================================
   Vila Celeste — Administração
   Tokens, layout, componentes e páginas. Bootstrap 5.3 como base.
   ========================================================================== */

:root {
    --vc-bg: #F4F6F9;
    --vc-surface: #FFFFFF;
    --vc-surface-2: #F9FAFB;
    --vc-border: #E4E7EC;
    --vc-border-strong: #D0D5DD;
    --vc-text: #152030;
    --vc-text-2: #475467;
    --vc-muted: #7A8597;

    --vc-primary: #2C5D8F;
    --vc-primary-600: #234D78;
    --vc-primary-700: #1B3D60;
    --vc-primary-50: #EEF4FA;
    --vc-primary-100: #DAE7F3;

    --vc-success: #1E7F55;
    --vc-success-50: #E7F5EE;
    --vc-warning: #A86412;
    --vc-warning-50: #FDF3E1;
    --vc-danger: #C0392F;
    --vc-danger-50: #FCECEA;
    --vc-info: #2D6CA8;
    --vc-info-50: #E9F2FB;
    --vc-neutral: #5D6878;
    --vc-neutral-50: #EFF1F4;

    --vc-airbnb: #E5545D;
    --vc-airbnb-50: #FDECEE;
    --vc-booking: #1F4F9E;
    --vc-booking-50: #E7EEF9;
    --vc-direct: #198F78;
    --vc-direct-50: #E3F4F0;
    --vc-block: #8A94A3;
    --vc-block-50: #EEF0F3;

    --vc-radius: 14px;
    --vc-radius-sm: 9px;
    --vc-shadow-sm: 0 1px 2px rgba(16, 24, 40, .04), 0 1px 3px rgba(16, 24, 40, .05);
    --vc-shadow: 0 12px 32px -12px rgba(16, 24, 40, .18);
    --vc-sidebar-w: 268px;
    --vc-font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --vc-serif: 'Fraunces', Georgia, serif;

    --bs-body-font-family: var(--vc-font);
    --bs-body-color: var(--vc-text);
    --bs-body-bg: var(--vc-bg);
    --bs-border-color: var(--vc-border);
    --bs-primary: var(--vc-primary);
    --bs-primary-rgb: 44, 93, 143;
    --bs-link-color: var(--vc-primary);
    --bs-link-color-rgb: 44, 93, 143;
    --bs-link-hover-color: var(--vc-primary-700);
    --bs-link-hover-color-rgb: 27, 61, 96;
    --bs-border-radius: var(--vc-radius-sm);
    --bs-focus-ring-color: rgba(44, 93, 143, .22);
}

/* ---------- Base ---------- */
body {
    font-size: .9rem;
    background: var(--vc-bg);
    color: var(--vc-text);
    -webkit-font-smoothing: antialiased;
    letter-spacing: -.003em;
}
a { text-decoration: none; }
h1, h2, h3, h4 { letter-spacing: -.015em; }
.text-muted-2 { color: var(--vc-muted) !important; }
.min-w-0 { min-width: 0; }
.num, .vc-table td.num { font-variant-numeric: tabular-nums; }
.vc-table td.num { white-space: nowrap; }
.vc-mono { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: .86em; letter-spacing: .01em; }
.vc-skip { position: absolute; z-index: 2000; top: 8px; left: 8px; background: #fff; padding: 8px 12px; border-radius: 8px; }
::selection { background: var(--vc-primary-100); }

/* ---------- Bootstrap overrides ---------- */
.btn {
    --bs-btn-font-weight: 600;
    --bs-btn-font-size: .86rem;
    --bs-btn-padding-x: .95rem;
    --bs-btn-padding-y: .5rem;
    --bs-btn-border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
    white-space: nowrap;
    transition: background-color .15s, border-color .15s, box-shadow .15s, transform .05s;
}
.btn:active { transform: translateY(1px); }
.btn-sm { --bs-btn-padding-x: .7rem; --bs-btn-padding-y: .32rem; --bs-btn-font-size: .8rem; --bs-btn-border-radius: 8px; }
.btn-lg { --bs-btn-padding-y: .75rem; --bs-btn-font-size: 1rem; --bs-btn-border-radius: 12px; }
.btn-primary {
    --bs-btn-bg: var(--vc-primary); --bs-btn-border-color: var(--vc-primary);
    --bs-btn-hover-bg: var(--vc-primary-600); --bs-btn-hover-border-color: var(--vc-primary-600);
    --bs-btn-active-bg: var(--vc-primary-700); --bs-btn-active-border-color: var(--vc-primary-700);
    --bs-btn-disabled-bg: var(--vc-primary); --bs-btn-disabled-border-color: var(--vc-primary);
    box-shadow: 0 1px 2px rgba(16, 24, 40, .08), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.btn-light {
    --bs-btn-bg: #fff; --bs-btn-border-color: var(--vc-border-strong); --bs-btn-color: var(--vc-text);
    --bs-btn-hover-bg: var(--vc-surface-2); --bs-btn-hover-border-color: #BAC1CC;
    --bs-btn-active-bg: var(--vc-neutral-50); --bs-btn-active-border-color: #BAC1CC;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}
.btn-success { --bs-btn-bg: var(--vc-success); --bs-btn-border-color: var(--vc-success); --bs-btn-hover-bg: #186a46; --bs-btn-hover-border-color: #186a46; }
.btn-danger { --bs-btn-bg: var(--vc-danger); --bs-btn-border-color: var(--vc-danger); --bs-btn-hover-bg: #a32f26; --bs-btn-hover-border-color: #a32f26; }
.btn-danger-soft { --bs-btn-bg: var(--vc-danger-50); --bs-btn-color: var(--vc-danger); --bs-btn-border-color: transparent; --bs-btn-hover-bg: #f8d9d6; --bs-btn-hover-color: var(--vc-danger); }
.btn-dark { --bs-btn-bg: #1d2939; --bs-btn-border-color: #1d2939; }
.btn .spinner-border { width: 1em; height: 1em; border-width: .15em; }

.form-control, .form-select {
    background-color: #fff;
    border-color: var(--vc-border-strong);
    border-radius: 10px;
    font-size: .88rem;
    padding: .55rem .8rem;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .03);
}
.form-select { padding-right: 2.2rem; }
.form-control:focus, .form-select:focus { border-color: var(--vc-primary); box-shadow: 0 0 0 4px rgba(44, 93, 143, .12); }
.form-control-lg { font-size: 1rem; padding: .7rem .9rem; border-radius: 12px; }
.form-control[readonly], .form-control:disabled, .form-select:disabled { background-color: var(--vc-surface-2); }
.form-label { font-weight: 600; font-size: .8rem; color: var(--vc-text-2); margin-bottom: .35rem; }
.form-text { color: var(--vc-muted); font-size: .76rem; }
.form-check-input { border-color: var(--vc-border-strong); }
.form-check-input:checked { background-color: var(--vc-primary); border-color: var(--vc-primary); }
.form-check-input:focus { box-shadow: 0 0 0 4px rgba(44, 93, 143, .12); border-color: var(--vc-primary); }
.form-switch .form-check-input { width: 2.3em; height: 1.25em; cursor: pointer; }
.input-group-text { background: var(--vc-surface-2); border-color: var(--vc-border-strong); color: var(--vc-muted); font-size: .85rem; }
.input-group > .btn-light { border-color: var(--vc-border-strong); }

.dropdown-menu {
    --bs-dropdown-border-color: var(--vc-border);
    --bs-dropdown-border-radius: 12px;
    --bs-dropdown-font-size: .86rem;
    --bs-dropdown-link-active-bg: var(--vc-primary-50);
    --bs-dropdown-link-active-color: var(--vc-primary);
    box-shadow: var(--vc-shadow);
    padding: .35rem;
}
.dropdown-item { border-radius: 8px; padding: .45rem .7rem; display: flex; align-items: center; gap: .55rem; }
.dropdown-item i { color: var(--vc-muted); width: 1rem; }
.dropdown-item.text-danger i { color: inherit; }

.modal { --bs-modal-border-radius: 18px; --bs-modal-border-color: transparent; --bs-modal-header-padding: 1.25rem 1.5rem; --bs-modal-padding: 1.25rem 1.5rem; }
.modal-content { box-shadow: 0 24px 64px -16px rgba(16, 24, 40, .35); }
.modal-header { border-bottom: 1px solid var(--vc-border); align-items: flex-start; }
.modal-footer { border-top: 1px solid var(--vc-border); padding: .9rem 1.5rem; gap: .5rem; }
.modal-footer > * { margin: 0; }
.modal-title { font-size: 1.08rem; font-weight: 700; margin: 0; }
.modal-sub { margin: .15rem 0 0; color: var(--vc-muted); font-size: .82rem; }
.modal-backdrop { --bs-backdrop-bg: #101828; --bs-backdrop-opacity: .45; }

.offcanvas.vc-offcanvas { --bs-offcanvas-width: 420px; --bs-offcanvas-bg: #fff; border-left: 1px solid var(--vc-border); }
.vc-offcanvas .offcanvas-header { border-bottom: 1px solid var(--vc-border); align-items: flex-start; padding: 1.25rem 1.5rem; }
.vc-offcanvas .offcanvas-title { font-size: 1.15rem; font-weight: 700; }
.vc-offcanvas .offcanvas-body { padding: 1.5rem; }
.offcanvas-footer { padding: 1rem 1.5rem; border-top: 1px solid var(--vc-border); }

.progress.vc-progress { height: 6px; background: var(--vc-neutral-50); border-radius: 99px; }
.progress.vc-progress .progress-bar { background: var(--vc-primary); border-radius: 99px; }
.progress.vc-progress .progress-bar.bg-success { background: var(--vc-success) !important; }

.toast { border: 0; border-radius: 12px; box-shadow: var(--vc-shadow); font-size: .86rem; }
.vc-toast { display: flex; align-items: center; gap: .7rem; padding: .8rem 1rem; background: #1d2939; color: #fff; }
.vc-toast i { font-size: 1.05rem; }
.vc-toast.tone-success i { color: #6ce0a7; }
.vc-toast.tone-danger i { color: #ff9b91; }
.vc-toast.tone-info i { color: #9cc7f0; }
.vc-toast .btn-close { margin-left: auto; filter: invert(1); opacity: .6; font-size: .7rem; }

/* ---------- Layout ---------- */
.vc-app { min-height: 100vh; }
.vc-main { min-width: 0; display: flex; flex-direction: column; min-height: 100vh; }
@media (min-width: 992px) {
    .vc-main { margin-left: var(--vc-sidebar-w); }
}
.vc-content { padding: 1.5rem; flex: 1; max-width: 1600px; width: 100%; }
@media (min-width: 1200px) { .vc-content { padding: 1.75rem 2rem 3rem; } }
@media (max-width: 575.98px) { .vc-content { padding: 1rem; } }

/* Sidebar */
.vc-sidebar {
    background: var(--vc-surface);
    border-right: 1px solid var(--vc-border);
    display: flex; flex-direction: column;
}
@media (min-width: 992px) {
    .vc-sidebar { position: fixed; inset: 0 auto 0 0; width: var(--vc-sidebar-w); z-index: 1030; }
}
@media (max-width: 991.98px) {
    .vc-sidebar.offcanvas-lg { --bs-offcanvas-width: 290px; }
}
.vc-sidebar-head { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 1.25rem 1rem; }
.vc-brand { display: flex; align-items: center; gap: .7rem; color: var(--vc-text); }
.vc-brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.vc-brand-name { font-family: var(--vc-serif); font-weight: 600; font-size: 1.12rem; letter-spacing: -.01em; }
.vc-brand-sub { font-size: .7rem; color: var(--vc-muted); letter-spacing: .04em; text-transform: uppercase; font-weight: 600; }
.vc-logo-mark { flex-shrink: 0; display: block; }

.vc-nav { flex: 1; overflow-y: auto; padding: .25rem .75rem 1rem; }
.vc-nav-group { margin-top: .9rem; }
.vc-nav-label { font-size: .67rem; font-weight: 700; color: var(--vc-muted); text-transform: uppercase; letter-spacing: .08em; padding: 0 .75rem .35rem; }
.vc-nav-link {
    display: flex; align-items: center; gap: .7rem;
    padding: .52rem .75rem; margin-bottom: 2px;
    border-radius: 9px;
    color: var(--vc-text-2); font-weight: 600; font-size: .87rem;
    transition: background-color .15s, color .15s;
}
.vc-nav-link i { font-size: 1.05rem; color: var(--vc-muted); transition: color .15s; }
.vc-nav-link:hover { background: var(--vc-surface-2); color: var(--vc-text); }
.vc-nav-link.active { background: var(--vc-primary-50); color: var(--vc-primary-700); }
.vc-nav-link.active i { color: var(--vc-primary); }
.vc-nav-badge { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; font-size: .7rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.vc-nav-badge.tone-warning { background: var(--vc-warning-50); color: var(--vc-warning); }
.vc-nav-badge.tone-danger { background: var(--vc-danger); color: #fff; }

.vc-sidebar-foot { border-top: 1px solid var(--vc-border); padding: .75rem; }
.vc-user { display: flex; align-items: center; gap: .65rem; padding: .6rem .5rem 0; margin-top: .5rem; border-top: 1px solid var(--vc-border); }
.vc-user-text { flex: 1; min-width: 0; line-height: 1.2; }
.vc-user-name { font-weight: 700; font-size: .84rem; }
.vc-user-mail { font-size: .74rem; color: var(--vc-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Topbar */
.vc-topbar {
    position: sticky; top: 0; z-index: 1020;
    display: flex; align-items: center; gap: 1rem;
    padding: .9rem 1.5rem;
    background: rgba(244, 246, 249, .86);
    backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s, background-color .2s;
}
.vc-topbar.is-scrolled { border-bottom-color: var(--vc-border); background: rgba(255, 255, 255, .9); }
@media (min-width: 1200px) { .vc-topbar { padding: 1.1rem 2rem; } }
@media (max-width: 575.98px) { .vc-topbar { padding: .75rem 1rem; gap: .6rem; } }
.vc-topbar-title { flex: 1; min-width: 0; }
.vc-topbar-title h1 { font-size: 1.35rem; font-weight: 700; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vc-topbar-title p { margin: .1rem 0 0; color: var(--vc-muted); font-size: .83rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 575.98px) { .vc-topbar-title h1 { font-size: 1.1rem; } .vc-topbar-title p { display: none; } }
.vc-back { display: inline-flex; align-items: center; gap: .3rem; font-size: .78rem; font-weight: 600; color: var(--vc-muted); margin-bottom: .1rem; }
.vc-back:hover { color: var(--vc-primary); }
.vc-topbar-actions, .vc-page-actions { display: flex; align-items: center; gap: .5rem; }
.vc-page-actions { margin-right: .25rem; }

.vc-icon-btn {
    width: 38px; height: 38px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 10px; border: 1px solid var(--vc-border-strong);
    background: #fff; color: var(--vc-text-2); font-size: 1.05rem;
    transition: background-color .15s, color .15s;
}
.vc-icon-btn:hover { background: var(--vc-surface-2); color: var(--vc-text); }
.vc-icon-btn.sm { width: 30px; height: 30px; font-size: .9rem; border-radius: 8px; border-color: transparent; background: transparent; }
.vc-icon-btn.sm:hover { background: var(--vc-neutral-50); }
.vc-sidebar .vc-icon-btn { border-color: transparent; width: 32px; height: 32px; }
.vc-ping { position: absolute; top: 8px; right: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--vc-danger); box-shadow: 0 0 0 2px #fff; }

.vc-notif { width: 340px; padding: 0; overflow: hidden; }
.vc-notif-head { display: flex; justify-content: space-between; align-items: center; padding: .85rem 1rem; border-bottom: 1px solid var(--vc-border); }
.vc-notif-item { display: flex; gap: .7rem; padding: .7rem 1rem; color: var(--vc-text); font-size: .84rem; border-bottom: 1px solid var(--vc-border); }
.vc-notif-item:hover { background: var(--vc-surface-2); }
.vc-notif-icon { width: 30px; height: 30px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.vc-notif-foot { display: block; text-align: center; padding: .65rem; font-weight: 600; font-size: .82rem; }

/* ---------- Tones (partilhados) ---------- */
.tone-success { --tone: var(--vc-success); --tone-50: var(--vc-success-50); }
.tone-warning { --tone: var(--vc-warning); --tone-50: var(--vc-warning-50); }
.tone-danger { --tone: var(--vc-danger); --tone-50: var(--vc-danger-50); }
.tone-info { --tone: var(--vc-info); --tone-50: var(--vc-info-50); }
.tone-neutral { --tone: var(--vc-neutral); --tone-50: var(--vc-neutral-50); }
.tone-primary { --tone: var(--vc-primary); --tone-50: var(--vc-primary-50); }
.vc-notif-icon, .vc-action-icon, .vc-status-icon, .vc-kpi-icon, .vc-pipeline-icon { background: var(--tone-50); color: var(--tone); }

/* ---------- Badges / tags / chips ---------- */
.vc-badge {
    display: inline-flex; align-items: center; gap: .38rem;
    padding: .2rem .55rem .2rem .5rem;
    border-radius: 99px; font-size: .74rem; font-weight: 650; line-height: 1.35;
    background: var(--tone-50); color: var(--tone);
    white-space: nowrap;
}
.vc-badge i { font-size: .8rem; }
.vc-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.vc-tag { display: inline-flex; align-items: center; gap: .3rem; padding: .12rem .5rem; border-radius: 6px; background: var(--vc-neutral-50); color: var(--vc-text-2); font-size: .72rem; font-weight: 600; white-space: nowrap; }
.vc-tag.is-link:hover { background: var(--vc-primary-50); color: var(--vc-primary); }
.vc-chip { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .7rem; border-radius: 99px; background: #fff; border: 1px solid var(--vc-border); font-size: .78rem; font-weight: 600; color: var(--tone); }

.vc-platform { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 600; color: var(--vc-text-2); white-space: nowrap; }
.vc-platform-mark { width: 9px; height: 9px; border-radius: 3px; background: var(--pc, var(--vc-block)); flex-shrink: 0; }
.is-airbnb { --pc: var(--vc-airbnb); --pc-50: var(--vc-airbnb-50); }
.is-booking { --pc: var(--vc-booking); --pc-50: var(--vc-booking-50); }
.is-direct { --pc: var(--vc-direct); --pc-50: var(--vc-direct-50); }
.is-block { --pc: var(--vc-block); --pc-50: var(--vc-block-50); }

.vc-avatar {
    --h: 210;
    width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: hsl(var(--h) 45% 93%); color: hsl(var(--h) 40% 32%);
    font-size: .76rem; font-weight: 700; letter-spacing: .02em;
}
.vc-avatar.sm { width: 28px; height: 28px; font-size: .66rem; }
.vc-avatar.lg { width: 52px; height: 52px; font-size: 1rem; }

/* ---------- Cards ---------- */
.vc-card {
    background: var(--vc-surface);
    border: 1px solid var(--vc-border);
    border-radius: var(--vc-radius);
    box-shadow: var(--vc-shadow-sm);
    padding: 1.25rem;
}
@media (min-width: 768px) { .vc-card { padding: 1.4rem 1.5rem; } }
.vc-card-flush { padding: 0 !important; overflow: hidden; }
.vc-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; }
.vc-card-head h3 { font-size: .98rem; font-weight: 700; margin: 0; display: flex; align-items: center; gap: .45rem; }
.vc-card-head p { margin: .2rem 0 0; color: var(--vc-muted); font-size: .8rem; }
.vc-card-foot { display: flex; align-items: center; justify-content: center; gap: .35rem; margin: 1rem -1.5rem -1.4rem; padding: .8rem; border-top: 1px solid var(--vc-border); font-weight: 600; font-size: .82rem; }
.vc-card-future { background: linear-gradient(135deg, #fff 0%, var(--vc-primary-50) 100%); border-style: dashed; border-color: var(--vc-primary-100); }
.vc-count { min-width: 28px; height: 28px; border-radius: 8px; background: var(--vc-neutral-50); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: .82rem; }
.vc-link { font-weight: 600; font-size: .82rem; }
.vc-divider { height: 1px; background: var(--vc-border); margin: 1.1rem 0; }

/* KPIs */
.vc-kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.vc-kpi-grid.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1199.98px) { .vc-kpi-grid, .vc-kpi-grid.five { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .vc-kpi-grid, .vc-kpi-grid.five { grid-template-columns: 1fr; } }
.vc-kpi {
    display: flex; gap: .9rem; align-items: flex-start;
    background: var(--vc-surface); border: 1px solid var(--vc-border); border-radius: var(--vc-radius);
    padding: 1.1rem 1.15rem; box-shadow: var(--vc-shadow-sm); color: var(--vc-text);
    transition: border-color .15s, transform .15s;
}
a.vc-kpi:hover { border-color: var(--vc-border-strong); transform: translateY(-1px); }
.vc-kpi-icon { width: 40px; height: 40px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.vc-kpi-body { min-width: 0; }
.vc-kpi-label { font-size: .78rem; font-weight: 600; color: var(--vc-muted); }
.vc-kpi-value { font-size: 1.45rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; font-variant-numeric: tabular-nums; }
.vc-kpi-meta { font-size: .76rem; color: var(--vc-muted); margin-top: .1rem; }

/* Callouts / banners */
.vc-callout { display: flex; gap: .7rem; padding: .85rem 1rem; border-radius: 12px; background: var(--tone-50); color: var(--vc-text); font-size: .84rem; line-height: 1.5; }
.vc-callout > i { color: var(--tone); font-size: 1rem; margin-top: .05rem; }
.vc-banner { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border-radius: var(--vc-radius); background: var(--tone-50); border: 1px solid color-mix(in srgb, var(--tone) 20%, transparent); margin-bottom: 1.5rem; font-size: .86rem; flex-wrap: wrap; }
.vc-banner > i { font-size: 1.35rem; color: var(--tone); }
.vc-banner strong { display: block; font-size: .92rem; }
.vc-banner-actions { display: flex; gap: .5rem; margin-left: auto; }
.vc-note { display: flex; gap: .5rem; background: var(--vc-surface-2); border: 1px solid var(--vc-border); border-radius: 10px; padding: .7rem .85rem; font-size: .84rem; color: var(--vc-text-2); }

/* Empty state */
.vc-empty { text-align: center; padding: 2rem 1rem; }
.vc-empty-icon { width: 52px; height: 52px; margin: 0 auto .8rem; border-radius: 14px; background: var(--vc-neutral-50); color: var(--vc-muted); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; }
.vc-empty-title { font-weight: 700; }
.vc-empty-text { color: var(--vc-muted); font-size: .84rem; margin-top: .2rem; }

/* Definition list */
.vc-dl { margin: 0; display: grid; gap: .1rem; }
.vc-dl > div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px dashed var(--vc-border); }
.vc-dl > div:last-child { border-bottom: 0; }
.vc-dl dt { font-weight: 500; color: var(--vc-muted); font-size: .83rem; }
.vc-dl dd { margin: 0; text-align: right; font-weight: 600; font-size: .85rem; word-break: break-word; }
@media (min-width: 768px) {
    .vc-dl.cols-2 { grid-template-columns: 1fr 1fr; column-gap: 2rem; }
    .vc-dl.cols-2 > div:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
}

/* Breakdown table */
.vc-breakdown { width: 100%; font-size: .86rem; }
.vc-breakdown td { padding: .55rem 0; border-bottom: 1px solid var(--vc-border); }
.vc-breakdown td:last-child { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; padding-left: 1rem; }
.vc-breakdown tr.is-total td { font-weight: 700; font-size: .95rem; border-bottom: 2px solid var(--vc-text); }
.vc-breakdown tr.is-diff td { color: var(--vc-danger); font-weight: 700; }
.vc-breakdown tr:last-child td { border-bottom: 0; }

.vc-summary-box { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; background: var(--vc-surface-2); border: 1px solid var(--vc-border); border-radius: 12px; padding: .85rem; }
.vc-summary-box > div { display: flex; flex-direction: column; min-width: 0; }
.vc-summary-box span { font-size: .72rem; color: var(--vc-muted); font-weight: 600; }
.vc-summary-box strong { font-size: .86rem; overflow-wrap: anywhere; }
@media (max-width: 575.98px) { .vc-summary-box { grid-template-columns: 1fr; } }
.vc-check-list { display: grid; gap: .55rem; }
.vc-readout { padding: .55rem .8rem; background: var(--vc-surface-2); border: 1px solid var(--vc-border); border-radius: 10px; font-weight: 700; }
.vc-fieldset { border: 0; padding: 0; margin: 0 0 1.4rem; }
.vc-fieldset:last-child { margin-bottom: 0; }
.vc-fieldset legend { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--vc-muted); margin-bottom: .8rem; padding-bottom: .5rem; border-bottom: 1px solid var(--vc-border); width: 100%; display: flex; align-items: center; gap: .4rem; }
.vc-form-actions { display: flex; justify-content: flex-end; gap: .5rem; padding-top: 1.1rem; margin-top: 1.4rem; border-top: 1px solid var(--vc-border); }
.vc-section-title { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--vc-muted); margin-bottom: .5rem; }

/* Segmented control */
.vc-segmented { display: inline-flex; background: var(--vc-neutral-50); border-radius: 10px; padding: 3px; gap: 2px; }
.vc-segmented label { flex: 1; text-align: center; padding: .4rem .8rem; border-radius: 8px; font-size: .82rem; font-weight: 600; color: var(--vc-text-2); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: .35rem; transition: background-color .15s; }
.vc-segmented .btn-check:checked + label { background: #fff; color: var(--vc-text); box-shadow: 0 1px 3px rgba(16, 24, 40, .12); }
.vc-segmented .btn-check:focus-visible + label { outline: 2px solid var(--vc-primary); }
.vc-segmented.big label { padding: .6rem 1.2rem; }

/* ---------- Tables ---------- */
.vc-table { --bs-table-bg: transparent; font-size: .85rem; margin: 0; }
.vc-table > thead th {
    background: var(--vc-surface-2); color: var(--vc-muted);
    font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
    padding: .7rem .85rem; border-bottom: 1px solid var(--vc-border); white-space: nowrap;
}
.vc-table > tbody td { padding: .8rem .85rem; border-bottom: 1px solid var(--vc-border); color: var(--vc-text); }
.vc-table > tbody tr:last-child td { border-bottom: 0; }
.vc-table > tbody tr[data-href] { cursor: pointer; }
.vc-table > tbody tr[data-row]:hover td { background: #FAFBFD; }
.vc-table tr.is-muted td { opacity: .58; }
.vc-table tr.is-past td { background: #FCFCFD; }
.vc-table th:first-child, .vc-table td:first-child { padding-left: 1.4rem; }
.vc-table th:last-child, .vc-table td:last-child { padding-right: 1.4rem; }
.vc-ref { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: .8rem; font-weight: 600; color: var(--vc-primary); white-space: nowrap; }
.vc-table-foot { padding: .8rem 1.4rem; border-top: 1px solid var(--vc-border); color: var(--vc-muted); font-size: .8rem; background: var(--vc-surface-2); }
.vc-empty-row td { background: #fff !important; cursor: default; }

.vc-table-matrix td:first-child { font-weight: 500; color: var(--vc-text-2); }
.vc-table-matrix tr.is-strong td { font-weight: 700; color: var(--vc-text); }
.vc-table-matrix tr.is-highlight td { background: var(--vc-primary-50); }

/* Filters */
.vc-filters { display: flex; flex-wrap: wrap; gap: .6rem; padding: 1rem 1.4rem; border-bottom: 1px solid var(--vc-border); align-items: center; }
.vc-filters .form-select { width: auto; min-width: 160px; }
@media (max-width: 767.98px) { .vc-filters .form-select { flex: 1 1 45%; min-width: 0; } }
.vc-filters-card { padding: .9rem 1rem !important; }
.vc-search { position: relative; flex: 1 1 240px; min-width: 200px; }
.vc-search i { position: absolute; left: .8rem; top: 50%; transform: translateY(-50%); color: var(--vc-muted); pointer-events: none; }
.vc-search .form-control { padding-left: 2.3rem; }
.vc-date-range { display: flex; align-items: center; gap: .35rem; color: var(--vc-muted); }
.vc-date-range .form-control { width: 150px; }
@media (max-width: 575.98px) { .vc-date-range { flex: 1 1 100%; min-width: 0; } .vc-date-range .form-control { width: auto; flex: 1; min-width: 0; } }

.vc-tabs-bar { padding: .75rem 1.4rem; border-bottom: 1px solid var(--vc-border); overflow-x: auto; }
.vc-pill-tabs { display: flex; gap: .3rem; white-space: nowrap; }
.vc-pill-tab { border: 0; background: transparent; padding: .4rem .75rem; border-radius: 8px; font-weight: 600; font-size: .83rem; color: var(--vc-text-2); display: inline-flex; align-items: center; gap: .4rem; }
.vc-pill-tab span { background: var(--vc-neutral-50); color: var(--vc-muted); font-size: .7rem; padding: .05rem .4rem; border-radius: 99px; }
.vc-pill-tab:hover { background: var(--vc-surface-2); }
.vc-pill-tab.active { background: var(--vc-primary-50); color: var(--vc-primary-700); }
.vc-pill-tab.active span { background: #fff; color: var(--vc-primary); }

/* Tabs (underline) */
.vc-tabs-wrap { border-bottom: 1px solid var(--vc-border); margin-bottom: 1.5rem; overflow-x: auto; scrollbar-width: none; }
.vc-tabs-wrap::-webkit-scrollbar { display: none; }
.vc-tabs { flex-wrap: nowrap; gap: .25rem; }
.vc-tabs .nav-link { border: 0; border-bottom: 2px solid transparent; border-radius: 0; color: var(--vc-muted); font-weight: 600; font-size: .87rem; padding: .7rem .85rem; white-space: nowrap; display: inline-flex; align-items: center; gap: .4rem; background: none; }
.vc-tabs .nav-link:hover { color: var(--vc-text); }
.vc-tabs .nav-link.active { color: var(--vc-primary); border-bottom-color: var(--vc-primary); }
.vc-tab-count { font-size: .7rem; background: var(--vc-neutral-50); color: var(--vc-muted); padding: .05rem .4rem; border-radius: 99px; }
.vc-tab-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--tone); }

/* Timeline */
.vc-timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.vc-timeline li { display: flex; gap: .9rem; position: relative; padding-bottom: 1.2rem; }
.vc-timeline li:not(:last-child)::before { content: ''; position: absolute; left: 15px; top: 34px; bottom: 2px; width: 2px; background: var(--vc-border); }
.vc-timeline-icon { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--tone-50); color: var(--tone); flex-shrink: 0; font-size: .9rem; }
.vc-timeline-title { font-weight: 600; font-size: .86rem; }
.vc-timeline-text { color: var(--vc-text-2); font-size: .82rem; margin-top: .1rem; }
.vc-timeline-time { color: var(--vc-muted); font-size: .75rem; margin-top: .2rem; }

/* Stepper */
.vc-stepper { list-style: none; display: flex; margin: 0; padding: 0; gap: .25rem; counter-reset: s; }
.vc-stepper li { flex: 1; display: flex; flex-direction: column; align-items: center; gap: .4rem; font-size: .76rem; font-weight: 600; color: var(--vc-muted); position: relative; text-align: center; }
.vc-stepper li::after { content: ''; position: absolute; top: 14px; left: calc(50% + 18px); right: calc(-50% + 18px); height: 2px; background: var(--vc-border); }
.vc-stepper li:last-child::after { display: none; }
.vc-stepper li span { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #fff; border: 2px solid var(--vc-border); font-size: .78rem; z-index: 1; transition: all .25s; }
.vc-stepper li.is-done { color: var(--vc-text-2); }
.vc-stepper li.is-done span { background: var(--vc-success); border-color: var(--vc-success); color: #fff; }
.vc-stepper li.is-done::after { background: var(--vc-success); }
.vc-stepper li.is-current { color: var(--vc-primary); }
.vc-stepper li.is-current span { border-color: var(--vc-primary); color: var(--vc-primary); box-shadow: 0 0 0 4px var(--vc-primary-50); }

/* ---------- Dashboard ---------- */
.vc-hero { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.vc-hero-title { font-family: var(--vc-serif); font-weight: 500; font-size: 1.7rem; margin: 0; }
.vc-hero-text { margin: .2rem 0 0; color: var(--vc-text-2); }
.vc-hero-chips { display: flex; gap: .5rem; flex-wrap: wrap; }

.vc-actions-list { list-style: none; margin: 0 -1.5rem -1.4rem; padding: 0; }
.vc-action { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: .9rem; padding: .85rem 1.5rem; border-top: 1px solid var(--vc-border); position: relative; }
.vc-action::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--tone); opacity: 0; }
.vc-action.tone-danger::before { opacity: 1; }
.vc-action-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.vc-action-title { font-weight: 650; font-size: .87rem; }
.vc-action-text { color: var(--vc-muted); font-size: .8rem; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.vc-action-meta { font-size: .76rem; color: var(--tone); font-weight: 600; white-space: nowrap; }
.vc-action-btns { display: flex; gap: .4rem; justify-content: flex-end; }
@media (max-width: 767.98px) {
    .vc-action { grid-template-columns: auto 1fr; padding: .85rem 1.25rem; }
    .vc-action-meta { grid-column: 2; }
    .vc-action-btns { grid-column: 2; justify-content: flex-start; }
    .vc-actions-list { margin: 0 -1.25rem -1.25rem; }
}

.vc-mini-cal { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 4px; }
.vc-mini-wd { text-align: center; font-size: .68rem; font-weight: 700; color: var(--vc-muted); padding-bottom: .3rem; }
.vc-mini-day { height: 34px; display: flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 600; color: var(--vc-text); position: relative; }
.vc-mini-day span { position: relative; z-index: 1; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.vc-mini-day.is-out { color: #C4CAD4; }
.vc-mini-day[class*="is-airbnb"], .vc-mini-day[class*="is-booking"], .vc-mini-day[class*="is-direct"], .vc-mini-day[class*="is-block"] { background: var(--pc-50); color: var(--pc); }
.vc-mini-day.is-start { border-top-left-radius: 99px; border-bottom-left-radius: 99px; margin-left: 3px; }
.vc-mini-day.is-end { border-top-right-radius: 99px; border-bottom-right-radius: 99px; margin-right: 3px; }
.vc-mini-day.is-request { background: repeating-linear-gradient(-45deg, var(--pc-50), var(--pc-50) 4px, #fff 4px, #fff 7px); }
.vc-mini-day.is-block { background: repeating-linear-gradient(-45deg, var(--vc-block-50), var(--vc-block-50) 4px, #fff 4px, #fff 7px); }
.vc-mini-day.is-today span { background: var(--vc-text); color: #fff; }
.vc-legend { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .75rem; color: var(--vc-muted); font-weight: 600; }
.vc-legend span { display: inline-flex; align-items: center; gap: .35rem; }
.vc-legend i { width: 10px; height: 10px; border-radius: 3px; background: var(--pc); }
.vc-mini-list { display: grid; gap: .3rem; }
.vc-mini-item { display: flex; align-items: center; gap: .75rem; padding: .45rem; margin: 0 -.45rem; border-radius: 10px; color: var(--vc-text); }
.vc-mini-item:hover { background: var(--vc-surface-2); }
.vc-date-tile { width: 42px; height: 44px; border-radius: 10px; background: var(--vc-neutral-50); display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: .66rem; text-transform: uppercase; color: var(--vc-muted); font-weight: 700; line-height: 1.1; flex-shrink: 0; }
.vc-date-tile b { font-size: 1rem; color: var(--vc-text); }

.vc-list { display: flex; flex-direction: column; margin: 0 -1.5rem -1.4rem; }
.vc-list-row { display: flex; align-items: center; gap: .85rem; padding: .8rem 1.5rem; border-top: 1px solid var(--vc-border); color: var(--vc-text); }
a.vc-list-row:hover { background: var(--vc-surface-2); }
.vc-list-main { flex: 1; min-width: 0; }
@media (max-width: 767.98px) { .vc-list { margin: 0 -1.25rem -1.25rem; } .vc-list-row { padding: .8rem 1.25rem; } }

.vc-status-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 1199.98px) { .vc-status-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .vc-status-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.vc-status-tile { background: #fff; border: 1px solid var(--vc-border); border-radius: var(--vc-radius); padding: 1rem; display: flex; flex-direction: column; gap: .2rem; color: var(--vc-text); box-shadow: var(--vc-shadow-sm); transition: border-color .15s, transform .15s; }
.vc-status-tile:hover { border-color: var(--vc-border-strong); transform: translateY(-1px); }
.vc-status-icon { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: .4rem; }
.vc-status-num { font-size: 1.5rem; font-weight: 700; line-height: 1.1; }
.vc-status-label { font-size: .78rem; color: var(--vc-muted); font-weight: 600; }

.vc-chart { position: relative; height: 280px; }
.vc-task-mini { list-style: none; padding: 0; margin: 0; }
.vc-task-mini li { display: flex; align-items: center; gap: .75rem; padding: .65rem 0; border-bottom: 1px solid var(--vc-border); }
.vc-task-mini li:last-child { border-bottom: 0; }
.vc-task-mini .form-check-input { margin: 0; flex-shrink: 0; }
.vc-task-title { font-weight: 600; font-size: .85rem; }
.is-done .vc-task-title { text-decoration: line-through; color: var(--vc-muted); }

/* ---------- Calendário ---------- */
.vc-cal-toolbar { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: space-between; align-items: center; padding: 1rem 1.4rem; border-bottom: 1px solid var(--vc-border); }
.vc-filter-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.vc-chip-toggle { cursor: pointer; margin: 0; }
.vc-chip-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.vc-chip-toggle span { display: inline-flex; align-items: center; gap: .4rem; padding: .32rem .7rem; border-radius: 99px; border: 1px solid var(--vc-border-strong); font-size: .8rem; font-weight: 600; color: var(--vc-muted); transition: all .15s; }
.vc-chip-toggle span::before { content: ''; width: 9px; height: 9px; border-radius: 3px; background: var(--pc); opacity: .35; }
.vc-chip-toggle input:checked + span { background: var(--pc-50); border-color: transparent; color: var(--vc-text); }
.vc-chip-toggle input:checked + span::before { opacity: 1; }
.vc-chip-toggle input:focus-visible + span { outline: 2px solid var(--vc-primary); }

.vc-calendar { padding: 1rem 1.4rem 1.4rem; }
.vc-calendar .fc {
    --fc-border-color: var(--vc-border); --fc-today-bg-color: var(--vc-primary-50); --fc-page-bg-color: #fff;
    --fc-button-bg-color: #fff; --fc-button-border-color: var(--vc-border-strong); --fc-button-text-color: var(--vc-text);
    --fc-button-hover-bg-color: var(--vc-surface-2); --fc-button-hover-border-color: #BAC1CC;
    --fc-button-active-bg-color: var(--vc-primary-50); --fc-button-active-border-color: var(--vc-primary-100);
    --fc-neutral-bg-color: var(--vc-surface-2); --fc-list-event-hover-bg-color: var(--vc-surface-2);
    font-size: .82rem;
}
.vc-calendar .fc a { color: inherit; }
.vc-calendar .fc .fc-daygrid-day.fc-day-today { background: var(--vc-primary-50); }
.vc-calendar .fc .fc-button-primary:disabled { opacity: .5; }
.vc-calendar .fc .fc-button-primary:not(:disabled).fc-button-active { color: var(--vc-primary); }
.vc-calendar .fc .fc-list-day-cushion { background: var(--vc-surface-2); }
.vc-calendar .fc .fc-toolbar { flex-wrap: wrap; gap: .5rem; }
.vc-calendar .fc .fc-toolbar-title { font-size: 1.15rem; font-weight: 700; text-transform: capitalize; }
.vc-calendar .fc .fc-button { background: #fff; border: 1px solid var(--vc-border-strong); color: var(--vc-text); font-weight: 600; font-size: .8rem; padding: .38rem .75rem; border-radius: 9px; box-shadow: none; text-transform: capitalize; }
.vc-calendar .fc .fc-button:hover { background: var(--vc-surface-2); }
.vc-calendar .fc .fc-button-primary:not(:disabled).fc-button-active, .vc-calendar .fc .fc-button-primary:not(:disabled):active { background: var(--vc-primary-50); color: var(--vc-primary); border-color: var(--vc-primary-100); }
.vc-calendar .fc .fc-button:focus { box-shadow: 0 0 0 3px rgba(44, 93, 143, .15); }
.vc-calendar .fc .fc-button-group > .fc-button:not(:first-child) { margin-left: -1px; }
.vc-calendar .fc-theme-standard .fc-scrollgrid { border-radius: 12px; overflow: hidden; }
.vc-calendar .fc .fc-col-header-cell-cushion { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--vc-muted); font-weight: 700; padding: .55rem 0; }
.vc-calendar .fc .fc-daygrid-day-number { font-weight: 600; color: var(--vc-text-2); padding: .4rem .55rem; font-size: .8rem; }
.vc-calendar .fc .fc-day-other .fc-daygrid-day-number { color: #C4CAD4; }
.vc-calendar .fc .fc-day-today .fc-daygrid-day-number { background: var(--vc-text); color: #fff; border-radius: 99px; margin: .25rem; padding: .15rem .5rem; }
.vc-calendar .fc .fc-daygrid-day-frame { min-height: 96px; }
.vc-calendar .fc .fc-list-event:hover td { background: var(--vc-surface-2); }

.fc .ev { border: 0; border-radius: 7px; padding: 3px 7px; font-weight: 600; font-size: .76rem; cursor: pointer; background: var(--pc); color: #fff; margin-top: 2px; box-shadow: 0 1px 2px rgba(16, 24, 40, .1); }
.fc .ev .fc-event-main { color: inherit; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fc .ev-airbnb { --pc: var(--vc-airbnb); --pc-50: var(--vc-airbnb-50); }
.fc .ev-booking { --pc: var(--vc-booking); --pc-50: var(--vc-booking-50); }
.fc .ev-direct { --pc: var(--vc-direct); --pc-50: var(--vc-direct-50); }
.fc .ev-st-request { background: var(--pc-50); color: var(--pc); outline: 1.5px dashed var(--pc); outline-offset: -1.5px; box-shadow: none; }
.fc .ev-st-completed { background: var(--pc-50); color: var(--pc); box-shadow: none; }
.fc .ev-st-cancelled { background: #fff; color: var(--vc-muted); outline: 1px solid var(--vc-border-strong); outline-offset: -1px; text-decoration: line-through; box-shadow: none; }
.fc .ev-st-block, .fc .ev-block { background: repeating-linear-gradient(-45deg, #E3E7EC, #E3E7EC 5px, #F2F4F7 5px, #F2F4F7 10px); color: var(--vc-text-2); box-shadow: none; }
.fc .fc-list-event.ev { background: none; color: var(--vc-text); box-shadow: none; outline: 0; }

.vc-state-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.vc-state-legend li { display: flex; align-items: center; gap: .75rem; }
.vc-state-legend strong { display: block; font-size: .84rem; }
.vc-state-legend small { color: var(--vc-muted); font-size: .76rem; }
.vc-ev-sample { width: 38px; height: 18px; border-radius: 5px; flex-shrink: 0; --pc: var(--vc-booking); --pc-50: var(--vc-booking-50); background: var(--pc); }
.vc-ev-sample.ev-st-request { background: var(--pc-50); outline: 1.5px dashed var(--pc); outline-offset: -1.5px; }
.vc-ev-sample.ev-st-completed { background: var(--pc-50); }
.vc-ev-sample.ev-st-cancelled { background: #fff; outline: 1px solid var(--vc-border-strong); position: relative; }
.vc-ev-sample.ev-st-cancelled::after { content: ''; position: absolute; left: 6px; right: 6px; top: 50%; height: 1.5px; background: var(--vc-muted); }
.vc-ev-sample.ev-st-block { background: repeating-linear-gradient(-45deg, #DDE2E8, #DDE2E8 4px, #F2F4F7 4px, #F2F4F7 8px); }
.vc-sync-row { display: flex; align-items: center; gap: .75rem; padding: .75rem 0; border-bottom: 1px solid var(--vc-border); }
.vc-sync-row:last-of-type { border-bottom: 0; }

/* ---------- Reserva (detalhe) ---------- */
.vc-res-summary { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; background: #fff; border: 1px solid var(--vc-border); border-radius: var(--vc-radius); padding: 1.25rem 1.5rem; margin-bottom: 1rem; box-shadow: var(--vc-shadow-sm); }
.vc-res-person { display: flex; align-items: center; gap: 1rem; }
.vc-res-name { font-size: 1.2rem; font-weight: 700; }
.vc-res-facts { display: grid; grid-template-columns: repeat(5, auto); gap: 2rem; }
.vc-res-facts > div { display: flex; flex-direction: column; }
.vc-res-facts span { font-size: .72rem; color: var(--vc-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.vc-res-facts strong { font-size: 1rem; font-variant-numeric: tabular-nums; }
.vc-res-facts small { font-size: .74rem; color: var(--vc-muted); }
@media (max-width: 991.98px) { .vc-res-facts { grid-template-columns: repeat(3, 1fr); gap: 1rem 1.5rem; width: 100%; } }
@media (max-width: 575.98px) { .vc-res-facts { grid-template-columns: repeat(2, 1fr); } }

.vc-safe-mini { display: flex; gap: .9rem; align-items: center; padding: 1rem; border-radius: 12px; background: var(--vc-surface-2); border: 1px solid var(--vc-border); }
.vc-safe-mini > i { font-size: 1.6rem; color: var(--vc-primary); }

/* ---------- SIBA ---------- */
.vc-rules { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; font-size: .83rem; color: var(--vc-text-2); }
.vc-rules li { display: flex; gap: .6rem; }
.vc-rules i { color: var(--vc-primary); }

/* ---------- Taxa turística ---------- */
.vc-tax-head { display: grid; grid-template-columns: auto 1fr minmax(320px, 1.2fr); gap: 1.5rem 2rem; align-items: center; margin-bottom: 1rem; }
@media (max-width: 1199.98px) { .vc-tax-head { grid-template-columns: 1fr 1fr; } .vc-tax-head .vc-stepper { grid-column: 1 / -1; } }
@media (max-width: 575.98px) { .vc-tax-head { grid-template-columns: 1fr; } }
.vc-tax-meta { display: flex; gap: 1.75rem; flex-wrap: wrap; }
.vc-tax-meta > div { display: flex; flex-direction: column; }
.vc-tax-meta span { font-size: .72rem; color: var(--vc-muted); font-weight: 600; }
.vc-tax-meta strong { font-size: .95rem; }

.vc-official { padding: 0 !important; overflow: hidden; }
.vc-official-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: 1.25rem 1.5rem; background: linear-gradient(180deg, var(--vc-surface-2), #fff); border-bottom: 1px solid var(--vc-border); }
.vc-official-kicker { font-size: .7rem; font-weight: 700; color: var(--vc-primary); text-transform: uppercase; letter-spacing: .08em; }
.vc-official-head h3 { font-family: var(--vc-serif); font-size: 1.2rem; font-weight: 500; margin: .2rem 0 0; }
.vc-form-section { padding: .5rem 1.5rem 1rem; }
.vc-form-section + .vc-form-section { border-top: 1px solid var(--vc-border); }
.vc-form-section-title { font-size: .72rem; font-weight: 700; color: var(--vc-muted); text-transform: uppercase; letter-spacing: .07em; padding: .8rem 0 .4rem; }
.vc-form-line { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: .75rem; padding: .45rem 0; border-bottom: 1px dashed var(--vc-border); font-size: .86rem; }
.vc-form-line:last-child { border-bottom: 0; }
.vc-form-num { display: inline-flex; align-items: center; justify-content: center; height: 24px; min-width: 32px; padding: 0 .4rem; border-radius: 6px; background: var(--vc-neutral-50); font-size: .72rem; font-weight: 700; color: var(--vc-text-2); font-variant-numeric: tabular-nums; }
.vc-form-label small { color: var(--vc-muted); }
.vc-form-value { min-width: 120px; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; padding: .3rem .6rem; border: 1px solid var(--vc-border); border-radius: 7px; background: var(--vc-surface-2); }
.vc-form-line.is-sub { padding-left: 1.25rem; }
.vc-form-line.is-sub .vc-form-num { background: transparent; border: 1px solid var(--vc-border); }
.vc-form-line.is-sub .vc-form-label { color: var(--vc-text-2); }
.vc-form-line.is-strong .vc-form-label { font-weight: 700; }
.vc-form-line.is-strong .vc-form-value { background: var(--vc-primary-50); border-color: var(--vc-primary-100); color: var(--vc-primary-700); }
.vc-form-total { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: .75rem; padding: 1.1rem 1.5rem; background: var(--vc-primary-700); color: #fff; font-weight: 600; }
.vc-form-total .vc-form-num { background: rgba(255, 255, 255, .15); color: #fff; }
.vc-form-total strong { font-size: 1.35rem; font-variant-numeric: tabular-nums; }
@media (max-width: 575.98px) {
    .vc-form-line, .vc-form-total { grid-template-columns: 38px 1fr; }
    .vc-form-value { grid-column: 2; justify-self: start; min-width: 0; }
    .vc-form-total strong { grid-column: 2; }
}

/* ---------- Faturação ---------- */
.vc-pipeline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .75rem; margin-bottom: 1.5rem; }
@media (max-width: 991.98px) { .vc-pipeline { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .vc-pipeline { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.vc-pipeline-step { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: .75rem; align-items: center; text-align: left; background: #fff; border: 1px solid var(--vc-border); border-radius: var(--vc-radius); padding: .9rem 1rem; box-shadow: var(--vc-shadow-sm); transition: border-color .15s, box-shadow .15s; }
.vc-pipeline-step:hover { border-color: var(--vc-border-strong); }
.vc-pipeline-step.active { border-color: var(--tone); box-shadow: 0 0 0 3px var(--tone-50); }
.vc-pipeline-icon { grid-row: span 2; width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.vc-pipeline-num { font-size: 1.3rem; font-weight: 700; line-height: 1.1; }
.vc-pipeline-label { font-size: .76rem; color: var(--vc-muted); font-weight: 600; }
.vc-flow { margin: 0; padding-left: 1.1rem; display: grid; gap: .6rem; font-size: .82rem; color: var(--vc-text-2); }
.vc-flow strong { display: block; color: var(--vc-text); }

.vc-email { border: 1px solid var(--vc-border); border-radius: 12px; overflow: hidden; }
.vc-email-head { background: var(--vc-surface-2); padding: .8rem 1rem; border-bottom: 1px solid var(--vc-border); font-size: .82rem; display: grid; gap: .25rem; }
.vc-email-head span { display: inline-block; width: 64px; color: var(--vc-muted); font-weight: 600; }
.vc-email-body { padding: 1.1rem 1.2rem; font-size: .86rem; line-height: 1.6; color: var(--vc-text-2); }
.vc-email-body table { width: 100%; margin: .5rem 0 1rem; font-size: .84rem; }
.vc-email-body td { padding: .35rem 0; border-bottom: 1px solid var(--vc-border); vertical-align: top; }
.vc-email-body td:first-child { color: var(--vc-muted); width: 34%; padding-right: 1rem; }
.vc-file { display: flex; align-items: center; gap: .85rem; padding: .85rem 1rem; border: 1px solid var(--vc-border); border-radius: 12px; }
.vc-file > i { font-size: 1.6rem; color: var(--vc-danger); }
.vc-dropzone { display: flex; flex-direction: column; align-items: center; gap: .25rem; padding: 1.5rem; border: 1.5px dashed var(--vc-border-strong); border-radius: 12px; cursor: pointer; text-align: center; color: var(--vc-text-2); transition: border-color .15s, background-color .15s; }
.vc-dropzone:hover, .vc-dropzone.is-over { border-color: var(--vc-primary); background: var(--vc-primary-50); }
.vc-dropzone i { font-size: 1.6rem; color: var(--vc-primary); }
.vc-dropzone span { font-size: .76rem; color: var(--vc-muted); }

/* ---------- Recebimentos (modal) ---------- */
.vc-diff { display: flex; align-items: center; gap: .55rem; padding: .65rem .85rem; border-radius: 10px; font-size: .84rem; font-weight: 600; background: var(--vc-success-50); color: var(--vc-success); transition: background-color .2s, color .2s; }
.vc-diff.is-off { background: var(--vc-warning-50); color: var(--vc-warning); }
.vc-diff.is-empty { background: var(--vc-neutral-50); color: var(--vc-muted); }

/* ---------- Tarefas ---------- */
.vc-task-group { margin-bottom: 1.75rem; }
.vc-group-title { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--tone); margin-bottom: .7rem; display: flex; align-items: center; gap: .5rem; }
.vc-group-title span { background: var(--tone-50); padding: .05rem .5rem; border-radius: 99px; font-size: .72rem; }
.vc-task-list { display: grid; gap: .6rem; }
.vc-task { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border: 1px solid var(--vc-border); border-radius: var(--vc-radius); padding: 1rem 1.15rem; box-shadow: var(--vc-shadow-sm); transition: opacity .2s, border-color .15s; }
.vc-task:hover { border-color: var(--vc-border-strong); }
.vc-task-check { width: 1.25em; height: 1.25em; margin-top: .1rem; flex-shrink: 0; border-radius: 50% !important; cursor: pointer; }
.vc-task-main { flex: 1; min-width: 0; }
.vc-task-desc { color: var(--vc-muted); font-size: .82rem; margin-top: .15rem; }
.vc-task-meta { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .6rem; align-items: center; }
.vc-task-side { display: flex; flex-direction: column; align-items: flex-end; gap: .45rem; flex-shrink: 0; }
.vc-task-due { font-size: .8rem; font-weight: 600; color: var(--vc-text-2); text-align: right; display: flex; flex-direction: column; align-items: flex-end; }
.vc-task-due small { font-size: .72rem; color: var(--vc-muted); font-weight: 500; }
.vc-task-due.is-late, .vc-task-due.is-late small { color: var(--vc-danger); }
.vc-task-due.is-today, .vc-task-due.is-today small { color: var(--vc-warning); }
.vc-task.is-done { opacity: .6; }
@media (max-width: 575.98px) { .vc-task { flex-wrap: wrap; } .vc-task-side { flex-direction: row; width: 100%; justify-content: space-between; padding-left: 2.2rem; } .vc-task-due { align-items: flex-start; } }

/* ---------- Configurações ---------- */
.vc-settings { display: grid; grid-template-columns: 230px 1fr; gap: 1.5rem; align-items: start; }
.vc-settings-nav { flex-direction: column; gap: 2px; position: sticky; top: 90px; }
.vc-settings-nav .nav-link { display: flex; align-items: center; gap: .65rem; text-align: left; border: 0; background: transparent; border-radius: 9px; padding: .6rem .8rem; color: var(--vc-text-2); font-weight: 600; font-size: .87rem; }
.vc-settings-nav .nav-link i { color: var(--vc-muted); }
.vc-settings-nav .nav-link:hover { background: #fff; }
.vc-settings-nav .nav-link.active { background: #fff; color: var(--vc-primary-700); box-shadow: var(--vc-shadow-sm); }
.vc-settings-nav .nav-link.active i { color: var(--vc-primary); }
.vc-settings-body { min-width: 0; max-width: 920px; }
@media (max-width: 991.98px) {
    .vc-settings { grid-template-columns: 1fr; }
    .vc-settings-nav { flex-direction: row; position: static; overflow-x: auto; flex-wrap: nowrap; padding-bottom: .25rem; scrollbar-width: none; }
    .vc-settings-nav .nav-link { white-space: nowrap; }
}
.vc-switch-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--vc-border); }
.vc-switch-row:last-child { border-bottom: 0; }
.vc-switch-row label { cursor: pointer; font-size: .86rem; }
.vc-secret-row { display: flex; align-items: center; gap: .85rem; padding: .8rem 1rem; border: 1px solid var(--vc-border); border-radius: 12px; margin-bottom: .6rem; font-size: .86rem; }
.vc-secret-row > i { font-size: 1.2rem; color: var(--vc-muted); }
.vc-safe { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; padding: 1.25rem; border-radius: 14px; background: linear-gradient(135deg, var(--vc-primary-700), var(--vc-primary)); color: #fff; }
.vc-safe-code { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 2.2rem; font-weight: 700; letter-spacing: .35em; min-width: 150px; }
.vc-safe-info { display: flex; gap: 1.5rem; flex-wrap: wrap; flex: 1; }
.vc-safe-info > div { display: flex; flex-direction: column; }
.vc-safe-info span { font-size: .72rem; opacity: .7; font-weight: 600; }
.vc-safe-info strong { font-size: .88rem; }
.vc-safe-actions { display: flex; gap: .5rem; }
.vc-safe .btn-light { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .25); color: #fff; box-shadow: none; }
.vc-safe .btn-primary { background: #fff; color: var(--vc-primary-700); border-color: #fff; }
.vc-inline-form { padding: 1.25rem 0 0; }
.vc-editor { border: 1px solid var(--vc-border-strong); border-radius: 12px; overflow: hidden; }
.vc-editor-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; padding: .55rem .7rem; background: var(--vc-surface-2); border-bottom: 1px solid var(--vc-border); }
.vc-editor textarea { border: 0; border-radius: 0; box-shadow: none !important; font-size: .86rem; line-height: 1.65; }
.vc-var { border: 1px solid var(--vc-border); background: #fff; border-radius: 6px; padding: .1rem .45rem; font-family: ui-monospace, monospace; font-size: .72rem; color: var(--vc-primary); }
.vc-var:hover { background: var(--vc-primary-50); }

/* ---------- Login ---------- */
.vc-login { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; background: #fff; }
@media (max-width: 991.98px) { .vc-login { grid-template-columns: 1fr; } .vc-login-art { display: none !important; } }
.vc-login-art {
    position: relative; overflow: hidden; color: #fff; padding: 3rem;
    display: flex; flex-direction: column; justify-content: space-between;
    background:
        radial-gradient(900px 500px at 85% 110%, rgba(191, 214, 236, .35), transparent 60%),
        radial-gradient(600px 400px at 10% -10%, rgba(255, 255, 255, .12), transparent 60%),
        linear-gradient(160deg, #1B3D60 0%, #2C5D8F 55%, #4C7FB0 100%);
}
.vc-login-brand { display: flex; align-items: center; gap: .8rem; font-family: var(--vc-serif); font-size: 1.35rem; font-weight: 600; position: relative; z-index: 1; }
.vc-login-brand .vc-logo-mark rect { fill: rgba(255, 255, 255, .14); }
.vc-login-quote { position: relative; z-index: 1; max-width: 480px; }
.vc-login-quote h2 { font-family: var(--vc-serif); font-weight: 500; font-size: 2.3rem; line-height: 1.2; letter-spacing: -.02em; }
.vc-login-quote p { opacity: .8; font-size: 1rem; margin-top: 1rem; }
.vc-login-stars { position: absolute; inset: 0; background-image: radial-gradient(1.5px 1.5px at 20% 30%, rgba(255,255,255,.7), transparent), radial-gradient(1px 1px at 70% 20%, rgba(255,255,255,.6), transparent), radial-gradient(1.5px 1.5px at 40% 70%, rgba(255,255,255,.5), transparent), radial-gradient(1px 1px at 85% 55%, rgba(255,255,255,.6), transparent), radial-gradient(1px 1px at 55% 45%, rgba(255,255,255,.4), transparent), radial-gradient(1.5px 1.5px at 10% 85%, rgba(255,255,255,.5), transparent); }
.vc-login-form { display: flex; align-items: center; justify-content: center; padding: 2rem 1.25rem; }
.vc-login-card { width: 100%; max-width: 400px; }
.vc-login-card h1 { font-size: 1.6rem; font-weight: 700; margin-bottom: .3rem; }
.vc-password { position: relative; }
.vc-password .form-control { padding-right: 3rem; }
.vc-password-toggle { position: absolute; right: .4rem; top: .45rem; width: 36px; height: 36px; border: 0; background: transparent; color: var(--vc-muted); border-radius: 8px; }
.vc-password-toggle:hover { background: var(--vc-neutral-50); }
.vc-alert-inline { display: flex; gap: .5rem; align-items: center; padding: .7rem .9rem; border-radius: 10px; background: var(--vc-danger-50); color: var(--vc-danger); font-size: .86rem; font-weight: 600; margin-bottom: 1rem; }

/* ---------- Utilitários de animação ---------- */
@keyframes vc-fade-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.vc-content > * { animation: vc-fade-in .25s ease both; }
.vc-flash { animation: vc-flash 1.2s ease; }
@keyframes vc-flash { 0% { background: var(--vc-primary-50); } 100% { background: transparent; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
