/* ==========================================================================
   LuminaCare - 7 Key Features & Interactive App Simulator Styles
   ========================================================================== */

/* Accent Colors for LuminaCare */
:root {
  --lumina-primary: #0284c7;
  --lumina-primary-hover: #0369a1;
  --lumina-accent: #10b981;
  --lumina-warning: #f59e0b;
  --lumina-danger: #ef4444;
  --lumina-purple: #8b5cf6;
  --lumina-bg-card: #1e293b;
  --lumina-bg-dark: #0f172a;
  --lumina-border: rgba(255, 255, 255, 0.12);
}

/* Badge Styles */
.badge-lumina {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.2), rgba(16, 185, 129, 0.2));
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Feature Cards Grid (7 Features) */
.lumina-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.lumina-feature-card {
  background: var(--lumina-bg-card);
  border: 1px solid var(--lumina-border);
  border-radius: 12px;
  padding: 1.75rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.lumina-feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 12px 24px -10px rgba(2, 132, 199, 0.3);
}

.lumina-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--lumina-primary), var(--lumina-accent));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lumina-feature-card:hover::before {
  opacity: 1;
}

.lumina-card-num {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--lumina-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.lumina-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.lumina-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.icon-ocr { background: rgba(139, 92, 246, 0.2); color: #a78bfa; }
.icon-alert { background: rgba(245, 158, 11, 0.2); color: #fbbf24; }
.icon-kasan { background: rgba(16, 185, 129, 0.2); color: #34d399; }
.icon-csv { background: rgba(2, 132, 199, 0.2); color: #38bdf8; }
.icon-stats { background: rgba(236, 72, 153, 0.2); color: #f472b6; }
.icon-mobile { background: rgba(14, 165, 233, 0.2); color: #38bdf8; }
.icon-security { background: rgba(244, 63, 94, 0.2); color: #fb7185; }

.lumina-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

.lumina-card-desc {
  font-size: 0.9rem;
  color: #94a3b8;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.lumina-card-bullets {
  list-style: none;
  padding: 0;
  margin-bottom: 1.25rem;
}

.lumina-card-bullets li {
  font-size: 0.85rem;
  color: #cbd5e1;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.lumina-card-bullets li i {
  color: var(--lumina-accent);
  margin-top: 0.2rem;
}

.lumina-btn-demo-trigger {
  width: 100%;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--lumina-border);
  color: #e2e8f0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.lumina-btn-demo-trigger:hover {
  background: var(--lumina-primary);
  color: #ffffff;
  border-color: var(--lumina-primary);
}

/* Interactive Dashboard Container */
.lumina-app-simulator {
  background: var(--lumina-bg-card);
  border: 1px solid var(--lumina-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
  margin-top: 2.5rem;
}

/* App Simulator Header Navigation Bar */
.lumina-sim-header {
  background: #0f172a;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--lumina-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.lumina-sim-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lumina-sim-logo {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #0284c7, #10b981);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
}

.lumina-sim-title {
  font-size: 1rem;
  font-weight: 700;
  color: #f8fafc;
}

.tenant-selector-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}

.tenant-select {
  background: transparent;
  border: none;
  color: #38bdf8;
  font-weight: 600;
  font-size: 0.85rem;
  outline: none;
  cursor: pointer;
}

.tenant-select option {
  background: #0f172a;
  color: #fff;
}

/* System Tabs Navigation */
.lumina-sim-tabs {
  display: flex;
  background: #1e293b;
  border-bottom: 1px solid var(--lumina-border);
  overflow-x: auto;
  scrollbar-width: thin;
}

.lumina-sim-tabs::-webkit-scrollbar {
  height: 4px;
}

.lumina-sim-tabs::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
}

.lumina-tab-btn {
  padding: 0.9rem 1.25rem;
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease;
}

.lumina-tab-btn:hover {
  color: #f1f5f9;
  background: rgba(255, 255, 255, 0.03);
}

.lumina-tab-btn.active {
  color: #38bdf8;
  border-bottom-color: #0284c7;
  background: rgba(2, 132, 199, 0.1);
}

.caredoc-tab-btn {
  padding: 0.9rem 1.25rem;
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease;
}

.caredoc-tab-btn:hover {
  color: #f1f5f9;
  background: rgba(255, 255, 255, 0.03);
}

.caredoc-tab-btn.active {
  color: #34d399;
  border-bottom-color: #10b981;
  background: rgba(16, 185, 129, 0.12);
}

/* Tab Panels Content */
.lumina-sim-content {
  padding: 1.75rem;
  min-height: 520px;
}

.lumina-panel {
  display: none;
}

.lumina-panel.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Tab 1: AI OCR Simulator Styles
   ========================================================================== */
.ocr-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .ocr-layout-grid { grid-template-columns: 1fr; }
}

.ocr-upload-card {
  background: rgba(15, 23, 42, 0.6);
  border: 2px dashed rgba(56, 189, 248, 0.3);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  position: relative;
}

.ocr-sample-btns {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.btn-sample {
  padding: 0.4rem 0.8rem;
  font-size: 0.8rem;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-sample:hover {
  background: #0284c7;
  color: #fff;
}

.ocr-preview-box {
  margin-top: 1.25rem;
  height: 220px;
  background: #090d16;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.scan-beam {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, #38bdf8, transparent);
  box-shadow: 0 0 15px #38bdf8;
  display: none;
}

.scan-beam.scanning {
  display: block;
  animation: scanMove 2s infinite ease-in-out;
}

@keyframes scanMove {
  0% { top: 0; }
  50% { top: 95%; }
  100% { top: 0; }
}

.ocr-form-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--lumina-border);
  border-radius: 12px;
  padding: 1.5rem;
}

.ocr-field-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

.ocr-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.ocr-field label {
  font-size: 0.8rem;
  color: #94a3b8;
  font-weight: 600;
}

.ocr-field input {
  background: #090d16;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #38bdf8;
  font-weight: 600;
  padding: 0.55rem 0.75rem;
  border-radius: 6px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.ocr-field input.highlighted {
  border-color: #10b981;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.1);
}

/* ==========================================================================
   Tab 2: Certificate Alert Board Styles
   ========================================================================== */
.alert-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.filter-btn-group {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.btn-filter {
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-filter.active, .btn-filter:hover {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
}

.user-table-wrapper {
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid var(--lumina-border);
}

.lumina-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.875rem;
}

.lumina-table th {
  background: #0f172a;
  color: #94a3b8;
  padding: 0.85rem 1rem;
  font-weight: 600;
  border-bottom: 1px solid var(--lumina-border);
}

.lumina-table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
}

.lumina-table tr.bg-row-danger {
  background: rgba(239, 68, 68, 0.12);
}

.lumina-table tr.bg-row-warning {
  background: rgba(245, 158, 11, 0.1);
}

.status-badge {
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.badge-expired { background: rgba(239, 68, 68, 0.2); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.4); }
.badge-warning { background: rgba(245, 158, 11, 0.2); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.4); }
.badge-success { background: rgba(16, 185, 129, 0.2); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.4); }

.days-bar {
  width: 100px;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 0.25rem;
}

.days-fill {
  height: 100%;
  border-radius: 3px;
}

/* ==========================================================================
   Tab 3: Additions & Delay Management Styles
   ========================================================================== */
.kasan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 868px) {
  .kasan-grid { grid-template-columns: 1fr; }
}

.kasan-box {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--lumina-border);
  border-radius: 12px;
  padding: 1.5rem;
}

.kasan-item-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.kasan-checkbox-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all 0.2s;
}

.kasan-checkbox-label:hover {
  background: rgba(2, 132, 199, 0.1);
  border-color: rgba(56, 189, 248, 0.3);
}

.kasan-checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #0284c7;
  cursor: pointer;
}

.unit-tag {
  font-size: 0.8rem;
  font-weight: 700;
  color: #34d399;
  background: rgba(16, 185, 129, 0.15);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

/* Kanban Board for Delays & Returns */
.kanban-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .kanban-board { grid-template-columns: repeat(2, 1fr); }
}

.kanban-col {
  background: #090d16;
  border-radius: 8px;
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 220px;
}

.kanban-col-head {
  font-size: 0.8rem;
  font-weight: 700;
  color: #94a3b8;
  margin-bottom: 0.75rem;
  display: flex;
  justify-content: space-between;
}

.kanban-card {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 0.75rem;
  margin-bottom: 0.5rem;
  font-size: 0.825rem;
  cursor: pointer;
  transition: all 0.2s;
}

.kanban-card:hover {
  border-color: #38bdf8;
  transform: scale(1.02);
}

/* ==========================================================================
   Tab 4: CSV Verification Engine Styles
   ========================================================================== */
.csv-upload-banner {
  background: rgba(2, 132, 199, 0.1);
  border: 1px dashed #0284c7;
  border-radius: 10px;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.csv-diff-card {
  background: #0f172a;
  border-radius: 10px;
  padding: 1rem;
  border: 1px solid var(--lumina-border);
  margin-bottom: 1rem;
}

.diff-alert-tag {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-weight: 700;
}

/* ==========================================================================
   Tab 5: Staff Stats & Dashboard Styles
   ========================================================================== */
.stats-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stat-metric-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--lumina-border);
  border-radius: 10px;
  padding: 1.25rem;
}

.stat-val {
  font-size: 1.75rem;
  font-weight: 800;
  color: #38bdf8;
  line-height: 1.2;
}

.checklist-box {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--lumina-border);
  border-radius: 10px;
  padding: 1.25rem;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.875rem;
  color: #cbd5e1;
}

.check-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #10b981;
  cursor: pointer;
}

/* ==========================================================================
   Tab 6: Responsive Device Simulator Styles
   ========================================================================== */
.device-toggle-bar {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.mobile-frame-container {
  max-width: 380px;
  margin: 0 auto;
  background: #090d16;
  border: 12px solid #334155;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.7);
  position: relative;
}

.mobile-notch {
  width: 140px;
  height: 20px;
  background: #334155;
  margin: 0 auto;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

.mobile-screen-content {
  padding: 1rem;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mobile-bottom-nav {
  display: flex;
  justify-content: space-around;
  background: #1e293b;
  padding: 0.6rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  margin-top: 1rem;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.7rem;
  color: #94a3b8;
  cursor: pointer;
}

.mobile-nav-item.active {
  color: #38bdf8;
}

/* ==========================================================================
   Tab 7: Multi-tenant Security RLS Styles
   ========================================================================== */
.security-banner {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.rls-log-console {
  background: #090d16;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1rem;
  font-family: monospace;
  font-size: 0.8rem;
  color: #34d399;
  line-height: 1.6;
}

/* ==========================================================================
   Panel 0: LuminaCare v3.36.0 Real System UI (Client Management Table)
   ========================================================================== */
.lc-app-container {
  display: flex;
  background: #f8fafc;
  color: #1e293b;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  min-height: 600px;
  border: 1px solid #cbd5e1;
}

/* Left Sidebar */
.lc-app-sidebar {
  width: 220px;
  background: #1e293b;
  color: #f8fafc;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem 0;
  flex-shrink: 0;
}

.lc-app-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 1.25rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.lc-app-logo-badge {
  width: 36px;
  height: 36px;
  background: #10b981;
  color: #ffffff;
  font-weight: 900;
  font-size: 1.1rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lc-app-brand-title {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.lc-app-brand-sub {
  font-size: 0.75rem;
  color: #94a3b8;
}

.lc-app-nav {
  display: flex;
  flex-direction: column;
  margin-top: 1rem;
}

.lc-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.lc-nav-item:hover, .lc-nav-item.active {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.lc-nav-item.active {
  border-left-color: #10b981;
  color: #10b981;
  background: #0f172a;
}

.lc-app-sidebar-footer {
  padding: 1rem 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.lc-org-badge {
  background: rgba(255, 255, 255, 0.05);
  padding: 0.6rem 0.85rem;
  border-radius: 8px;
  margin-bottom: 0.75rem;
}

.lc-org-label {
  display: block;
  font-size: 0.7rem;
  color: #94a3b8;
}

.lc-org-val {
  display: block;
  font-size: 0.85rem;
  color: #ffffff;
}

.lc-ver-tag {
  font-size: 0.7rem;
  color: #10b981;
  line-height: 1.4;
}

/* Main Area */
.lc-app-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  overflow: hidden;
}

/* Top Toolbar */
.lc-app-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.lc-page-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.lc-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.lc-search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.lc-search-input-wrap i {
  position: absolute;
  left: 0.75rem;
  color: #94a3b8;
  font-size: 0.85rem;
}

.lc-search-input {
  padding: 0.4rem 0.75rem 0.4rem 2.2rem;
  border: 1px solid #cbd5e1;
  border-radius: 20px;
  font-size: 0.8rem;
  width: 200px;
  background: #f8fafc;
}

.lc-filter-select-wrap {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  color: #475569;
  background: #f1f5f9;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
}

.lc-select {
  border: none;
  background: transparent;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  outline: none;
}

.lc-month-picker {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid #cbd5e1;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #1e293b;
  background: #ffffff;
}

.lc-btn-icon {
  background: none;
  border: none;
  cursor: pointer;
  color: #64748b;
  padding: 0.1rem 0.3rem;
}

.lc-btn {
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid transparent;
  transition: all 0.2s;
}

.lc-btn-outline {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #334155;
}

.lc-btn-success {
  background: #10b981;
  color: #ffffff;
}

.lc-btn-csv {
  background: #0f172a;
  color: #ffffff;
}

.lc-user-profile {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #334155;
  margin-left: 0.5rem;
}

/* Scrollable Table Area */
.lc-table-scroll-container {
  overflow-x: auto;
  flex: 1;
}

.lc-client-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
  white-space: nowrap;
}

.lc-client-table th {
  background: #f8fafc;
  color: #64748b;
  font-weight: 700;
  text-align: left;
  padding: 0.75rem 0.75rem;
  border-bottom: 2px solid #e2e8f0;
}

.lc-client-table td {
  padding: 0.75rem 0.75rem;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: middle;
}

/* User Info Styling */
.lc-user-name {
  font-size: 0.65rem;
  color: #94a3b8;
}

.lc-user-fullname {
  font-size: 0.9rem;
  font-weight: 800;
  color: #0f172a;
}

.lc-user-age {
  font-size: 0.75rem;
  font-weight: normal;
  color: #64748b;
}

.lc-user-id {
  font-size: 0.7rem;
  color: #94a3b8;
  font-family: monospace;
}

/* Badges */
.lc-badge {
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 800;
  display: inline-block;
  text-align: center;
}

.badge-applying {
  background: #e0f2fe;
  color: #0284c7;
}

.badge-expire-this-month {
  background: #fef3c7;
  color: #d97706;
}

.badge-active {
  background: #dcfce7;
  color: #15803d;
}

/* Select Control Stack */
.lc-select-stack, .lc-insurer-stack {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.lc-table-select {
  border: 1px solid #86efac;
  border-radius: 6px;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  background: #f0fdf4;
  color: #166534;
  cursor: pointer;
}

.lc-table-select.select-kaigo5 {
  border-color: #93c5fd;
  background: #eff6ff;
  color: #1d4ed8;
}

.lc-table-select.select-shien2, .lc-table-select.select-shien1 {
  border-color: #86efac;
  background: #f0fdf4;
  color: #15803d;
}

.lc-table-select.select-shitei, .lc-table-select.select-entrust {
  border-color: #fde68a;
  background: #fffbeb;
  color: #b45309;
}

.lc-insurer-select {
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 0.15rem 0.4rem;
  font-size: 0.7rem;
  background: #ffffff;
  color: #334155;
}

/* Period Boxes */
.lc-period-box {
  border-radius: 6px;
  padding: 0.35rem 0.6rem;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: monospace;
}

.lc-period-box.border-green {
  border: 1px solid #86efac;
  background: #f0fdf4;
  color: #166534;
}

.lc-period-box.border-warning {
  border: 1px solid #fde68a;
  background: #fffbeb;
  color: #92400e;
}

.lc-wave {
  color: #94a3b8;
}

.text-warning-bold {
  color: #d97706;
  font-weight: 800;
}

/* Date cells */
.lc-date-cell {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: #334155;
  border: 1px solid #cbd5e1;
  padding: 0.3rem 0.5rem;
  border-radius: 4px;
  background: #ffffff;
}

.lc-date-cell.text-red-bold {
  color: #dc2626;
  font-weight: 800;
}

.lc-date-cell.text-green {
  color: #16a34a;
  font-weight: 700;
}

.lc-date-input-box {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 4px;
  padding: 0.3rem 0.5rem;
  font-size: 0.75rem;
}

.lc-date-input-box.box-orange {
  border: 1px solid #fdba74;
  background: #fff7ed;
  color: #c2410c;
}

/* Kasan Pill & Button */
.lc-kasan-pill {
  border-radius: 6px;
  padding: 0.35rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-block;
}

.pill-green {
  border: 1px solid #86efac;
  background: #f0fdf4;
  color: #15803d;
}

.lc-btn-kasan-set {
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #64748b;
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  cursor: pointer;
}

/* Billing & Delays */
.lc-billing-group {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.lc-billing-select {
  border-radius: 6px;
  padding: 0.3rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

.lc-billing-select.select-normal {
  border: 1px solid #86efac;
  background: #f0fdf4;
  color: #15803d;
}

.lc-billing-select.select-target {
  border: 1px solid #93c5fd;
  background: #eff6ff;
  color: #1d4ed8;
}

.lc-billing-select.select-delay {
  border: 1px solid #fde68a;
  background: #fffbeb;
  color: #b45309;
}

.lc-btn-month-delay {
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #334155;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.lc-btn-month-delay:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.lc-muted {
  color: #cbd5e1;
}

.lc-scroll-bar-indicator {
  height: 12px;
  background: #f1f5f9;
  border-top: 1px solid #e2e8f0;
  position: relative;
}

.lc-scroll-thumb {
  position: absolute;
  left: 20%;
  width: 40%;
  height: 8px;
  top: 2px;
  background: #cbd5e1;
  border-radius: 4px;
}

/* ==========================================================================
   Real Screenshot Container Styles
   ========================================================================== */
.lumina-real-screenshot-container {
  background: #0f172a;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--lumina-border);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.screenshot-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1e293b;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--lumina-border);
}

.window-dots {
  display: flex;
  gap: 0.4rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.window-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #f8fafc;
}

.badge-live-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: #34d399;
  background: rgba(16, 185, 129, 0.15);
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.screenshot-img-wrapper {
  width: 100%;
  background: #000000;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.lumina-real-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.lumina-real-img:hover {
  transform: scale(1.008);
}

.screenshot-caption {
  padding: 1.25rem;
  background: rgba(15, 23, 42, 0.95);
  border-top: 1px solid var(--lumina-border);
  color: #cbd5e1;
  font-size: 0.9rem;
  line-height: 1.6;
}

.screenshot-caption-bullets {
  list-style: disc;
  margin-top: 0.5rem;
  padding-left: 1.25rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1rem;
}

@media (max-width: 768px) {
  .screenshot-caption-bullets {
    grid-template-columns: 1fr;
  }
}

.sales-explain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 0.75rem;
}

@media (max-width: 768px) {
  .sales-explain-grid {
    grid-template-columns: 1fr;
  }
}

.explain-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0.85rem 1rem;
}


