@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght=700&family=Montserrat:wght=500;700;800&display=swap');

body { 
  margin: 0; 
  padding: 0; 
  background-color: #f8fafc; 
}

.cubby-room-section { 
  font-family: 'Montserrat', sans-serif !important; 
  padding: 45px 20px !important; 
  background-color: #f8fafc; 
  position: relative; 
}

.vfw-sheet-title { 
  font-family: 'Cinzel', serif !important; 
  font-size: 26px !important; 
  font-weight: 700 !important; 
  color: #0f172a !important; 
  text-align: center; 
  margin: 5px 0 25px 0 !important; 
  text-transform: uppercase; 
  letter-spacing: 0.06em; 
}

.officer-lockbox-card { 
  position: relative;
  z-index: 100;
  max-width: 850px; 
  margin: 0 auto 24px auto; 
  background: #ffffff; 
  padding: 24px; 
  border-radius: 12px; 
  border: 1px solid #e2e8f0; 
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); 
}

.lockbox-flex-row { 
  display: flex; 
  gap: 14px; 
  align-items: flex-end; 
  flex-wrap: wrap; 
  justify-content: center; 
}

.input-field-stack { 
  display: flex; 
  flex-direction: column; 
  gap: 6px; 
}

.input-field-stack label { 
  font-size: 11px; 
  font-weight: 700; 
  text-transform: uppercase; 
  color: #475569; 
  letter-spacing: 0.5px; 
}

.lockbox-input { 
  padding: 10px 14px; 
  font-family: inherit; 
  font-size: 0.9rem; 
  border: 1px solid #cbd5e1; 
  border-radius: 6px; 
  background: white; 
  outline: none; 
  min-width: 200px; 
  box-sizing: border-box; 
}

.search-filter-wrapper { 
  max-width: 850px; 
  margin: 0 auto 20px auto; 
  display: none; 
  position: relative; 
}

.search-filter-input { 
  width: 100%; 
  padding: 12px 16px 12px 42px; 
  font-family: inherit; 
  font-size: 0.95rem; 
  border: 2px solid #cbd5e1; 
  border-radius: 8px; 
  outline: none; 
  box-sizing: border-box; 
}

.search-icon-marker { 
  position: absolute; 
  left: 15px; 
  top: 50%; 
  transform: translateY(-50%); 
  font-size: 16px; 
  color: #94a3b8; 
  pointer-events: none; 
}

.btn-lockbox-verify { 
  padding: 12px 24px; 
  background: #0f172a; 
  color: white; 
  border: none; 
  font-weight: 700; 
  border-radius: 6px; 
  cursor: pointer; 
  text-transform: uppercase; 
  font-size: 11px; 
  letter-spacing: 0.5px; 
  font-family: inherit; 
}

.btn-lockbox-verify:disabled { 
  background: #64748b; 
  cursor: not-allowed; 
}

.alert-banner-text { 
  font-size: 12px; 
  font-weight: 700; 
  margin-top: 12px; 
  display: none; 
  text-align: center; 
  width: 100%; 
}

.cubby-legend-container { 
  max-width: 750px; 
  margin: 0 auto 30px auto !important; 
  padding: 16px 20px; 
  background: #ffffff; 
  border: 1px solid #e2e8f0; 
  border-radius: 12px; 
}

.cubby-legend-group { 
  display: flex; 
  flex-direction: row; 
  flex-wrap: nowrap; 
  justify-content: center; 
  align-items: center; 
  gap: 20px; 
}

.legend-item { 
  display: flex; 
  align-items: center; 
  font-size: 11px; 
  font-weight: 700; 
  color: #475569; 
  text-transform: uppercase; 
  white-space: nowrap; 
}

.legend-square { 
  width: 13px; 
  height: 13px; 
  border-radius: 4px; 
  margin-right: 6px; 
  display: inline-block; 
  border: 1px solid rgba(0,0,0,0.1); 
}

.sq-grey { background-color: #64748b; }
.sq-yellow { background-color: #eab308; }
.sq-green { background-color: #16a34a; }
.sq-red { background-color: #dc2626; }

.cubby-carousel-frame { 
  position: relative; 
  z-index: 1;
  max-width: 1024px; 
  margin: 0 auto 20px auto !important; 
  display: flex; 
  align-items: center; 
  padding-left: 55px !important; 
  overflow: hidden; 
  transition: opacity 0.3s ease; 
}

.cubby-vertical-tab { 
  position: absolute; 
  left: 0; 
  top: 50%; 
  transform: translateY(-50%); 
  width: 42px; 
  height: 120px; 
  background: #1e293b; 
  color: #f8fafc; 
  border-radius: 8px; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  transition: background-color 0.3s ease; 
}

.cubby-vertical-tab span { 
  font-family: 'Cinzel', serif !important; 
  font-size: 10px !important; 
  font-weight: 800 !important; 
  text-transform: uppercase; 
  writing-mode: vertical-lr; 
  text-orientation: mixed; 
  text-align: center; 
  letter-spacing: 0.5px; 
}

.cubby-room-grid { 
  display: flex !important; 
  flex-direction: row !important; 
  overflow-x: auto !important; 
  scroll-behavior: smooth !important; 
  gap: 6px; 
  padding: 6px 5px !important; 
  width: 100%; 
  scrollbar-width: none; 
}

.cubby-room-grid::-webkit-scrollbar { display: none; }

.cubby-wrapper { 
  display: inline-flex; 
  flex-direction: column; 
  align-items: center; 
  justify-content: space-between; 
  flex-shrink: 0; 
  width: 135px !important; 
  height: 135px !important; 
  padding: 12px 8px; 
  box-sizing: border-box; 
  border-radius: 12px; 
  border: 2px solid rgba(0,0,0,0.05) !important; 
  position: relative; 
}

.cubby-wrapper.interactive-mode { cursor: pointer; }
.cubby-wrapper.passive-mode { cursor: default; }
.cubby-found-match { 
  border-color: #0f172a !important; 
  box-shadow: 0 0 14px #eab308 !important; 
  transform: scale(1.04) !important; 
}

.cubby-top-title { 
  font-family: 'Montserrat', sans-serif !important; 
  font-size: 10px !important; 
  text-transform: uppercase !important; 
  font-weight: 700 !important; 
  color: #ffffff !important; 
  margin: 0 !important; 
  text-align: center !important; 
  width: 118px !important; 
  height: 2.4em !important; 
  display: -webkit-box !important; 
  -webkit-line-clamp: 2 !important; 
  -webkit-box-orient: vertical !important; 
  overflow: hidden !important; 
}

.indicator-wrapper-container { 
  width: 100% !important; 
  display: flex !important; 
  justify-content: center !important; 
  align-items: center !important; 
  margin: auto 0 !important; 
}

.cubby-bottom-date { 
  font-family: 'Montserrat', sans-serif !important; 
  font-size: 10px !important; 
  font-weight: 800 !important; 
  color: rgba(255, 255, 255, 0.9) !important; 
  margin: 0 !important; 
  text-transform: uppercase; 
}

.slide-nav-btn { 
  position: absolute; 
  top: 50%; 
  transform: translateY(-50%); 
  width: 32px; 
  height: 32px; 
  background: #ffffff; 
  border: 1px solid #cbd5e1; 
  color: #1e293b; 
  border-radius: 50%; 
  font-weight: 800; 
  display: none; 
  align-items: center; 
  justify-content: center; 
  cursor: pointer; 
  z-index: 10; 
}

.btn-prev-left { left: 55px; } 
.btn-next-right { right: 0px; }

.color-grey { background-color: #64748b !important; } 
.color-green { background-color: #16a34a !important; } 
.color-yellow { background-color: #eab308 !important; } 
.color-red { background-color: #dc2626 !important; }
.color-purple { background-color: #7c3aed !important; } 
.color-cyan { background-color: #06b6d4 !important; }  

.status-notice-box { 
  text-align: center; 
  padding: 40px; 
  color: #64748b; 
  font-weight: 700; 
  font-size: 14px; 
  width: 100%; 
}

/* =========================================================================
🎴 CORE VIEW PORTAL ENGINE OVERLAYS
========================================================================= */
.cubby-backside-fullscreen-overlay {
  position: fixed !important; top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
  width: 100vw !important; height: 100vh !important; background-color: #1e293b; z-index: 99999 !important;
  display: none; grid-template-columns: 380px 1fr; box-sizing: border-box; padding: 0; border-radius: 0; box-shadow: none;
}

.portal-left-panel {
  background-color: #404040 !important; 
  color: #ffffff !important; padding: 24px; box-sizing: border-box; display: flex; flex-direction: column;
  overflow-y: auto; border-right: 1px solid rgba(255,255,255,0.1); height: 100%;
}

.portal-right-viewscreen {
  background-color: #0f172a; box-sizing: border-box; display: flex; justify-content: center;
  align-items: center; position: relative; height: 100%; width: 100%; padding: 0; overflow: hidden;
}

.backside-top-nav-row { width: 100%; border-bottom: 1px solid rgba(255,255,255,0.15); padding-bottom: 12px; margin-bottom: 14px; }
.backside-meta-group h3 { font-family: 'Cinzel', serif; font-size: 18px; color: #fbbf24; margin: 0; font-weight: 700; }
.backside-meta-group p { font-size: 11px; color: #cbd5e1; margin: 4px 0 0 0; font-weight: 700; text-transform: uppercase; }

.backside-instruction-body { padding: 4px 0; margin-bottom: 14px; }
.backside-instruction-body h4 { font-size: 11px; text-transform: uppercase; color: #94a3b8; margin: 0 0 4px 0; font-weight: 800; }
.backside-instruction-body p { font-size: 12px; color: #f1f5f9; line-height: 1.5; margin: 0; font-weight: 500; }

.backside-text-input-row { display: none; flex-direction: column; gap: 4px; margin-bottom: 14px; }
.backside-text-input-row label { font-size: 11px; font-weight: 800; color: #94a3b8; text-transform: uppercase; }
.backside-text-input-row input { padding: 10px; border: 1px solid #64748b; border-radius: 6px; background: #2d3748; color: #fff; font-family: inherit; font-size: 13px; width: 100%; box-sizing: border-box; }

.backside-control-btn {
  width: 100%; padding: 12px; font-family: inherit; font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.5px; border-radius: 6px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px; border: none; transition: opacity 0.2s; margin-bottom: 8px;
}

.backside-static-canvas-message {
  color: #94a3b8; font-family: 'Courier New', Courier, monospace; font-size: 13px; text-align: center;
  padding: 30px; line-height: 1.6; max-width: 500px;
}