/* -------------------------------------------------------------------------- */
/*                                Falcon Button                               */
/* -------------------------------------------------------------------------- */
/* prettier-ignore */

/* === ONE CARD STYLE FOR THE WHOLE SYSTEM ===
   Thin primary-tinted border, rounded corners, no drop shadow.
   Custom card-like boxes (editors, tiles, chat, library books) use the same two tokens. */
:root { --falcon-ui-card-border: 1px solid rgba(var(--falcon-primary-rgb), .28); --falcon-ui-card-radius: .75rem; }
.card { --falcon-card-border-width: 1px; --falcon-card-border-color: rgba(var(--falcon-primary-rgb), .28); --falcon-card-border-radius: var(--falcon-ui-card-radius); --falcon-card-inner-border-radius: calc(var(--falcon-ui-card-radius) - 1px); box-shadow: none; }
/* Menus built from .card (navbar dropdowns, notifications, settings toggle) are not content cards. */
.dropdown-menu .card, .card.setting-toggle { --falcon-card-border-width: 0; }

/* === TABLES: NEVER SQUEEZE DATA ===
   Cells stay on one line; the wrapper scrolls sideways and down, with the header row pinned. */
.table-responsive { overflow: auto; max-height: 70vh; }
.table-responsive > .table { width: max-content; min-width: 100%; overflow: visible !important; }
.table-responsive > .table > :not(caption) > * > * { white-space: nowrap; max-width: none; overflow-wrap: normal; word-break: normal; }
.table-responsive > .table > thead > tr > th { position: sticky; top: 0; z-index: 2; background-color: var(--falcon-gray-100, #f9fafd); box-shadow: inset 0 -1px 0 var(--falcon-border-color); }

/* === PREVIOUS / NEXT: ICON-ONLY BUTTONS EVERYWHERE === */
.workspace-chevron { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; min-height: 36px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--falcon-primary); font-size: 1rem; }
.workspace-chevron:hover:not(:disabled) { background: var(--falcon-primary-bg-subtle, #f9dfed); }
.workspace-chevron:disabled { opacity: .3; cursor: default; }

/* === THE HUB === */
.hub-logo { width: auto; }
.hub-logo-dark { display: none; }
[data-bs-theme=dark] .hub-logo-light { display: none; }
[data-bs-theme=dark] .hub-logo-dark { display: inline-block; }
.hub-wordmark { color: var(--falcon-gray-700) !important; font-size: .75rem; font-weight: 600; letter-spacing: .25em; text-transform: uppercase; white-space: nowrap; }
