1899 lines
36 KiB
CSS
1899 lines
36 KiB
CSS
/* Production - The Idle Game: Enterprise Design System & Layout */
|
|
|
|
:root {
|
|
--bg-app: #f8fafc;
|
|
--bg-surface: #ffffff;
|
|
--bg-surface-sub: #f1f5f9;
|
|
--bg-header: rgba(255, 255, 255, 0.95);
|
|
|
|
--border-color: #e2e8f0;
|
|
--border-subtle: #cbd5e1;
|
|
--border-focus: #3b82f6;
|
|
|
|
--text-primary: #0f172a;
|
|
--text-secondary: #475569;
|
|
--text-muted: #94a3b8;
|
|
|
|
--primary-blue: #2563eb;
|
|
--primary-blue-hover: #1d4ed8;
|
|
--primary-blue-light: #eff6ff;
|
|
|
|
--emerald-profit: #10b981;
|
|
--emerald-dark: #059669;
|
|
--emerald-light: #ecfdf5;
|
|
|
|
--amber-warning: #f59e0b;
|
|
--amber-dark: #d97706;
|
|
--amber-light: #fffbeb;
|
|
|
|
--purple-rnd: #7c3aed;
|
|
--purple-light: #f5f3ff;
|
|
|
|
--font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
|
--font-mono: 'JetBrains Mono', monospace;
|
|
|
|
--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
|
|
--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
|
|
--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
|
|
|
|
--radius-sm: 6px;
|
|
--radius-md: 10px;
|
|
--radius-lg: 14px;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
-webkit-tap-highlight-color: transparent;
|
|
}
|
|
|
|
body {
|
|
background-color: var(--bg-app);
|
|
color: var(--text-primary);
|
|
font-family: var(--font-sans);
|
|
min-height: 100vh;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
.font-mono {
|
|
font-family: var(--font-mono);
|
|
}
|
|
|
|
/* ==========================================================================
|
|
EXECUTIVE STICKY HEADER & FINANCIAL HUD
|
|
========================================================================== */
|
|
|
|
#executive-header {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 100;
|
|
background: var(--bg-header);
|
|
backdrop-filter: blur(12px);
|
|
-webkit-backdrop-filter: blur(12px);
|
|
border-bottom: 1px solid var(--border-color);
|
|
box-shadow: var(--shadow-sm);
|
|
}
|
|
|
|
#corporate-status-bar {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 8px 16px;
|
|
border-bottom: 1px solid var(--border-color);
|
|
}
|
|
|
|
.corporate-brand {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.brand-logo-icon {
|
|
width: 32px;
|
|
height: 32px;
|
|
background: var(--primary-blue-light);
|
|
color: var(--primary-blue);
|
|
border-radius: var(--radius-sm);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 1.3rem;
|
|
}
|
|
|
|
.brand-title {
|
|
font-size: 1rem;
|
|
font-weight: 800;
|
|
letter-spacing: -0.02em;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.brand-subtitle {
|
|
font-size: 0.72rem;
|
|
font-weight: 600;
|
|
color: var(--primary-blue);
|
|
margin-left: 6px;
|
|
background: var(--primary-blue-light);
|
|
padding: 2px 6px;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.status-right {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.btn-icon-soft {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
background: var(--bg-surface-sub);
|
|
border: 1px solid var(--border-color);
|
|
color: var(--text-secondary);
|
|
padding: 4px 8px;
|
|
border-radius: var(--radius-sm);
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: background 0.2s;
|
|
}
|
|
|
|
.btn-icon-soft:hover {
|
|
background: var(--border-color);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.btn-user-badge {
|
|
background: none;
|
|
border: 1px solid var(--border-color);
|
|
color: var(--primary-blue);
|
|
padding: 4px 8px;
|
|
border-radius: var(--radius-sm);
|
|
font-size: 0.75rem;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
font-family: var(--font-mono);
|
|
}
|
|
|
|
.btn-user-badge:hover {
|
|
background: var(--primary-blue-light);
|
|
}
|
|
|
|
/* Financial HUD Grid */
|
|
#financial-hud {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
|
|
gap: 12px;
|
|
padding: 10px 16px;
|
|
align-items: center;
|
|
}
|
|
|
|
.hud-stat-box {
|
|
background: var(--bg-surface);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: var(--radius-md);
|
|
padding: 8px 12px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.primary-hud-box {
|
|
border-color: #bfdbfe;
|
|
background: #f8faff;
|
|
}
|
|
|
|
.hud-label {
|
|
font-size: 0.72rem;
|
|
font-weight: 600;
|
|
color: var(--text-secondary);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.04em;
|
|
}
|
|
|
|
.hud-main-val {
|
|
font-size: 1.25rem;
|
|
font-weight: 700;
|
|
color: var(--text-primary);
|
|
line-height: 1.2;
|
|
margin: 2px 0;
|
|
}
|
|
|
|
.hud-sub-val {
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.rate-positive {
|
|
color: var(--emerald-dark);
|
|
}
|
|
|
|
.text-equity {
|
|
color: var(--purple-rnd);
|
|
}
|
|
|
|
.hud-multiplier-box {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.multi-label {
|
|
font-size: 0.72rem;
|
|
font-weight: 700;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.multi-button-group {
|
|
display: flex;
|
|
background: var(--bg-surface-sub);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: var(--radius-sm);
|
|
padding: 2px;
|
|
gap: 2px;
|
|
}
|
|
|
|
.btn-multi-pill {
|
|
background: transparent;
|
|
border: none;
|
|
padding: 4px 10px;
|
|
border-radius: 4px;
|
|
font-size: 0.75rem;
|
|
font-weight: 700;
|
|
color: var(--text-secondary);
|
|
cursor: pointer;
|
|
font-family: var(--font-mono);
|
|
transition: all 0.15s;
|
|
}
|
|
|
|
.btn-multi-pill.active {
|
|
background: var(--primary-blue);
|
|
color: #ffffff;
|
|
box-shadow: var(--shadow-sm);
|
|
}
|
|
|
|
/* ==========================================================================
|
|
WORKSPACE 3-COLUMN LAYOUT (DESKTOP)
|
|
========================================================================== */
|
|
|
|
#workspace-layout {
|
|
display: flex;
|
|
width: 100%;
|
|
max-width: 1680px;
|
|
margin: 0 auto;
|
|
padding: 16px;
|
|
gap: 16px;
|
|
min-height: calc(100vh - 120px);
|
|
}
|
|
|
|
/* Left Sidebar */
|
|
#desktop-nav-sidebar {
|
|
width: 230px;
|
|
flex-shrink: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
.sidebar-section-title {
|
|
font-size: 0.72rem;
|
|
font-weight: 700;
|
|
color: var(--text-muted);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
padding: 0 4px;
|
|
}
|
|
|
|
.sidebar-nav {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.nav-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 9px 12px;
|
|
background: transparent;
|
|
border: 1px solid transparent;
|
|
border-radius: var(--radius-md);
|
|
color: var(--text-secondary);
|
|
font-size: 0.88rem;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
text-align: left;
|
|
transition: all 0.15s;
|
|
}
|
|
|
|
.nav-btn iconify-icon {
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
.nav-btn:hover {
|
|
background: var(--bg-surface);
|
|
color: var(--text-primary);
|
|
border-color: var(--border-color);
|
|
}
|
|
|
|
.nav-btn.active {
|
|
background: var(--primary-blue-light);
|
|
color: var(--primary-blue);
|
|
border-color: #bfdbfe;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.nav-pill-badge {
|
|
margin-left: auto;
|
|
background: var(--amber-dark);
|
|
color: #ffffff;
|
|
font-size: 0.7rem;
|
|
font-weight: 700;
|
|
padding: 2px 6px;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.sidebar-divider {
|
|
height: 1px;
|
|
background: var(--border-color);
|
|
margin: 4px 0;
|
|
}
|
|
|
|
.sidebar-sectors-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.sidebar-sector-btn {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 7px 10px;
|
|
background: transparent;
|
|
border: 1px solid transparent;
|
|
border-radius: var(--radius-sm);
|
|
cursor: pointer;
|
|
text-align: left;
|
|
transition: all 0.15s;
|
|
width: 100%;
|
|
}
|
|
|
|
.sidebar-sector-btn:hover {
|
|
background: var(--bg-surface);
|
|
border-color: var(--border-color);
|
|
}
|
|
|
|
.sidebar-sector-left {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-size: 0.78rem;
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.sidebar-sector-left iconify-icon {
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.sidebar-sector-rate {
|
|
font-size: 0.72rem;
|
|
font-weight: 700;
|
|
color: var(--emerald-dark);
|
|
}
|
|
|
|
.sector-pill-rate {
|
|
font-size: 0.72rem;
|
|
font-weight: 700;
|
|
color: var(--emerald-dark);
|
|
margin-left: 2px;
|
|
letter-spacing: -0.02em;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* Sector Output Summary Banner */
|
|
.sector-summary-banner {
|
|
background: var(--bg-surface);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: var(--radius-lg);
|
|
padding: 16px 20px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 14px;
|
|
box-shadow: var(--shadow-sm);
|
|
}
|
|
|
|
.sector-summary-main {
|
|
display: flex;
|
|
gap: 14px;
|
|
align-items: center;
|
|
}
|
|
|
|
.sector-summary-icon {
|
|
width: 48px;
|
|
height: 48px;
|
|
border-radius: var(--radius-md);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.sector-summary-badge {
|
|
font-size: 0.7rem;
|
|
font-weight: 800;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
.sector-summary-title {
|
|
font-size: 1.25rem;
|
|
font-weight: 800;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.sector-summary-desc {
|
|
font-size: 0.8rem;
|
|
color: var(--text-secondary);
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.sector-metrics-strip {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
|
|
gap: 10px;
|
|
background: var(--bg-surface-sub);
|
|
border-radius: var(--radius-md);
|
|
padding: 10px 14px;
|
|
}
|
|
|
|
.sector-metric-cell {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.sec-metric-label {
|
|
font-size: 0.68rem;
|
|
font-weight: 600;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.sec-metric-val {
|
|
font-size: 0.95rem;
|
|
color: var(--text-primary);
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.text-profit {
|
|
color: var(--emerald-dark);
|
|
}
|
|
|
|
/* All Sectors Overview Grid */
|
|
.all-sectors-summary-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
|
gap: 12px;
|
|
}
|
|
|
|
.sector-mini-card {
|
|
background: var(--bg-surface);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: var(--radius-md);
|
|
padding: 12px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
box-shadow: var(--shadow-sm);
|
|
cursor: pointer;
|
|
transition: all 0.15s;
|
|
}
|
|
|
|
.sector-mini-card:hover {
|
|
box-shadow: var(--shadow-md);
|
|
border-color: #cbd5e1;
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.mini-card-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.mini-card-icon {
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: var(--radius-sm);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 1.1rem;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.mini-card-title-wrap {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.mini-card-name {
|
|
font-size: 0.85rem;
|
|
font-weight: 700;
|
|
color: var(--text-primary);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.mini-card-sub {
|
|
font-size: 0.7rem;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.mini-card-stats {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 6px;
|
|
background: var(--bg-surface-sub);
|
|
padding: 6px 8px;
|
|
border-radius: var(--radius-sm);
|
|
}
|
|
|
|
.mini-stat-cell {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.mini-stat-label {
|
|
font-size: 0.65rem;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.mini-stat-cell strong {
|
|
font-size: 0.78rem;
|
|
}
|
|
|
|
/* Center Main Viewport */
|
|
#main-viewport {
|
|
flex: 1;
|
|
min-width: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
|
|
/* Right Inspector Panel (Desktop) */
|
|
#desktop-inspector-panel {
|
|
width: 340px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
/* ==========================================================================
|
|
PRODUCTION FLOOR & FACILITY CARDS
|
|
========================================================================== */
|
|
|
|
.production-toolbar {
|
|
background: var(--bg-surface);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: var(--radius-md);
|
|
padding: 6px 8px;
|
|
}
|
|
|
|
.sector-tabs-scroll {
|
|
display: flex;
|
|
gap: 6px;
|
|
width: 100%;
|
|
}
|
|
|
|
.sector-pill {
|
|
flex: 1 1 0;
|
|
min-width: 0;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 6px;
|
|
background: var(--bg-surface-sub);
|
|
border: 1px solid var(--border-color);
|
|
padding: 8px 6px;
|
|
border-radius: var(--radius-sm);
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
transition: all 0.15s;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.sector-pill iconify-icon {
|
|
font-size: 1.15rem;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.sector-pill:hover {
|
|
border-color: var(--text-muted);
|
|
}
|
|
|
|
.sector-pill.active {
|
|
background: var(--text-primary);
|
|
color: #ffffff;
|
|
border-color: var(--text-primary);
|
|
}
|
|
|
|
.sector-pill.active iconify-icon {
|
|
color: #ffffff !important;
|
|
}
|
|
|
|
.sector-pill.active .sector-pill-rate {
|
|
color: #a7f3d0;
|
|
}
|
|
|
|
.production-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
|
|
gap: 16px;
|
|
}
|
|
|
|
.facility-card {
|
|
background: var(--bg-surface);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: var(--radius-lg);
|
|
padding: 16px;
|
|
box-shadow: var(--shadow-sm);
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
min-height: 420px;
|
|
gap: 12px;
|
|
cursor: pointer;
|
|
transition: border-color 0.2s, box-shadow 0.2s;
|
|
position: relative;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.facility-card:hover {
|
|
border-color: #cbd5e1;
|
|
box-shadow: var(--shadow-md);
|
|
}
|
|
|
|
.facility-card.selected {
|
|
border-color: var(--primary-blue);
|
|
box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
|
|
}
|
|
|
|
.facility-card.locked-card {
|
|
opacity: 0.85;
|
|
background: #fbfcfe;
|
|
}
|
|
|
|
.facility-header {
|
|
display: flex;
|
|
gap: 12px;
|
|
align-items: flex-start;
|
|
min-height: 60px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.facility-icon-wrap {
|
|
width: 44px;
|
|
height: 44px;
|
|
border-radius: var(--radius-md);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.icon-lg {
|
|
font-size: 1.6rem;
|
|
}
|
|
|
|
.facility-title-wrap {
|
|
flex: 1;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.facility-meta-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 8px;
|
|
min-height: 22px;
|
|
height: 22px;
|
|
flex-wrap: nowrap;
|
|
margin-bottom: 2px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.sector-badge {
|
|
font-size: 0.7rem;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.03em;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.facility-name {
|
|
font-size: 1rem;
|
|
font-weight: 700;
|
|
color: var(--text-primary);
|
|
line-height: 1.2;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.facility-type-sub {
|
|
font-size: 0.75rem;
|
|
color: var(--text-secondary);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.facility-desc {
|
|
font-size: 0.8rem;
|
|
color: var(--text-secondary);
|
|
line-height: 1.4;
|
|
}
|
|
|
|
/* Status Badges */
|
|
.status-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
font-size: 0.7rem;
|
|
font-weight: 700;
|
|
padding: 2px 8px;
|
|
border-radius: 12px;
|
|
white-space: nowrap;
|
|
flex-shrink: 0;
|
|
height: 20px;
|
|
line-height: 1;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.badge-success {
|
|
background: var(--emerald-light);
|
|
color: var(--emerald-dark);
|
|
}
|
|
|
|
.badge-warning {
|
|
background: var(--amber-light);
|
|
color: var(--amber-dark);
|
|
animation: pulseWarning 1.5s infinite;
|
|
}
|
|
|
|
@keyframes pulseWarning {
|
|
0%, 100% { opacity: 1; }
|
|
50% { opacity: 0.75; }
|
|
}
|
|
|
|
.badge-idle {
|
|
background: var(--bg-surface-sub);
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
/* Cycle Progress Track */
|
|
.cycle-bar-track {
|
|
width: 100%;
|
|
height: 6px;
|
|
background: var(--bg-surface-sub);
|
|
border-radius: 3px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.cycle-bar-fill {
|
|
height: 100%;
|
|
transition: width 0.1s linear;
|
|
}
|
|
|
|
/* Facility Stats Grid */
|
|
.facility-stats-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 8px;
|
|
background: var(--bg-surface-sub);
|
|
border-radius: var(--radius-sm);
|
|
padding: 8px 10px;
|
|
min-height: 84px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.stat-cell {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-width: 0;
|
|
}
|
|
|
|
.stat-label {
|
|
font-size: 0.65rem;
|
|
font-weight: 600;
|
|
color: var(--text-muted);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.stat-value {
|
|
font-size: 0.78rem;
|
|
color: var(--text-primary);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.text-warning {
|
|
color: var(--amber-dark);
|
|
}
|
|
|
|
/* Inputs Strip */
|
|
.inputs-strip {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
padding: 6px 8px;
|
|
background: #f8fafc;
|
|
border: 1px dashed var(--border-color);
|
|
border-radius: var(--radius-sm);
|
|
}
|
|
|
|
.inputs-label {
|
|
font-size: 0.68rem;
|
|
font-weight: 700;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.inputs-chips {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
}
|
|
|
|
.input-chip {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
font-size: 0.72rem;
|
|
background: var(--bg-surface);
|
|
border: 1px solid var(--border-color);
|
|
padding: 2px 6px;
|
|
border-radius: 4px;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.input-chip.low-stock {
|
|
border-color: var(--amber-dark);
|
|
background: var(--amber-light);
|
|
color: var(--amber-dark);
|
|
}
|
|
|
|
/* Action Buttons */
|
|
.facility-actions-row {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
margin-top: auto;
|
|
}
|
|
|
|
.btn-primary-corp {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 6px;
|
|
background: var(--primary-blue);
|
|
color: #ffffff;
|
|
border: none;
|
|
border-radius: var(--radius-sm);
|
|
padding: 8px 12px;
|
|
font-size: 0.78rem;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
transition: background 0.15s, opacity 0.15s;
|
|
}
|
|
|
|
.btn-primary-corp:hover:not(:disabled) {
|
|
background: var(--primary-blue-hover);
|
|
}
|
|
|
|
.btn-primary-corp:disabled {
|
|
background: var(--border-subtle);
|
|
cursor: not-allowed;
|
|
opacity: 0.65;
|
|
}
|
|
|
|
.btn-corp-action {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 4px;
|
|
background: var(--emerald-dark);
|
|
color: #ffffff;
|
|
border: none;
|
|
border-radius: var(--radius-sm);
|
|
padding: 8px 12px;
|
|
font-size: 0.78rem;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.btn-corp-action:hover {
|
|
background: var(--emerald-profit);
|
|
}
|
|
|
|
.btn-corp-secondary {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 4px;
|
|
background: var(--bg-surface);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: var(--radius-sm);
|
|
padding: 7px 10px;
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.btn-corp-secondary:hover:not(:disabled) {
|
|
background: var(--bg-surface-sub);
|
|
}
|
|
|
|
.btn-corp-secondary:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.mgr-hired-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
background: var(--primary-blue-light);
|
|
color: var(--primary-blue);
|
|
font-size: 0.72rem;
|
|
font-weight: 700;
|
|
padding: 6px 10px;
|
|
border-radius: var(--radius-sm);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* ==========================================================================
|
|
B2B CONTRACTS BOARD
|
|
========================================================================== */
|
|
|
|
.contracts-header-pane {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
background: var(--bg-surface);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: var(--radius-lg);
|
|
padding: 16px 20px;
|
|
}
|
|
|
|
.view-title {
|
|
font-size: 1.25rem;
|
|
font-weight: 800;
|
|
color: var(--text-primary);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.view-subtitle {
|
|
font-size: 0.82rem;
|
|
color: var(--text-secondary);
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.contracts-meta-badge {
|
|
background: var(--bg-surface-sub);
|
|
border: 1px solid var(--border-color);
|
|
padding: 6px 14px;
|
|
border-radius: var(--radius-md);
|
|
font-size: 0.8rem;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.contracts-meta-badge strong {
|
|
color: var(--primary-blue);
|
|
margin-left: 4px;
|
|
}
|
|
|
|
.contracts-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
|
|
gap: 16px;
|
|
}
|
|
|
|
.contract-card {
|
|
background: var(--bg-surface);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: var(--radius-lg);
|
|
padding: 18px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 14px;
|
|
box-shadow: var(--shadow-sm);
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.contract-card.ready-to-fulfill {
|
|
border-color: var(--emerald-profit);
|
|
box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.2);
|
|
}
|
|
|
|
.contract-client-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.client-brand {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.client-avatar {
|
|
width: 36px;
|
|
height: 36px;
|
|
background: var(--primary-blue-light);
|
|
color: var(--primary-blue);
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
.client-name {
|
|
font-size: 0.9rem;
|
|
font-weight: 700;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.client-badge {
|
|
font-size: 0.7rem;
|
|
font-weight: 600;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.contract-timer {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
background: var(--bg-surface-sub);
|
|
padding: 4px 8px;
|
|
border-radius: var(--radius-sm);
|
|
font-size: 0.75rem;
|
|
font-weight: 700;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.timer-urgent {
|
|
background: var(--amber-light);
|
|
color: var(--amber-dark);
|
|
}
|
|
|
|
.contract-title {
|
|
font-size: 1rem;
|
|
font-weight: 700;
|
|
color: var(--text-primary);
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.contract-req-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-end;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.req-label {
|
|
font-size: 0.72rem;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.req-val-wrap {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.contract-progress-track {
|
|
width: 100%;
|
|
height: 8px;
|
|
background: var(--bg-surface-sub);
|
|
border-radius: 4px;
|
|
overflow: hidden;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.contract-progress-fill {
|
|
height: 100%;
|
|
background: var(--primary-blue);
|
|
transition: width 0.3s;
|
|
}
|
|
|
|
.contract-card.ready-to-fulfill .contract-progress-fill {
|
|
background: var(--emerald-profit);
|
|
}
|
|
|
|
.contract-payout-box {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 8px;
|
|
background: var(--bg-surface-sub);
|
|
padding: 10px;
|
|
border-radius: var(--radius-md);
|
|
}
|
|
|
|
.payout-label {
|
|
font-size: 0.7rem;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.payout-val {
|
|
font-size: 0.95rem;
|
|
font-weight: 700;
|
|
color: var(--emerald-dark);
|
|
}
|
|
|
|
/* ==========================================================================
|
|
BOARDROOM & IPO VIEW
|
|
========================================================================== */
|
|
|
|
.boardroom-header-pane {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
|
|
.boardroom-hero {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
|
|
color: #ffffff;
|
|
border-radius: var(--radius-lg);
|
|
padding: 24px;
|
|
box-shadow: var(--shadow-md);
|
|
}
|
|
|
|
.executive-tag {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
font-size: 0.75rem;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
color: #93c5fd;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.boardroom-title {
|
|
font-size: 1.5rem;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.boardroom-desc {
|
|
font-size: 0.85rem;
|
|
color: #94a3b8;
|
|
max-width: 600px;
|
|
margin-top: 6px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.hero-valuation-card {
|
|
background: rgba(255, 255, 255, 0.07);
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
border-radius: var(--radius-md);
|
|
padding: 16px 20px;
|
|
text-align: right;
|
|
}
|
|
|
|
.val-label {
|
|
font-size: 0.72rem;
|
|
color: #94a3b8;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.04em;
|
|
}
|
|
|
|
.val-number {
|
|
font-size: 1.75rem;
|
|
font-weight: 800;
|
|
color: #ffffff;
|
|
margin: 4px 0;
|
|
}
|
|
|
|
.val-lifetime {
|
|
font-size: 0.78rem;
|
|
color: #cbd5e1;
|
|
}
|
|
|
|
.ipo-action-banner {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
background: var(--bg-surface);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: var(--radius-lg);
|
|
padding: 16px 20px;
|
|
}
|
|
|
|
.ipo-banner-info {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
}
|
|
|
|
.ipo-shares-badge {
|
|
background: var(--purple-light);
|
|
color: var(--purple-rnd);
|
|
font-size: 1.1rem;
|
|
font-weight: 800;
|
|
padding: 10px 16px;
|
|
border-radius: var(--radius-md);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.boardroom-shares-summary {
|
|
display: flex;
|
|
gap: 12px;
|
|
}
|
|
|
|
.shares-pill {
|
|
background: var(--bg-surface);
|
|
border: 1px solid var(--border-color);
|
|
padding: 8px 16px;
|
|
border-radius: var(--radius-md);
|
|
font-size: 0.85rem;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.shares-val {
|
|
color: var(--purple-rnd);
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.perks-section-title {
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.perks-section-title h3 {
|
|
font-size: 1.15rem;
|
|
font-weight: 800;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.perks-section-title span {
|
|
font-size: 0.8rem;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.perks-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
|
|
gap: 16px;
|
|
}
|
|
|
|
.perk-card {
|
|
background: var(--bg-surface);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: var(--radius-lg);
|
|
padding: 16px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
.perk-header {
|
|
display: flex;
|
|
gap: 12px;
|
|
align-items: center;
|
|
}
|
|
|
|
.perk-tier-badge {
|
|
font-size: 0.7rem;
|
|
font-weight: 700;
|
|
color: var(--primary-blue);
|
|
}
|
|
|
|
.perk-name {
|
|
font-size: 0.95rem;
|
|
font-weight: 700;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.perk-desc {
|
|
font-size: 0.8rem;
|
|
color: var(--text-secondary);
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.perk-effect-box {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
background: var(--bg-surface-sub);
|
|
padding: 8px 10px;
|
|
border-radius: var(--radius-sm);
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.btn-corp-perk {
|
|
width: 100%;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 6px;
|
|
background: var(--purple-rnd);
|
|
color: #ffffff;
|
|
border: none;
|
|
border-radius: var(--radius-sm);
|
|
padding: 8px 12px;
|
|
font-size: 0.78rem;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.btn-corp-perk:disabled {
|
|
background: var(--border-subtle);
|
|
cursor: not-allowed;
|
|
opacity: 0.65;
|
|
}
|
|
|
|
/* ==========================================================================
|
|
DESKTOP INSPECTOR PANEL
|
|
========================================================================== */
|
|
|
|
.inspector-card {
|
|
background: var(--bg-surface);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: var(--radius-lg);
|
|
padding: 18px;
|
|
box-shadow: var(--shadow-sm);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
position: sticky;
|
|
top: 150px;
|
|
}
|
|
|
|
.inspector-badge-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.sector-tag {
|
|
font-size: 0.72rem;
|
|
font-weight: 700;
|
|
padding: 2px 8px;
|
|
border-radius: 4px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
.tier-tag {
|
|
font-size: 0.72rem;
|
|
font-weight: 700;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.inspector-title {
|
|
font-size: 1.15rem;
|
|
font-weight: 800;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.inspector-desc {
|
|
font-size: 0.8rem;
|
|
color: var(--text-secondary);
|
|
line-height: 1.4;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.inspector-metrics-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 8px;
|
|
background: var(--bg-surface-sub);
|
|
padding: 10px;
|
|
border-radius: var(--radius-md);
|
|
}
|
|
|
|
.metric-box {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.metric-label {
|
|
font-size: 0.68rem;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.metric-val {
|
|
font-size: 0.88rem;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.inspector-section {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.section-heading {
|
|
font-size: 0.82rem;
|
|
font-weight: 700;
|
|
color: var(--text-primary);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.section-subtext {
|
|
font-size: 0.72rem;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.liquidation-buttons {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.liquidation-buttons button {
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
font-size: 0.78rem;
|
|
padding: 8px 12px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.liquidation-btn-label {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.liquidation-btn-val {
|
|
font-family: var(--font-mono);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.chain-box {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
background: #f8fafc;
|
|
border: 1px solid var(--border-color);
|
|
border-radius: var(--radius-md);
|
|
padding: 10px;
|
|
}
|
|
|
|
.chain-title {
|
|
font-size: 0.7rem;
|
|
font-weight: 700;
|
|
color: var(--text-secondary);
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.chain-empty {
|
|
font-size: 0.75rem;
|
|
color: var(--text-muted);
|
|
font-style: italic;
|
|
}
|
|
|
|
.chain-items {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
}
|
|
|
|
.chain-item-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
background: var(--bg-surface);
|
|
border: 1px solid var(--border-color);
|
|
padding: 8px 10px;
|
|
border-radius: var(--radius-sm);
|
|
cursor: pointer;
|
|
transition: background 0.15s;
|
|
gap: 10px;
|
|
}
|
|
|
|
.chain-item-row:hover {
|
|
background: var(--primary-blue-light);
|
|
}
|
|
|
|
.chain-item-left {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
font-size: 0.78rem;
|
|
font-weight: 600;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
min-width: 0;
|
|
}
|
|
|
|
.chain-item-ratio {
|
|
font-size: 0.72rem;
|
|
color: var(--text-muted);
|
|
white-space: nowrap;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.chain-badge {
|
|
font-size: 0.68rem;
|
|
font-weight: 700;
|
|
padding: 2px 6px;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.badge-open {
|
|
background: var(--emerald-light);
|
|
color: var(--emerald-dark);
|
|
}
|
|
|
|
.badge-locked {
|
|
background: var(--bg-surface-sub);
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
/* ==========================================================================
|
|
ACHIEVEMENTS VIEW
|
|
========================================================================== */
|
|
|
|
.achievements-header-pane {
|
|
background: var(--bg-surface);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: var(--radius-lg);
|
|
padding: 16px 20px;
|
|
}
|
|
|
|
.achievements-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
|
|
gap: 16px;
|
|
}
|
|
|
|
.achievement-card {
|
|
background: var(--bg-surface);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: var(--radius-lg);
|
|
padding: 16px;
|
|
display: flex;
|
|
gap: 14px;
|
|
box-shadow: var(--shadow-sm);
|
|
}
|
|
|
|
.ach-icon-circle {
|
|
width: 44px;
|
|
height: 44px;
|
|
background: var(--bg-surface-sub);
|
|
color: var(--text-muted);
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 1.4rem;
|
|
}
|
|
|
|
.ach-icon-circle.ach-unlocked {
|
|
background: #fef3c7;
|
|
color: #d97706;
|
|
}
|
|
|
|
.ach-info-col {
|
|
flex: 1;
|
|
}
|
|
|
|
.ach-title-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
.ach-title {
|
|
font-size: 0.95rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.ach-tier-badge {
|
|
font-size: 0.7rem;
|
|
font-weight: 700;
|
|
color: var(--primary-blue);
|
|
}
|
|
|
|
.ach-desc {
|
|
font-size: 0.78rem;
|
|
color: var(--text-secondary);
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.ach-progress-bar-track {
|
|
width: 100%;
|
|
height: 6px;
|
|
background: var(--bg-surface-sub);
|
|
border-radius: 3px;
|
|
overflow: hidden;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.ach-progress-bar-fill {
|
|
height: 100%;
|
|
background: #f59e0b;
|
|
}
|
|
|
|
.ach-progress-labels {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
font-size: 0.7rem;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
/* ==========================================================================
|
|
MOBILE BOTTOM NAVIGATION & RESPONSIVE RULES
|
|
========================================================================== */
|
|
|
|
#mobile-bottom-nav {
|
|
display: none;
|
|
position: fixed;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 60px;
|
|
background: var(--bg-header);
|
|
backdrop-filter: blur(12px);
|
|
-webkit-backdrop-filter: blur(12px);
|
|
border-top: 1px solid var(--border-color);
|
|
box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.04);
|
|
z-index: 100;
|
|
justify-content: space-around;
|
|
align-items: center;
|
|
}
|
|
|
|
.nav-tab {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 3px;
|
|
background: transparent;
|
|
border: none;
|
|
color: var(--text-secondary);
|
|
font-size: 0.7rem;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
flex: 1;
|
|
padding: 8px 0;
|
|
}
|
|
|
|
.nav-tab iconify-icon {
|
|
font-size: 1.3rem;
|
|
}
|
|
|
|
.nav-tab.active {
|
|
color: var(--primary-blue);
|
|
font-weight: 700;
|
|
}
|
|
|
|
/* Responsive Breakpoints */
|
|
@media (max-width: 1023px) {
|
|
#desktop-nav-sidebar {
|
|
display: none;
|
|
}
|
|
|
|
#desktop-inspector-panel {
|
|
display: none;
|
|
}
|
|
|
|
#mobile-bottom-nav {
|
|
display: flex;
|
|
}
|
|
|
|
#workspace-layout {
|
|
padding-bottom: 80px;
|
|
}
|
|
|
|
.production-grid, .contracts-grid, .perks-grid, .achievements-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
/* ==========================================================================
|
|
TOASTS & MODALS
|
|
========================================================================== */
|
|
|
|
#toast-container {
|
|
position: fixed;
|
|
bottom: 20px;
|
|
right: 20px;
|
|
z-index: 1000;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
pointer-events: none;
|
|
}
|
|
|
|
@media (max-width: 1023px) {
|
|
#toast-container {
|
|
bottom: 74px;
|
|
left: 20px;
|
|
right: 20px;
|
|
}
|
|
}
|
|
|
|
.toast-msg {
|
|
background: #1e293b;
|
|
color: #ffffff;
|
|
padding: 10px 16px;
|
|
border-radius: var(--radius-md);
|
|
box-shadow: var(--shadow-lg);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
font-size: 0.82rem;
|
|
font-weight: 600;
|
|
animation: slideInToast 0.25s ease-out;
|
|
}
|
|
|
|
.toast-msg.toast-success {
|
|
border-left: 4px solid var(--emerald-profit);
|
|
}
|
|
|
|
.toast-msg.toast-warning {
|
|
border-left: 4px solid var(--amber-dark);
|
|
}
|
|
|
|
.toast-msg.toast-info {
|
|
border-left: 4px solid var(--primary-blue);
|
|
}
|
|
|
|
.toast-msg.fade-out {
|
|
opacity: 0;
|
|
transform: translateY(10px);
|
|
transition: all 0.3s;
|
|
}
|
|
|
|
@keyframes slideInToast {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(15px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.modal-overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: rgba(15, 23, 42, 0.6);
|
|
backdrop-filter: blur(4px);
|
|
z-index: 200;
|
|
display: none;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 16px;
|
|
}
|
|
|
|
.modal-overlay.open {
|
|
display: flex;
|
|
}
|
|
|
|
.modal-card {
|
|
background: var(--bg-surface);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: var(--radius-lg);
|
|
padding: 24px;
|
|
max-width: 420px;
|
|
width: 100%;
|
|
box-shadow: var(--shadow-lg);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
|
|
.modal-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.modal-icon {
|
|
font-size: 2rem;
|
|
color: var(--primary-blue);
|
|
}
|
|
|
|
.modal-title {
|
|
font-size: 1.15rem;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.modal-subtitle {
|
|
font-size: 0.78rem;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.input-field-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.input-field-group label {
|
|
font-size: 0.75rem;
|
|
font-weight: 700;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.modal-input {
|
|
border: 1px solid var(--border-color);
|
|
border-radius: var(--radius-sm);
|
|
padding: 8px 12px;
|
|
font-size: 0.88rem;
|
|
font-family: var(--font-sans);
|
|
outline: none;
|
|
}
|
|
|
|
.modal-input:focus {
|
|
border-color: var(--primary-blue);
|
|
}
|
|
|
|
.modal-actions-row {
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
|
|
.modal-actions-row button {
|
|
flex: 1;
|
|
padding: 10px;
|
|
}
|
|
|
|
.btn-text-close {
|
|
background: none;
|
|
border: none;
|
|
font-size: 0.78rem;
|
|
color: var(--text-muted);
|
|
cursor: pointer;
|
|
text-align: center;
|
|
}
|
|
|
|
.btn-text-close:hover {
|
|
color: var(--text-primary);
|
|
}
|