/* BasketHunt CMS Core Design System Stylesheet (Generated/Synced from design_system.blade.php) */
:root, html.light {
--bg-base: #f8fafc;
--bg-surface: #ffffff;
--bg-surface-elevated: #ffffff;
--bg-card: #ffffff;
--border-color: #e2e8f0;
--border-hover: #cbd5e1;
--border-focus: var(--primary);
--text-main: #0f172a;
--text-muted: #475569;
--text-dim: #94a3b8;
--shell-bg: #0b0f19;
--shell-header-bg: #0d121d;
--shell-border: rgba(255, 255, 255, 0.08);
--shell-text: #94a3b8;
--shell-text-hover: #ffffff;
--shell-active-bg: rgba(255, 90, 0, 0.12);
--topbar-bg: #0d121d;
--topbar-border: rgba(255, 255, 255, 0.08);
--topbar-text: #ffffff;
--topbar-text-muted: #94a3b8;
--primary: var(--bh-primary, #ff5a00);
--primary-hover: var(--bh-primary-hover, #ea580c);
--primary-glow: rgba(255, 90, 0, 0.22);
--secondary: #111827;
--accent-orange: #ff7700;
--success: #10b981;
--warning: #f59e0b;
--danger: #ef4444;
--info: #0284c7;
--sidebar-width: 228px;
--sidebar-collapsed-width: 64px;
--topbar-height: 52px;
--radius-sm: 4px;
--radius-md: 6px;
--radius-lg: 8px;
--radius-full: 9999px;
--card-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px 0 rgba(0, 0, 0, 0.03);
}
html.dark {
--bg-base: #0a0e17;
--bg-surface: #111827;
--bg-surface-elevated: #1f2937;
--bg-card: #111827;
--border-color: rgba(255, 255, 255, 0.08);
--border-hover: rgba(255, 255, 255, 0.16);
--border-focus: var(--primary);
--text-main: #f9fafb;
--text-muted: #9ca3af;
--text-dim: #6b7280;
--shell-bg: #070a10;
--shell-header-bg: #090d15;
--shell-border: rgba(255, 255, 255, 0.06);
--shell-text: #9ca3af;
--shell-text-hover: #ffffff;
--shell-active-bg: rgba(255, 90, 0, 0.14);
--topbar-bg: #090d15;
--topbar-border: rgba(255, 255, 255, 0.06);
--topbar-text: #ffffff;
--topbar-text-muted: #9ca3af;
--card-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.35);
}
*, *::before, *::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html {
font-size: 13px;
-webkit-text-size-adjust: 100%;
}
body {
font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
font-size: 1rem;
line-height: 1.5;
background-color: var(--bg-base);
color: var(--text-main);
min-height: 100vh;
display: flex;
overflow-x: hidden;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
transition: background-color 0.2s ease, color 0.2s ease;
}
h1, h2, h3, h4, h5, h6 {
color: var(--text-main);
font-weight: 700;
line-height: 1.25;
letter-spacing: -0.015em;
}
h1 { font-size: 1.25rem; }
h2 { font-size: 1.15rem; }
h3 { font-size: 1.02rem; }
h4 { font-size: 0.92rem; }
p {
font-size: 0.95rem;
color: var(--text-muted);
line-height: 1.5;
}
a {
color: var(--primary);
text-decoration: none;
transition: color 0.15s ease;
}
a:hover {
color: var(--primary-hover);
}
code, pre, kbd {
font-family: 'JetBrains Mono', SFMono-Regular, Menlo, Monaco, Consolas, monospace;
font-size: 0.85em;
}
.bi, [class^="bi-"], [class*=" bi-"] {
display: inline-block;
min-width: 1em;
line-height: 1;
vertical-align: -0.125em;
}
.brand-logo-wrapper {
display: flex;
align-items: center;
justify-content: var(--logo-align, flex-start);
width: 100%;
}
.brand-logo-frame {
display: inline-flex;
align-items: center;
justify-content: var(--logo-align, flex-start);
background: var(--logo-bg, #ffffff);
padding: var(--logo-padding, 5px 12px);
border-radius: 6px;
border-radius: var(--logo-radius, 6px);
border: var(--logo-border, 1px solid rgba(15, 23, 42, 0.12));
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
max-width: 100%;
min-height: 34px;
text-decoration: none;
transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.brand-logo-frame:hover {
border-color: rgba(255, 90, 0, 0.4);
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.10);
}
.brand-logo-frame img, .brand-logo-frame svg {
max-height: var(--logo-max-height, 32px);
max-width: var(--logo-max-width, 175px);
width: auto;
height: auto;
object-fit: var(--logo-fit, contain);
display: block;
filter: none;
}
.brand-logo-frame-compact {
display: inline-flex;
align-items: center;
justify-content: center;
background: var(--logo-bg, #ffffff);
width: var(--logo-compact-container, 36px);
height: var(--logo-compact-container, 36px);
padding: 4px;
border-radius: 6px;
border-radius: var(--logo-compact-radius, 6px);
border: var(--logo-border, 1px solid rgba(15, 23, 42, 0.12));
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
text-decoration: none;
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
margin: 0 auto;
}
.brand-logo-frame-compact:hover {
border-color: rgba(255, 90, 0, 0.4);
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
transform: translateY(-1px);
}
.brand-logo-frame-compact img, .brand-logo-frame-compact svg {
max-height: var(--logo-compact-size, 22px);
max-width: var(--logo-compact-size, 22px);
width: auto;
height: auto;
object-fit: var(--logo-fit, contain);
filter: none;
display: block;
}
.brand-logo-wrapper .brand-logo-expanded { display: inline-flex; }
.brand-logo-wrapper .brand-logo-collapsed { display: none; }
html.sidebar-collapsed .brand-logo-wrapper { justify-content: center !important; }
html.sidebar-collapsed .brand-logo-wrapper .brand-logo-expanded { display: none !important; }
html.sidebar-collapsed .brand-logo-wrapper .brand-logo-collapsed { display: inline-flex !important; }
.sidebar {
width: var(--sidebar-width);
background: var(--shell-bg);
border-right: 1px solid var(--shell-border);
position: fixed;
top: 0;
bottom: 0;
left: 0;
display: flex;
flex-direction: column;
z-index: 50;
transition: width 0.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.sidebar-header {
height: var(--topbar-height);
padding: 0 12px;
display: flex;
align-items: center;
justify-content: center;
background: var(--shell-header-bg);
border-bottom: 1px solid var(--shell-border);
flex-shrink: 0;
position: relative;
transition: padding 0.2s ease;
}
.sidebar-nav {
flex: 1;
overflow-y: auto;
overflow-x: hidden;
padding: 8px 8px 16px;
}
.sidebar-nav::-webkit-scrollbar {
width: 4px;
}
.sidebar-nav::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.12);
border-radius: 4px;
}
.nav-section {
padding: 10px 10px 4px;
font-size: 10px;
font-weight: 700;
text-transform: uppercase;
color: #64748b;
letter-spacing: 0.8px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
transition: all 0.2s ease;
}
.nav-link {
display: flex;
align-items: center;
gap: 9px;
padding: 7px 11px;
color: var(--shell-text);
text-decoration: none;
font-size: 12.5px;
font-weight: 500;
border-radius: var(--radius-md);
transition: all 0.15s ease;
margin-bottom: 2px;
position: relative;
white-space: nowrap;
}
.nav-link i {
font-size: 14px;
width: 17px;
text-align: center;
color: #94a3b8;
flex-shrink: 0;
transition: color 0.15s ease;
}
.nav-link:hover {
color: var(--shell-text-hover);
background: rgba(255, 255, 255, 0.05);
}
.nav-link:hover i {
color: var(--shell-text-hover);
}
.nav-link.active {
color: #ffffff;
background: var(--shell-active-bg);
font-weight: 600;
}
.nav-link.active i {
color: var(--primary);
}
.nav-link.active::before {
content: '';
position: absolute;
left: 0;
top: 5px;
bottom: 5px;
width: 3px;
background: var(--primary);
border-radius: 0 3px 3px 0;
box-shadow: 0 0 6px var(--primary);
}
html.sidebar-collapsed .sidebar {
width: var(--sidebar-collapsed-width);
}
html.sidebar-collapsed .sidebar-header {
padding: 0 6px;
justify-content: center;
}
html.sidebar-collapsed .nav-section {
height: 1px;
margin: 8px 10px;
background: rgba(255, 255, 255, 0.08);
font-size: 0;
padding: 0;
text-indent: -9999px;
}
html.sidebar-collapsed .nav-link {
justify-content: center;
padding: 8px 0;
width: 42px;
margin: 2px auto;
}
html.sidebar-collapsed .nav-link .nav-text {
display: none !important;
}
html.sidebar-collapsed .nav-link i {
font-size: 16px;
width: auto;
margin: 0;
}
.sidebar-footer {
padding: 10px 12px;
border-top: 1px solid var(--shell-border);
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
background: rgba(0, 0, 0, 0.20);
flex-shrink: 0;
transition: all 0.2s ease;
}
.user-snippet {
display: flex;
align-items: center;
gap: 9px;
overflow: hidden;
min-width: 0;
flex: 1;
}
.user-avatar {
width: 32px;
height: 32px;
border-radius: var(--radius-md);
background: linear-gradient(135deg, #ff5a00, #ea580c);
border: 1.5px solid rgba(255, 255, 255, 0.15);
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
display: flex;
align-items: center;
justify-content: center;
font-weight: 700;
font-size: 12px;
color: #ffffff;
flex-shrink: 0;
}
.user-info {
line-height: 1.25;
overflow: hidden;
min-width: 0;
}
.user-name {
font-size: 12.5px;
font-weight: 600;
color: #f8fafc;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.user-role {
font-size: 10.5px;
color: #ff8c42;
font-weight: 600;
text-transform: capitalize;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.sidebar-footer .btn-logout {
background: rgba(255, 255, 255, 0.08);
color: #cbd5e1;
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: var(--radius-md);
padding: 6px 9px;
display: inline-flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.15s ease;
font-size: 13px;
line-height: 1;
}
.sidebar-footer .btn-logout:hover {
background: rgba(239, 68, 68, 0.22);
color: #fca5a5;
border-color: rgba(239, 68, 68, 0.35);
}
html.sidebar-collapsed .sidebar-footer {
padding: 10px 6px;
justify-content: center;
}
html.sidebar-collapsed .sidebar-footer .user-info,
html.sidebar-collapsed .sidebar-footer .btn-logout,
html.sidebar-collapsed .sidebar-footer form {
display: none !important;
}
html.sidebar-collapsed .sidebar-footer .user-avatar {
margin: 0 auto;
cursor: pointer;
}
.main-wrapper {
flex: 1;
margin-left: var(--sidebar-width);
display: flex;
flex-direction: column;
min-width: 0;
transition: margin-left 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
html.sidebar-collapsed .main-wrapper {
margin-left: var(--sidebar-collapsed-width);
}
.topbar {
height: var(--topbar-height);
background: var(--topbar-bg);
border-bottom: 1px solid var(--topbar-border);
color: var(--topbar-text);
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 20px;
position: sticky;
top: 0;
z-index: 40;
transition: background-color 0.2s ease, border-color 0.2s ease;
}
.topbar-left {
display: flex;
align-items: center;
gap: 8px;
min-width: 0;
}
.sidebar-collapse-btn {
background: rgba(255, 255, 255, 0.08);
color: #94a3b8;
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: var(--radius-md);
width: 32px;
height: 32px;
display: inline-flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.15s ease;
font-size: 15px;
margin-right: 4px;
}
.sidebar-collapse-btn:hover {
color: #ffffff;
background: rgba(255, 255, 255, 0.16);
border-color: rgba(255, 255, 255, 0.24);
}
.page-title {
font-size: 1.05rem;
font-weight: 700;
color: #ffffff;
letter-spacing: -0.015em;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
margin: 0;
}
.topbar-right {
display: flex;
align-items: center;
gap: 8px;
flex-shrink: 0;
}
.btn-top {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 5px 11px;
border-radius: var(--radius-md);
font-size: 12px;
font-weight: 600;
text-decoration: none;
transition: all 0.15s ease;
border: none;
cursor: pointer;
line-height: 1.3;
}
.btn-top-glass {
background: rgba(255, 255, 255, 0.08);
color: #f1f5f9;
border: 1px solid rgba(255, 255, 255, 0.14);
}
.btn-top-glass:hover {
background: rgba(255, 255, 255, 0.18);
color: #ffffff;
border-color: rgba(255, 255, 255, 0.26);
}
.btn-top-primary {
background: var(--primary);
color: #ffffff;
}
.btn-top-primary:hover {
background: var(--primary-hover);
color: #ffffff;
box-shadow: 0 2px 8px var(--primary-glow);
}
.btn-top-super {
background: linear-gradient(135deg, rgba(255, 90, 0, 0.22), rgba(255, 90, 0, 0.10));
color: #ff914d;
border: 1px solid rgba(255, 90, 0, 0.35);
}
.btn-top-super:hover {
background: var(--primary);
color: #ffffff;
border-color: var(--primary);
}
.mobile-toggle-btn {
display: none;
background: transparent;
border: none;
color: #ffffff;
font-size: 20px;
cursor: pointer;
padding: 4px;
line-height: 1;
}
.content {
flex: 1;
width: 100%;
max-width: 1400px;
margin: 0 auto;
padding: 18px 22px;
box-sizing: border-box;
transition: padding 0.2s ease, max-width 0.2s ease;
}
@media (min-width: 1440px) {
.content {
max-width: 1480px;
padding: 20px 26px;
}
}
@media (min-width: 1920px) {
.content {
max-width: 1680px;
padding: 22px 30px;
}
}
@media (min-width: 2560px) {
.content {
max-width: 1880px;
padding: 24px 36px;
}
}
.card {
background: var(--bg-card);
border: 1px solid var(--border-color);
border-radius: var(--radius-lg);
box-shadow: var(--card-shadow);
padding: 14px 16px;
margin-bottom: 14px;
min-width: 0;
max-width: 100%;
overflow-wrap: anywhere;
transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.grid-4 > *, .grid-3 > *, .grid-2 > * {
min-width: 0;
}
.table-responsive {
width: 100%;
max-width: 100%;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
}
.card-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 12px;
padding-bottom: 8px;
border-bottom: 1px solid var(--border-color);
gap: 12px;
}
.card-title {
font-size: 0.95rem;
font-weight: 700;
color: var(--text-main);
display: flex;
align-items: center;
gap: 7px;
margin: 0;
}
.card-title i {
color: var(--primary);
font-size: 1rem;
}
.card-body {
font-size: 0.95rem;
}
.stat-card {
background: var(--bg-card);
border: 1px solid var(--border-color);
border-radius: var(--radius-lg);
padding: 12px 14px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
min-width: 0;
overflow: hidden;
box-shadow: var(--card-shadow);
transition: transform 0.16s ease, border-color 0.16s ease;
}
.stat-info {
min-width: 0;
flex: 1;
}
.stat-card:hover {
border-color: var(--border-hover);
transform: translateY(-1px);
}
.stat-number, .stat-card .value {
font-size: 1.35rem;
font-weight: 800;
color: var(--text-main);
line-height: 1.1;
letter-spacing: -0.02em;
margin-top: 2px;
}
.stat-label, .stat-card .label {
font-size: 0.75rem;
font-weight: 600;
color: var(--text-muted);
text-transform: uppercase;
letter-spacing: 0.5px;
}
.stat-icon {
width: 32px;
height: 32px;
border-radius: var(--radius-md);
display: flex;
align-items: center;
justify-content: center;
font-size: 15px;
flex-shrink: 0;
}
.stat-icon.indigo { background: rgba(99, 102, 241, 0.12); color: #6366f1; }
.stat-icon.cyan { background: rgba(6, 182, 212, 0.12); color: #06b6d4; }
.stat-icon.emerald { background: rgba(16, 185, 129, 0.12); color: #10b981; }
.stat-icon.amber { background: rgba(245, 158, 11, 0.12); color: #f59e0b; }
.stat-icon.orange { background: rgba(255, 90, 0, 0.12); color: #ff5a00; }
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
padding: 5px 12px;
border-radius: var(--radius-md);
font-size: 12px;
font-weight: 600;
text-decoration: none;
border: 1px solid transparent;
cursor: pointer;
line-height: 1.35;
white-space: nowrap;
flex-shrink: 0;
word-break: normal;
overflow-wrap: normal;
transition: all 0.15s ease;
}
.btn-primary {
background: var(--primary);
color: #ffffff;
border-color: var(--primary);
}
.btn-primary:hover {
background: var(--primary-hover);
border-color: var(--primary-hover);
color: #ffffff;
box-shadow: 0 2px 8px var(--primary-glow);
}
.btn-secondary {
background: rgba(100, 116, 139, 0.10);
color: var(--text-main);
border-color: var(--border-color);
}
.btn-secondary:hover {
background: rgba(100, 116, 139, 0.18);
color: var(--text-main);
}
.btn-danger {
background: var(--danger);
color: #ffffff;
border-color: var(--danger);
}
.btn-danger:hover {
background: #dc2626;
color: #ffffff;
}
.btn-outline-danger {
background: transparent;
color: #ef4444;
border-color: rgba(239, 68, 68, 0.42);
}
.btn-outline-danger:hover:not(:disabled) {
background: rgba(239, 68, 68, 0.10);
border-color: #ef4444;
color: #dc2626;
}
.btn-outline-danger:disabled,
.btn[disabled] {
opacity: 0.45;
cursor: not-allowed;
}
.btn-sm {
min-height: 28px;
padding: 4px 10px;
font-size: 11.5px;
border-radius: var(--radius-sm);
}
.cms-table-actions {
display: inline-flex;
align-items: center;
justify-content: flex-end;
gap: 6px;
flex-wrap: nowrap;
}
.form-group {
margin-bottom: 12px;
}
.form-label {
display: block;
font-size: 11.5px;
font-weight: 600;
color: var(--text-main);
margin-bottom: 3px;
}
.form-control, .form-select {
width: 100%;
padding: 6px 10px;
font-size: 12.5px;
font-family: inherit;
color: var(--text-main);
background-color: var(--bg-surface-elevated, var(--bg-card));
border: 1px solid var(--border-color);
border-radius: var(--radius-md);
outline: none;
min-height: 33px;
transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-control:focus, .form-select:focus {
border-color: var(--primary);
box-shadow: 0 0 0 3px var(--primary-glow);
}
.form-text {
font-size: 11px;
color: var(--text-dim);
margin-top: 3px;
line-height: 1.35;
}
.cms-toggle {
position: relative;
display: inline-flex;
align-items: center;
cursor: pointer;
user-select: none;
vertical-align: middle;
}
.cms-toggle input[type="checkbox"] {
position: absolute;
opacity: 0;
width: 0;
height: 0;
margin: 0;
pointer-events: none;
}
.cms-toggle-track {
position: relative;
display: inline-block;
width: 38px;
height: 20px;
background: #cbd5e1;
border-radius: 20px;
transition: background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);
}
html.dark .cms-toggle-track {
background: #334155;
}
.cms-toggle-thumb {
position: absolute;
top: 2px;
left: 2px;
width: 16px;
height: 16px;
background: #ffffff;
border-radius: 50%;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.cms-toggle input[type="checkbox"]:checked + .cms-toggle-track {
background: var(--primary);
}
.cms-toggle input[type="checkbox"]:checked + .cms-toggle-track .cms-toggle-thumb {
transform: translateX(18px);
}
.cms-toggle input[type="checkbox"]:focus-visible + .cms-toggle-track {
outline: 2px solid var(--primary);
outline-offset: 2px;
}
.table-container, .table-responsive {
overflow-x: auto;
border-radius: var(--radius-md);
border: 1px solid var(--border-color);
background: var(--bg-card);
}
.table, .cms-table {
width: 100%;
border-collapse: collapse;
text-align: left;
font-size: 12.5px;
}
.table th, .cms-table th {
padding: 7px 11px;
background: rgba(100, 116, 139, 0.05);
font-size: 11px;
font-weight: 700;
color: var(--text-muted);
text-transform: uppercase;
letter-spacing: 0.5px;
border-bottom: 1px solid var(--border-color);
white-space: nowrap;
}
.table td, .cms-table td {
padding: 8px 11px;
border-bottom: 1px solid var(--border-color);
color: var(--text-main);
vertical-align: middle;
}
.table tr:last-child td, .cms-table tr:last-child td {
border-bottom: none;
}
.table tbody tr, .cms-table tbody tr {
transition: background-color 0.12s ease;
}
.table tbody tr:hover, .cms-table tbody tr:hover {
background: rgba(100, 116, 139, 0.04);
}
.badge-pill {
display: inline-flex;
align-items: center;
gap: 4px;
padding: 2px 7px;
border-radius: var(--radius-full);
font-size: 10.5px;
font-weight: 600;
line-height: 1.35;
white-space: nowrap;
}
.badge-active, .badge-success {
background: rgba(16, 185, 129, 0.12);
color: #10b981;
border: 1px solid rgba(16, 185, 129, 0.28);
}
.badge-inactive {
background: rgba(100, 116, 139, 0.12);
color: var(--text-dim);
border: 1px solid rgba(100, 116, 139, 0.25);
}
.badge-current {
background: rgba(255, 90, 0, 0.12);
color: var(--primary);
border: 1px solid rgba(255, 90, 0, 0.35);
}
.badge-installed, .badge-custom {
background: rgba(16, 185, 129, 0.12);
color: #10b981;
border: 1px solid rgba(16, 185, 129, 0.28);
}
.badge-available, .badge-tenant {
background: rgba(6, 182, 212, 0.12);
color: #0284c7;
border: 1px solid rgba(6, 182, 212, 0.3);
}
html.dark .badge-available, html.dark .badge-tenant { color: #38bdf8; }
.badge-default, .badge-neutral {
background: rgba(100, 116, 139, 0.10);
color: var(--text-dim);
border: 1px solid rgba(100, 116, 139, 0.22);
}
.badge-warning, .badge-inherited {
background: rgba(245, 158, 11, 0.12);
color: #d97706;
border: 1px solid rgba(245, 158, 11, 0.28);
}
html.dark .badge-warning, html.dark .badge-inherited { color: #fbbf24; }
.badge-danger, .badge-missing {
background: rgba(239, 68, 68, 0.12);
color: #ef4444;
border: 1px solid rgba(239, 68, 68, 0.28);
}
.badge-super {
background: linear-gradient(135deg, rgba(255, 90, 0, 0.18), rgba(255, 90, 0, 0.08));
border: 1px solid rgba(255, 90, 0, 0.35);
color: #ff8c42;
font-size: 11px;
font-weight: 700;
padding: 2.5px 8px;
border-radius: var(--radius-full);
}
.alert {
padding: 10px 14px;
border-radius: var(--radius-md);
margin-bottom: 14px;
font-size: 12.5px;
display: flex;
align-items: center;
gap: 10px;
line-height: 1.4;
}
.alert-success {
background: rgba(16, 185, 129, 0.10);
border: 1px solid rgba(16, 185, 129, 0.28);
color: #10b981;
}
.alert-error {
background: rgba(239, 68, 68, 0.10);
border: 1px solid rgba(239, 68, 68, 0.28);
color: #ef4444;
}
.grid-4 {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 12px;
margin-bottom: 14px;
}
.grid-3 {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 12px;
margin-bottom: 14px;
}
.grid-2 {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 12px;
margin-bottom: 14px;
}
@media (max-width: 1200px) {
.grid-4 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
.sidebar { transform: translateX(-100%); }
.sidebar.mobile-open { transform: translateX(0); }
.sidebar-backdrop {
display: none;
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.65);
backdrop-filter: blur(4px);
z-index: 45;
}
.sidebar-backdrop.active { display: block; }
.main-wrapper { margin-left: 0 !important; width: 100% !important; max-width: 100vw; overflow-x: clip; }
.topbar { padding: 0 12px; height: 50px; gap: 8px; }
.topbar-left { flex: 1; min-width: 0; overflow: hidden; }
.topbar-left .badge-super, .topbar-left .badge-pill { display: none !important; }
.mobile-toggle-btn { display: inline-flex; flex-shrink: 0; }
.sidebar-collapse-btn { display: none; }
.content { padding: 14px; max-width: 100%; }
.page-title { font-size: 0.95rem; }
.grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
.card-header { flex-wrap: wrap; }
}
.cms-pagination-container {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 12px;
padding: 12px 0 4px 0;
margin-top: 14px;
border-top: 1px solid var(--border-color);
}
.cms-pagination-info {
font-size: 12px;
color: var(--text-dim);
line-height: 1.4;
}
.cms-pagination-info .cms-pagination-count {
font-weight: 600;
color: var(--text-main);
}
.cms-pagination {
display: inline-flex;
align-items: center;
list-style: none;
margin: 0;
padding: 0;
gap: 4px;
flex-wrap: wrap;
}
.cms-page-item {
display: inline-flex;
list-style: none;
margin: 0;
padding: 0;
}
.cms-page-link {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 28px;
height: 28px;
padding: 0 8px;
font-size: 12px;
font-weight: 500;
color: var(--text-main);
background: var(--card-bg);
border: 1px solid var(--border-color);
border-radius: 4px;
text-decoration: none;
transition: all 0.15s ease;
user-select: none;
line-height: 1;
}
.cms-page-link:hover:not(.disabled):not(.separator) {
background: rgba(255, 90, 0, 0.1);
color: var(--primary);
border-color: rgba(255, 90, 0, 0.35);
}
.cms-page-link.active {
background: var(--primary) !important;
color: #ffffff !important;
border-color: var(--primary) !important;
font-weight: 600;
}
.cms-page-link.disabled,
.cms-page-item.disabled .cms-page-link {
opacity: 0.45;
cursor: not-allowed;
pointer-events: none;
background: transparent;
border-color: var(--border-color);
color: var(--text-dim);
}
.cms-page-link.separator {
border: none;
background: transparent;
min-width: 20px;
color: var(--text-dim);
cursor: default;
}
.cms-page-link i {
font-size: 11px;
line-height: 1;
}
nav[role="navigation"] svg.w-5.h-5,
nav[role="navigation"] svg,
.pagination svg {
width: 14px !important;
height: 14px !important;
max-width: 14px !important;
max-height: 14px !important;
display: inline-block !important;
vertical-align: middle !important;
}
nav[role="navigation"] .hidden.sm\:flex-1 {
display: flex !important;
align-items: center !important;
justify-content: space-between !important;
width: 100% !important;
gap: 12px !important;
flex-wrap: wrap !important;
}
nav[role="navigation"] .sm\:hidden {
display: none !important;
}
.cms-dropzone-wrapper {
position: relative;
width: 100%;
}
.cms-dropzone {
position: relative;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 100%;
min-height: 140px;
padding: 28px 20px;
background-color: var(--bg-surface, #ffffff);
border: 2px dashed #cbd5e1;
border-radius: 8px;
text-align: center;
cursor: pointer;
transition: all 0.2s ease-in-out;
outline: none;
box-sizing: border-box;
overflow: hidden;
}
html.dark .cms-dropzone {
background-color: #111827;
border-color: rgba(255, 255, 255, 0.16);
}
.cms-dropzone:hover {
border-color: #94a3b8;
background-color: #f8fafc;
}
html.dark .cms-dropzone:hover {
border-color: var(--primary, #ff5a00);
background-color: #1f2937;
}
.cms-dropzone.is-dragover {
border-color: var(--primary, #ff5a00) !important;
background-color: rgba(255, 90, 0, 0.04) !important;
box-shadow: 0 0 0 4px rgba(255, 90, 0, 0.14) !important;
}
html.dark .cms-dropzone.is-dragover {
border-color: var(--primary, #ff5a00) !important;
background-color: rgba(255, 90, 0, 0.10) !important;
box-shadow: 0 0 0 4px rgba(255, 90, 0, 0.22) !important;
}
.cms-dropzone:focus-visible,
.cms-dropzone.is-focused {
outline: 2px solid var(--primary, #ff5a00) !important;
outline-offset: 2px !important;
}
.cms-dropzone.has-file {
border-style: solid;
border-color: #e2e8f0;
padding: 16px 20px;
}
html.dark .cms-dropzone.has-file {
border-color: rgba(255, 255, 255, 0.1);
}
.cms-dropzone-native-input {
position: absolute !important;
width: 1px !important;
height: 1px !important;
padding: 0 !important;
margin: -1px !important;
overflow: hidden !important;
clip: rect(0, 0, 0, 0) !important;
white-space: nowrap !important;
border: 0 !important;
opacity: 0 !important;
pointer-events: none !important;
z-index: -1 !important;
}
.cms-dropzone-idle {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 8px;
width: 100%;
}
.cms-dropzone-icon-box {
font-size: 32px;
color: var(--text-muted, #475569);
margin-bottom: 2px;
line-height: 1;
transition: color 0.15s ease;
}
.cms-dropzone:hover .cms-dropzone-icon-box,
.cms-dropzone.is-dragover .cms-dropzone-icon-box {
color: var(--primary, #ff5a00);
}
.cms-dropzone-title {
font-size: 13.5px;
font-weight: 700;
color: var(--text-main, #0f172a);
margin: 0;
line-height: 1.3;
}
html.dark .cms-dropzone-title {
color: #f8fafc;
}
.cms-dropzone-subtitle {
font-size: 11.5px;
color: var(--text-dim, #64748b);
margin-bottom: 6px;
line-height: 1.3;
}
html.dark .cms-dropzone-subtitle {
color: #94a3b8;
}
.cms-dropzone-browse-btn {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 6px 14px;
font-size: 12px;
font-weight: 600;
color: var(--text-main, #0f172a);
background: #f1f5f9;
border: 1px solid #cbd5e1;
border-radius: 6px;
cursor: pointer;
transition: all 0.15s ease;
user-select: none;
}
html.dark .cms-dropzone-browse-btn {
background: #1e293b;
border-color: rgba(255, 255, 255, 0.16);
color: #f8fafc;
}
.cms-dropzone-browse-btn:hover {
background: var(--primary, #ff5a00);
color: #ffffff;
border-color: var(--primary, #ff5a00);
}
.cms-dropzone-compact .cms-dropzone,
.cms-dropzone.cms-dropzone-compact {
min-height: 100px;
padding: 14px 12px;
}
.cms-dropzone-compact .cms-dropzone-icon-box {
font-size: 24px;
margin-bottom: 0;
}
.cms-dropzone-compact .cms-dropzone-title {
font-size: 12.5px;
}
.cms-dropzone-compact .cms-dropzone-subtitle {
font-size: 11px;
margin-bottom: 4px;
}
.cms-dropzone-compact .cms-dropzone-browse-btn {
padding: 4px 10px;
font-size: 11.5px;
}
.cms-dropzone-inline .cms-dropzone {
min-height: 46px;
padding: 7px 10px;
text-align: left;
border-width: 1.5px;
border-radius: 6px;
}
.cms-dropzone-inline .cms-dropzone.has-file {
padding: 6px 10px;
}
.cms-dropzone-inline .cms-dropzone-idle {
flex-direction: row;
justify-content: space-between;
align-items: center;
gap: 8px;
width: 100%;
min-width: 0;
}
.cms-dropzone-inline .cms-dropzone-inline-meta {
display: flex;
align-items: center;
gap: 7px;
min-width: 0;
flex: 1;
}
.cms-dropzone-inline .cms-dropzone-icon-box {
font-size: 16px;
margin-bottom: 0;
flex-shrink: 0;
}
.cms-dropzone-inline .cms-dropzone-title {
font-size: 11.5px;
font-weight: 500;
color: var(--text-muted, #475569);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
html.dark .cms-dropzone-inline .cms-dropzone-title {
color: #cbd5e1;
}
.cms-dropzone-inline .cms-dropzone-subtitle {
display: none;
}
.cms-dropzone-inline .cms-dropzone-browse-btn {
padding: 4px 10px;
font-size: 11px;
min-height: 28px;
white-space: nowrap;
flex-shrink: 0;
}
.cms-dropzone-inline .cms-dropzone-file-card {
padding: 6px 8px;
gap: 8px;
max-width: 100%;
}
.cms-dropzone-inline .cms-dropzone-file-icon {
font-size: 18px;
}
.cms-dropzone-inline .cms-dropzone-file-name {
font-size: 11.5px;
}
.cms-dropzone-inline .cms-dropzone-file-meta {
flex-wrap: nowrap;
white-space: nowrap;
}
.cms-dropzone-inline .cms-dropzone-action-btn {
padding: 3px 6px;
font-size: 11px;
white-space: nowrap;
}
.cms-dropzone-selected {
width: 100%;
display: flex;
align-items: center;
justify-content: center;
}
.cms-dropzone-file-card {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
width: 100%;
max-width: 520px;
padding: 10px 14px;
background: #f8fafc;
border: 1px solid #e2e8f0;
border-radius: 6px;
box-sizing: border-box;
text-align: left;
}
html.dark .cms-dropzone-file-card {
background: #1f2937;
border-color: rgba(255, 255, 255, 0.1);
}
.cms-dropzone-file-icon {
font-size: 24px;
color: var(--primary, #ff5a00);
flex-shrink: 0;
line-height: 1;
}
.cms-dropzone-file-details {
flex: 1;
min-width: 0;
}
.cms-dropzone-file-name {
font-size: 12.5px;
font-weight: 600;
color: var(--text-main, #0f172a);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
html.dark .cms-dropzone-file-name {
color: #f8fafc;
}
.cms-dropzone-file-meta {
display: flex;
align-items: center;
gap: 8px;
font-size: 11px;
color: var(--text-dim, #64748b);
margin-top: 2px;
}
.cms-dropzone-badge-ready {
display: inline-flex;
align-items: center;
gap: 3px;
color: #10b981;
font-weight: 600;
font-size: 11px;
}
.cms-dropzone-file-actions {
display: flex;
align-items: center;
gap: 6px;
flex-shrink: 0;
}
.cms-dropzone-action-btn {
display: inline-flex;
align-items: center;
gap: 4px;
padding: 4px 8px;
font-size: 11.5px;
font-weight: 500;
border-radius: 4px;
border: 1px solid var(--border-color, #e2e8f0);
background: var(--bg-surface, #ffffff);
color: var(--text-main, #0f172a);
cursor: pointer;
transition: all 0.15s ease;
}
html.dark .cms-dropzone-action-btn {
background: #111827;
border-color: rgba(255, 255, 255, 0.12);
color: #f8fafc;
}
.cms-dropzone-action-btn.cms-dropzone-replace:hover {
border-color: var(--primary, #ff5a00);
color: var(--primary, #ff5a00);
background: rgba(255, 90, 0, 0.08);
}
.cms-dropzone-action-btn.cms-dropzone-remove:hover {
border-color: #ef4444;
color: #ef4444;
background: rgba(239, 68, 68, 0.08);
}
.cms-dropzone-sr-status {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
border: 0;
}
.cms-toast-container,
#cms-toast-container {
position: fixed !important;
top: 20px !important;
right: 20px !important;
z-index: 999999 !important;
display: flex !important;
flex-direction: column !important;
gap: 10px !important;
width: 380px !important;
max-width: calc(100vw - 32px) !important;
pointer-events: none !important;
margin: 0 !important;
padding: 0 !important;
box-sizing: border-box !important;
}
.cms-toast {
pointer-events: auto !important;
position: relative !important;
display: flex !important;
align-items: flex-start !important;
gap: 12px !important;
background: var(--bg-surface, #ffffff) !important;
border: 1px solid var(--border-color, #e2e8f0) !important;
border-radius: 8px !important;
padding: 12px 14px !important;
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.08) !important;
color: var(--text-main, #0f172a) !important;
font-size: 12.5px !important;
line-height: 1.45 !important;
box-sizing: border-box !important;
transition: opacity 0.25s ease, transform 0.25s ease, max-height 0.25s ease !important;
animation: cmsToastSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
overflow: hidden !important;
}
html.dark .cms-toast {
background: #1e293b !important;
border-color: rgba(255, 255, 255, 0.12) !important;
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5) !important;
color: #f8fafc !important;
}
.cms-toast-success { border-left: 4px solid #10b981 !important; }
.cms-toast-error { border-left: 4px solid #ef4444 !important; }
.cms-toast-warning { border-left: 4px solid #f59e0b !important; }
.cms-toast-info { border-left: 4px solid #3b82f6 !important; }
.cms-toast-icon {
font-size: 18px !important;
line-height: 1 !important;
flex-shrink: 0 !important;
margin-top: 1px !important;
}
.cms-toast-success .cms-toast-icon { color: #10b981 !important; }
.cms-toast-error .cms-toast-icon { color: #ef4444 !important; }
.cms-toast-warning .cms-toast-icon { color: #f59e0b !important; }
.cms-toast-info .cms-toast-icon { color: #3b82f6 !important; }
.cms-toast-content,
.cms-toast-body {
flex: 1 !important;
min-width: 0 !important;
word-break: break-word !important;
}
.cms-toast-title {
font-weight: 700 !important;
font-size: 13px !important;
color: var(--text-main, #0f172a) !important;
margin-bottom: 2px !important;
}
html.dark .cms-toast-title {
color: #f8fafc !important;
}
.cms-toast-message {
font-size: 12px !important;
color: var(--text-muted, #475569) !important;
}
html.dark .cms-toast-message {
color: #cbd5e1 !important;
}
.cms-toast-close {
border: none !important;
background: transparent !important;
cursor: pointer !important;
color: var(--text-dim, #94a3b8) !important;
font-size: 16px !important;
line-height: 1 !important;
padding: 2px 4px !important;
margin: -4px -4px 0 0 !important;
border-radius: 4px !important;
transition: color 0.15s ease !important;
flex-shrink: 0 !important;
}
.cms-toast-close:hover {
color: var(--text-main, #0f172a) !important;
}
html.dark .cms-toast-close:hover {
color: #ffffff !important;
}
.cms-toast-timer {
position: absolute !important;
left: 0 !important;
right: 0 !important;
bottom: 0 !important;
height: 2px !important;
background: var(--primary, #ff5a00) !important;
transform-origin: left center !important;
animation: cmsToastTimer linear forwards !important;
opacity: 0.75 !important;
}
.cms-toast:hover .cms-toast-timer {
animation-play-state: paused !important;
}
@keyframes cmsToastTimer {
from { transform: scaleX(1); }
to { transform: scaleX(0); }
}
@keyframes cmsToastSlideIn {
from {
opacity: 0;
transform: translateX(40px) scale(0.95);
}
to {
opacity: 1;
transform: translateX(0) scale(1);
}
}
.cms-toast.cms-toast-hiding {
opacity: 0 !important;
transform: translateX(40px) scale(0.92) !important;
max-height: 0 !important;
padding-top: 0 !important;
padding-bottom: 0 !important;
margin-bottom: 0 !important;
border-width: 0 !important;
transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
@media (max-width: 480px) {
.cms-toast-container,
#cms-toast-container {
top: 10px !important;
right: 10px !important;
left: 10px !important;
width: auto !important;
max-width: none !important;
}
.cms-dropzone {
padding: 20px 14px;
}
}

/* Shared Preloader Spinner Animation & Reduced Motion */
@keyframes bh-rotate {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .bh-spin-ring,
    .bh-preloader-spinner {
        animation: none !important;
    }
    #bh-preloader {
        transition: none !important;
    }
}
