/* style.css - Premio Living OS Calmed Premium Aesthetic V3 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700&display=swap');

:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Outfit', sans-serif;
  
  /* --- PREMIUM DEEP DARK THEME (DEFAULT) --- */
  --bg-primary: #0F1117;      /* Unified Premium Dark Background */
  --bg-secondary: #12151D;    /* Slate Black Sidebar/Secondary panels */
  --bg-card: #171B24;         /* Rich Slate Card Background */
  --bg-hover: #222733;        /* Smooth selection state */
  --border-color: #2A3140;    /* Solid border color */
  --border-focus: #D4A45A;    /* Accent Gold focus ring */
  
  --color-gold: #D4A45A;      /* Primary Gold Accent */
  --color-gold-bright: #E2BA73;
  --color-emerald: #22C55E;   /* Success Emerald */
  --color-red: #EF4444;       /* Critical Red */
  --color-yellow: #F59E0B;    /* Warning Orange/Gold */
  --color-blue: #3B82F6;      /* Info Blue */
  
  --text-primary: #FFFFFF;    /* Clean high-contrast white */
  --text-secondary: #AAB2C5;  /* Balanced secondary text color */
  --text-muted: #626A7A;      /* Inactive details state */
}

/* --- LIGHT THEME (ACCESSIBLE SWITCHER OVERRIDES) --- */
body.light-mode {
  --bg-primary: #F3F4F6;      /* Soft Light Gray */
  --bg-secondary: #FFFFFF;    /* Crisp Sidebar Panel */
  --bg-card: #FFFFFF;         /* Pure White Cards */
  --bg-hover: #E5E7EB;        /* Selection / Divider state */
  --border-color: #D1D5DB;    /* Solid border lines */
  --border-focus: #B45309;    /* High contrast bronze */
  
  --color-gold: #B45309;      /* Accessible dark gold */
  --color-gold-bright: #D97706;
  --color-emerald: #059669;
  --color-red: #DC2626;
  --color-yellow: #D97706;
  --color-blue: #2563EB;
  
  --text-primary: #111827;    /* Charcoal Text */
  --text-secondary: #4B5563;  /* Balanced Gray */
  --text-muted: #9CA3AF;      /* Muted details */
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.2s ease, color 0.2s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}

/* --- OVERRIDES FOR ACCESSIBILITY --- */
.text-white {
  color: var(--text-primary) !important;
}
.text-secondary {
  color: var(--text-secondary) !important;
}
.text-muted {
  color: var(--text-muted) !important;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold);
}

/* Restrained Card Styling */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.card:hover {
  border-color: rgba(197, 168, 128, 0.3);
}

/* Active Nav Button */
.nav-btn-active {
  background-color: var(--bg-hover);
  border-left: 2px solid var(--color-gold);
  color: var(--text-primary) !important;
  font-weight: 500 !important;
}

/* Quick inputs styling */
input, select, textarea {
  background-color: var(--bg-primary) !important;
  border: 1px solid var(--border-color) !important;
  color: var(--text-primary) !important;
  height: 40px; /* Thumb-friendly height */
  border-radius: 6px !important;
  font-size: 0.825rem !important;
  padding: 0 12px !important;
  transition: border-color 0.15s ease;
}
textarea {
  height: auto !important;
  padding: 8px 12px !important;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--border-focus) !important;
  outline: none !important;
  box-shadow: 0 0 0 1px var(--border-focus) !important;
}

/* Floating Action Button & Quick action list on phones */
.fab-btn {
  position: fixed;
  bottom: 80px; /* Clears bottom nav height on mobile */
  right: 20px;
  width: 52px;
  height: 52px;
  border-radius: 26px;
  background-color: var(--color-gold);
  color: #0a0b0d;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.fab-btn:hover {
  transform: scale(1.08);
  background-color: var(--color-gold-bright);
}
.fab-btn:active {
  transform: scale(0.92);
}
@media (min-width: 768px) {
  .fab-btn {
    bottom: 24px;
    right: 24px;
  }
}

.fab-menu {
  position: fixed;
  bottom: 142px;
  right: 20px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 160px;
  animation: scaleIn 0.15s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.fab-item {
  width: 100%;
  text-align: left;
  padding: 10px 14px;
  font-size: 0.8rem;
  border-radius: 8px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.1s ease;
}
.fab-item:hover, .fab-item:active {
  background-color: var(--bg-hover);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.animate-fade-in {
  animation: fadeIn 0.15s ease-out forwards;
}
.animate-scale-in {
  animation: scaleIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Custom Table Styles */
table th {
  font-weight: 500;
  font-size: 0.725rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-color);
}
table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-color);
}

/* Hide scrollbars for layouts */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Mobile bottom nav spacer */
@media (max-width: 767px) {
  #main-content-container {
    padding-bottom: 90px !important; /* Space for Bottom Nav */
  }
}

/* Print View Styles */
@media print {
  body {
    background: white !important;
    color: black !important;
  }
  .no-print {
    display: none !important;
  }
  .print-only {
    display: block !important;
  }
}

/* --- DARK/LIGHT MODE COLOR CONTRAST OVERRIDES --- */
body.dark-mode .text-amber-500,
body.dark-mode .text-amber-400,
body.dark-mode .text-gold-color {
  color: #D4A45A !important;
}
body.dark-mode .bg-amber-500,
body.dark-mode .bg-amber-400,
body.dark-mode .bg-gold-color {
  background-color: #D4A45A !important;
  color: #0F1117 !important;
}
body.dark-mode .border-amber-500,
body.dark-mode .border-amber-400,
body.dark-mode .border-gold-color {
  border-color: #D4A45A !important;
}
body.dark-mode .hover\:bg-amber-600:hover {
  background-color: #E2BA73 !important;
  color: #0F1117 !important;
}
body.dark-mode .hover\:text-amber-400:hover {
  color: #E2BA73 !important;
}
body.dark-mode .text-emerald-500,
body.dark-mode .text-emerald-400,
body.dark-mode .text-green-500,
body.dark-mode .text-green-400 {
  color: #22C55E !important;
}
body.dark-mode .text-rose-500,
body.dark-mode .text-rose-400,
body.dark-mode .text-red-500,
body.dark-mode .text-red-400 {
  color: #EF4444 !important;
}
body.dark-mode .text-yellow-550,
body.dark-mode .text-yellow-500,
body.dark-mode .text-yellow-400,
body.dark-mode .text-amber-600 {
  color: #F59E0B !important;
}
body.dark-mode .bg-rose-500,
body.dark-mode .bg-red-500 {
  background-color: #EF4444 !important;
}
body.dark-mode .bg-emerald-500,
body.dark-mode .bg-green-500 {
  background-color: #22C55E !important;
}

body.light-mode .text-amber-500,
body.light-mode .text-amber-400 {
  color: #b45309 !important; /* amber-700 */
}
body.light-mode .text-rose-400,
body.light-mode .text-rose-500 {
  color: #be123c !important; /* rose-700 */
}
body.light-mode .text-emerald-400,
body.light-mode .text-emerald-500 {
  color: #047857 !important; /* emerald-700 */
}
body.light-mode .text-blue-400,
body.light-mode .text-blue-500 {
  color: #1d4ed8 !important; /* blue-700 */
}
body.light-mode .text-teal-400,
body.light-mode .text-teal-500 {
  color: #0f766e !important; /* teal-700 */
}
body.light-mode .text-purple-400,
body.light-mode .text-purple-500 {
  color: #6d28d9 !important; /* purple-700 */
}
body.light-mode .text-cyan-400,
body.light-mode .text-cyan-500 {
  color: #0369a1 !important; /* cyan-700 */
}
body.light-mode .text-green-400,
body.light-mode .text-green-500 {
  color: #15803d !important; /* green-700 */
}
body.light-mode .text-red-400,
body.light-mode .text-red-500 {
  color: #b91c1c !important; /* red-700 */
}

/* Force solid colors instead of transparency for bg elements in light-mode */
body.light-mode .bg-primary\/10,
body.light-mode .bg-primary\/20,
body.light-mode .bg-primary\/30,
body.light-mode .bg-primary\/40,
body.light-mode .bg-primary\/45,
body.light-mode .bg-primary\/50 {
  background-color: var(--bg-hover) !important;
}

body.light-mode .bg-secondary\/10,
body.light-mode .bg-secondary\/20,
body.light-mode .bg-secondary\/30,
body.light-mode .bg-secondary\/35,
body.light-mode .bg-secondary\/40,
body.light-mode .bg-secondary\/50 {
  background-color: var(--bg-primary) !important;
}

body.light-mode .border-border-color\/10,
body.light-mode .border-border-color\/20,
body.light-mode .border-border-color\/25,
body.light-mode .border-border-color\/30,
body.light-mode .border-border-color\/40,
body.light-mode .border-border-color\/60 {
  border-color: var(--border-color) !important;
}

/* Eliminate low-contrast transparent text colors in light mode */
body.light-mode .text-white\/20,
body.light-mode .text-white\/30,
body.light-mode .text-white\/50,
body.light-mode .text-white\/70 {
  color: var(--text-secondary) !important;
}

body.light-mode .text-secondary\/70,
body.light-mode .text-secondary\/80 {
  color: var(--text-primary) !important;
}

body.light-mode .text-amber-500\/70,
body.light-mode .text-amber-500\/80 {
  color: #b45309 !important;
}

/* Mobile Optimizations for Touch, Forms, and Typography */
@media (max-width: 767px) {
  /* Compact Top Header & Navigation */
  header.no-print {
    height: 48px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  /* Spacing: Reduce vertical spacing and section margins globally by ~35% */
  .space-y-6 > :not([hidden]) ~ :not([hidden]) {
    margin-top: 12px !important;
  }
  .space-y-4 > :not([hidden]) ~ :not([hidden]) {
    margin-top: 8px !important;
  }
  .space-y-3 > :not([hidden]) ~ :not([hidden]) {
    margin-top: 6px !important;
  }
  .space-y-2 > :not([hidden]) ~ :not([hidden]) {
    margin-top: 4px !important;
  }
  .gap-6 {
    gap: 12px !important;
  }
  .p-6 {
    padding: 12px !important;
  }
  .py-6 {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }
  .my-6 {
    margin-top: 12px !important;
    margin-bottom: 12px !important;
  }

  /* Compact Card spacing & padding */
  .card {
    padding: 10px !important;
    border-radius: 8px !important;
  }

  /* Compact Typography Sizing */
  body {
    font-size: 15px !important;
    line-height: 1.4 !important;
  }
  
  h1, .text-xl, .text-2xl {
    font-size: 20px !important;
    line-height: 1.25 !important;
  }
  h2, .text-lg {
    font-size: 16px !important;
    line-height: 1.3 !important;
  }
  h3, .text-base {
    font-size: 15px !important;
    line-height: 1.3 !important;
  }
  
  label, .text-xs.font-bold {
    font-size: 13px !important;
  }
  
  .text-[10px], .text-[9px], .text-muted, .text-[10px] * {
    font-size: 12px !important;
  }

  /* Buttons: height reduced to 42px */
  button, 
  .btn,
  input[type="button"],
  input[type="submit"] {
    min-height: 42px !important;
    height: 42px !important;
    font-size: 14px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    margin-bottom: 6px !important;
  }

  /* Form Inputs: height reduced to 40px */
  input[type="text"],
  input[type="number"],
  input[type="email"],
  input[type="password"],
  input[type="tel"],
  input[type="date"],
  select,
  textarea {
    min-height: 40px !important;
    height: 40px !important;
    font-size: 14px !important;
    padding: 8px 10px !important;
    border-radius: 6px !important;
  }
  
  textarea {
    height: auto !important;
  }
  
  /* Status badges bold */
  .badge, 
  span[class*="status"], 
  span[class*="Badge"], 
  span[class*="bg-amber-500/10"],
  span[class*="bg-rose-500/10"],
  span[class*="bg-blue-500/10"],
  span[class*="bg-emerald-500/10"] {
    font-weight: 700 !important;
    font-size: 10px !important;
  }
}

/* Quick Update Pill FAB Styles */
.fab-btn-pill {
  position: fixed;
  bottom: 74px; /* 18px above the 56px bottom nav */
  right: 16px;
  height: 48px;
  padding: 0 20px;
  border-radius: 24px;
  background-color: var(--color-gold, #D4A45A);
  color: #0a0b0d;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
}
.fab-btn-pill:hover {
  transform: translateY(-2px) scale(1.02);
  background-color: var(--color-gold-bright, #E5B56B);
}
.fab-btn-pill:active {
  transform: translateY(0) scale(0.96);
}
@media (min-width: 768px) {
  .fab-btn-pill {
    bottom: 24px;
    right: 24px;
  }
}

/* Mobile Bottom Sheet Styles */
.mobile-bottom-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #171B24;
  border-top: 1px solid #2A3140;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  padding: 24px 20px;
  z-index: 100;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
  max-width: 480px;
  margin: 0 auto;
}
.mobile-bottom-sheet.open {
  transform: translateY(0);
}
.mobile-bottom-sheet-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.mobile-bottom-sheet-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* Scroll propagation blocking custom scrollbar styling */
.custom-scroll-container {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.custom-scroll-container::-webkit-scrollbar {
  width: 4px;
}
.custom-scroll-container::-webkit-scrollbar-track {
  background: transparent;
}
.custom-scroll-container::-webkit-scrollbar-thumb {
  background: #2A3140;
  border-radius: 2px;
}

/* =========================================
   ROOM COMMAND CENTER (V3.1 Redesign)
   ========================================= */
.room-swiper {
    display: flex; gap: 12px; overflow-x: auto; padding: 16px 4px; 
    margin-bottom: 20px; scrollbar-width: none;
}
.room-swiper::-webkit-scrollbar { display: none; }
.room-pill {
    flex-shrink: 0; display: flex; flex-direction: column; align-items: center;
    gap: 6px; padding: 12px 16px; background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 16px;
    cursor: pointer; transition: all 0.3s ease; min-width: 90px; backdrop-filter: blur(10px);
}
.room-pill:hover { background: rgba(255, 255, 255, 0.1); }
.room-pill.active {
    background: rgba(99, 102, 241, 0.2); border-color: rgba(99, 102, 241, 0.6);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
}
.room-pill .icon { font-size: 24px; }
.room-pill .name { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: #cbd5e1; }
.room-pill .progress-text { font-size: 10px; color: #94a3b8; }

.room-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.room-title { font-size: 24px; font-weight: 700; color: #f8fafc; }
.room-stage-badge {
    background: rgba(251, 191, 36, 0.15); color: #fbbf24; padding: 6px 14px;
    border-radius: 20px; font-size: 13px; font-weight: 600; border: 1px solid rgba(251, 191, 36, 0.3);
}

.sop-stepper {
    display: flex; align-items: center; gap: 4px; margin-bottom: 28px;
    overflow-x: auto; padding-bottom: 8px;
}
.sop-step { display: flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 500; color: #64748b; white-space: nowrap; }
.sop-step.completed { color: #10b981; }
.sop-step.active { color: #fbbf24; font-weight: 700; }
.sop-dot { width: 10px; height: 10px; border-radius: 50%; background: #334155; }
.sop-step.completed .sop-dot { background: #10b981; box-shadow: 0 0 8px rgba(16, 185, 129, 0.5); }
.sop-step.active .sop-dot { background: #fbbf24; box-shadow: 0 0 8px rgba(251, 191, 36, 0.5); transform: scale(1.3); }
.sop-line { flex: 1; height: 2px; background: #334155; min-width: 10px; }
.sop-step.completed + .sop-line { background: #10b981; }

.action-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.action-card {
    background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px; padding: 16px; backdrop-filter: blur(10px);
}
.action-card h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: #94a3b8; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.action-card ul { list-style: none; padding: 0; margin: 0 0 12px 0; }
.action-card li { font-size: 14px; color: #e2e8f0; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.05); display: flex; justify-content: space-between; }
.action-card .add-btn {
    width: 100%; padding: 8px; background: rgba(255,255,255,0.05);
    border: 1px dashed rgba(255,255,255,0.2); border-radius: 8px;
    color: #94a3b8; font-size: 13px; cursor: pointer; transition: all 0.2s;
}
.action-card .add-btn:hover { background: rgba(255,255,255,0.1); color: #fff; }

.blocker-banner {
    background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 12px; padding: 16px; margin-bottom: 24px;
    display: flex; justify-content: space-between; align-items: center;
}
.blocker-banner.clear { background: rgba(16, 185, 129, 0.1); border-color: rgba(16, 185, 129, 0.3); }
.blocker-text { font-size: 14px; color: #fca5a5; font-weight: 500; }
.blocker-banner.clear .blocker-text { color: #6ee7b7; }

.quick-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.quick-action-btn {
    display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 20px 12px;
    background: rgba(99, 102, 241, 0.1); border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 16px; color: #a5b4fc; font-size: 13px; font-weight: 600;
    cursor: pointer; transition: all 0.2s;
}
.quick-action-btn:hover { background: rgba(99, 102, 241, 0.2); transform: translateY(-2px); }
.quick-action-btn i { width: 24px; height: 24px; }

/* =========================================
   CLEAN VISUAL EXECUTION TIMELINE
   ========================================= */
.timeline-header { margin-bottom: 24px; }
.overall-progress { margin-top: 12px; display: flex; align-items: center; gap: 12px; font-size: 13px; color: #94a3b8; }
.progress-bar-sm { flex: 1; height: 6px; background: rgba(255,255,255,0.05); border-radius: 3px; overflow: hidden; }
.progress-fill-sm { height: 100%; background: #fbbf24; border-radius: 3px; }

.clean-timeline { position: relative; padding-left: 48px; padding-bottom: 40px; }
.timeline-line {
    position: absolute; left: 31px; top: 10px; bottom: 0; width: 2px; 
    background: linear-gradient(to bottom, rgba(255,255,255,0.1), rgba(255,255,255,0.02));
}

.timeline-node { position: relative; margin-bottom: 24px; }
.timeline-dot {
    position: absolute; left: -24px; top: 20px; width: 14px; height: 14px; 
    border-radius: 50%; border: 3px solid #0f172a; z-index: 2;
}
.timeline-dot.green { background: #10b981; box-shadow: 0 0 10px rgba(16, 185, 129, 0.5); }
.timeline-dot.yellow { background: #fbbf24; box-shadow: 0 0 10px rgba(251, 191, 36, 0.5); animation: pulse 2s infinite; }
.timeline-dot.red { background: #ef4444; box-shadow: 0 0 10px rgba(239, 68, 68, 0.5); }
.timeline-dot.grey { background: #475569; }

@keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.2); } 100% { transform: scale(1); } }

.timeline-card {
    background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px; padding: 16px; backdrop-filter: blur(10px);
}

.node-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.node-title { font-size: 16px; font-weight: 600; color: #f8fafc; }
.node-progress { font-size: 14px; font-weight: 700; color: #a5b4fc; }

.node-stage { font-size: 12px; color: #94a3b8; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.5px; }

.node-log { font-size: 13px; margin-bottom: 12px; padding: 8px 12px; border-radius: 8px; }
.node-log.major-log { background: rgba(16, 185, 129, 0.1); color: #6ee7b7; border-left: 3px solid #10b981; }
.node-log.minor-log { background: rgba(255, 255, 255, 0.03); color: #cbd5e1; border-left: 3px solid #475569; }

.node-blocker {
    background: rgba(239, 68, 68, 0.1); color: #fca5a5; padding: 8px 12px; 
    border-radius: 8px; font-size: 13px; font-weight: 500; margin-bottom: 12px;
    border-left: 3px solid #ef4444;
}

.node-actions { display: flex; gap: 10px; margin-top: 12px; }
.btn-complete {
    flex: 1; padding: 10px; background: rgba(99, 102, 241, 0.2); color: #a5b4fc; 
    border: 1px solid rgba(99, 102, 241, 0.4); border-radius: 10px; font-size: 13px; font-weight: 600; cursor: pointer;
}
.btn-complete:hover { background: rgba(99, 102, 241, 0.3); }

.btn-quick {
    padding: 10px 16px; background: rgba(255, 255, 255, 0.05); color: #94a3b8; 
    border: 1px dashed rgba(255, 255, 255, 0.2); border-radius: 10px; font-size: 13px; cursor: pointer;
}
.btn-quick:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }

/* --- Add Room Pill --- */
.add-room-pill { border: 1px dashed rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.02); }
.add-room-pill:hover { background: rgba(99, 102, 241, 0.1); border-color: rgba(99, 102, 241, 0.4); }

/* --- Add Room Modal --- */
.modal-content { background: #1e293b; border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 24px; width: 90%; max-width: 400px; }
.modal-content h3 { margin-top: 0; color: #f8fafc; }
.modal-content label { display: block; font-size: 12px; color: #94a3b8; margin: 12px 0 6px 0; text-transform: uppercase; }
.modal-content input, .modal-content textarea { width: 100%; padding: 10px; background: rgba(0,0,0,0.2); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; color: #fff; font-size: 14px; box-sizing: border-box; }
.modal-content textarea { height: 80px; resize: vertical; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
.btn-cancel { background: transparent; border: none; color: #94a3b8; cursor: pointer; }
.btn-primary { background: #6366f1; color: white; border: none; padding: 10px 20px; border-radius: 8px; cursor: pointer; }

/* --- Labor Input & Share Reports --- */
.labor-input-group { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; background: rgba(255,255,255,0.03); padding: 12px 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.08); }
.labor-input-group label { font-size: 14px; color: #cbd5e1; font-weight: 500; }
.labor-input-group input { width: 60px; padding: 6px 10px; background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; color: #fbbf24; font-size: 16px; font-weight: 700; text-align: center; }

.quick-share-container { display: flex; justify-content: center; margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); }
.btn-quick-share { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; background: rgba(99, 102, 241, 0.15); color: #a5b4fc; border: 1px solid rgba(99, 102, 241, 0.4); border-radius: 12px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.2s; width: 100%; max-width: 320px; }
.btn-quick-share:hover { background: rgba(99, 102, 241, 0.25); transform: translateY(-2px); }
.btn-quick-share i { width: 16px; height: 16px; }
