/* ==========================================================================
   GENT VIGILON FIRE SYSTEM (HONEYWELL) FASCIA STYLES
   Pixel-accurate rendition of the Gent Vigilon EN54 Control Panel
   ========================================================================== */

:root {
  --gent-cabinet-bg: #2d3339;
  --gent-cabinet-border: #1a1e22;
  --gent-card-border: #424952;
  
  --gent-lcd-bg: #b0d4d4;
  --gent-lcd-text: #0e2424;
  
  --gent-led-red: #ff2222;
  --gent-led-yellow: #ffb300;
  --gent-led-green: #14db3c;
  
  --gent-led-off-red: #2b1111;
  --gent-led-off-yellow: #29240f;
  --gent-led-off-green: #0a1f11;
  
  --gent-btn-bg: #3f4750;
  --gent-btn-border: #1e2327;
}

/* Outer Cabinet */
.gent-cabinet {
  position: relative;
  width: 580px;
  max-width: 100%;
  margin: 0 auto;
  background: var(--gent-cabinet-bg);
  border: 4px solid var(--gent-cabinet-border);
  border-radius: 8px;
  box-shadow: 
    0 18px 50px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -2px 0 rgba(0, 0, 0, 0.45);
  padding: 16px 20px 22px 20px;
  box-sizing: border-box;
  user-select: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* --------------------------------------------------------------------------
   1. TOP ZONE INDICATOR LED ARRAY (ZONES 1 - 32)
   -------------------------------------------------------------------------- */
.gent-top-zones-card {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--gent-card-border);
  border-radius: 4px;
  padding: 5px 8px;
  box-sizing: border-box;
}

.gent-zones-header {
  font-size: 7.5px;
  font-weight: 700;
  color: #94a3b8;
  margin-bottom: 3px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.gent-zones-grid {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gent-zones-row {
  display: grid;
  grid-template-columns: repeat(16, 1fr);
  gap: 3px;
}

.gent-zone-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5px;
}

.gent-zone-led {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gent-led-off-red);
  border: 0.5px solid #111;
  transition: all 0.15s ease;
}

.gent-zone-led.active {
  background: var(--gent-led-red);
  box-shadow: 0 0 6px #ff2222;
  border-color: #fff;
}

.gent-zone-num {
  font-size: 7px;
  font-weight: 700;
  color: #64748b;
  line-height: 1;
}

/* --------------------------------------------------------------------------
   2. MIDDLE DISPLAY ROW: FAULT ANNUNCIATOR | LCD SCREEN | FIRE ANNUNCIATOR
   -------------------------------------------------------------------------- */
.gent-display-row {
  display: flex;
  gap: 12px;
  align-items: stretch;
}

/* Annunciator Column Base */
.gent-annun-col {
  flex: 0 0 100px;
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid var(--gent-card-border);
  border-radius: 4px;
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  box-sizing: border-box;
}

.gent-annun-header {
  font-size: 9px;
  font-weight: 800;
  text-align: center;
  border: 1px solid #64748b;
  border-radius: 2px;
  padding: 2px 0;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.gent-annun-header.fire {
  color: #ff4d4d;
  border-color: #ff4d4d;
}

.gent-annun-header.fault {
  color: #fbbf24;
  border-color: #fbbf24;
}

.gent-annun-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  font-size: 7.5px;
  font-weight: 700;
  color: #cbd5e1;
  line-height: 1.1;
}

.gent-annun-box {
  border: 1px solid #475569;
  border-radius: 2px;
  padding: 3px;
  margin-top: 2px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gent-annun-box-title {
  font-size: 6.5px;
  font-weight: 800;
  color: #94a3b8;
  text-align: center;
}

.gent-led-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 0.5px solid #111;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.gent-led-dot.red {
  background: var(--gent-led-off-red);
}
.gent-led-dot.red.active {
  background: var(--gent-led-red);
  box-shadow: 0 0 6px #ff2222;
  border-color: #fff;
}

.gent-led-dot.yellow {
  background: var(--gent-led-off-yellow);
}
.gent-led-dot.yellow.active {
  background: var(--gent-led-yellow);
  box-shadow: 0 0 6px #ffb300;
  border-color: #fff;
}

.gent-led-dot.green {
  background: var(--gent-led-off-green);
}
.gent-led-dot.green.active {
  background: var(--gent-led-green);
  box-shadow: 0 0 6px #14db3c;
  border-color: #fff;
}

/* Center Blue-Green LCD */
.gent-lcd-frame {
  flex: 1;
  background: #111518;
  border: 2px solid #1e2429;
  border-radius: 4px;
  padding: 4px;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.8);
  box-sizing: border-box;
}

.gent-lcd-screen {
  background: var(--gent-lcd-bg);
  color: var(--gent-lcd-text);
  border-radius: 2px;
  height: 125px;
  padding: 6px 8px;
  box-sizing: border-box;
  font-family: "Lucida Console", "Consolas", monospace, sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: inset 0 0 8px rgba(0,0,0,0.25);
}

.gent-lcd-line1 {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 800;
  border-bottom: 1px dashed rgba(14, 36, 36, 0.4);
  padding-bottom: 2px;
}

.gent-lcd-body {
  font-size: 10px;
  line-height: 1.4;
  text-align: center;
  font-weight: 700;
}

.gent-lcd-footer {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  font-weight: 800;
  border-top: 1px dashed rgba(14, 36, 36, 0.4);
  padding-top: 2px;
}

/* --------------------------------------------------------------------------
   3. MIDDLE CONTROLS: MENU BUTTON | SOFTKEYS F1-F4 | USER PAD U1-U4
   -------------------------------------------------------------------------- */
.gent-middle-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 4px;
}

.gent-menu-btn-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.gent-round-btn {
  background: linear-gradient(180deg, #47525d 0%, #2f373f 100%);
  border: 1.5px solid #1a2026;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.35);
  font-size: 10px;
  font-weight: 800;
  color: #f1f5f9;
  transition: all 0.1s ease;
}

.gent-round-btn:active {
  transform: translateY(1px);
  background: #1e242a;
}

.gent-btn-caption {
  font-size: 7px;
  font-weight: 700;
  color: #94a3b8;
  line-height: 1;
}

/* F1 - F4 Softkeys Group */
.gent-softkeys-group {
  display: flex;
  gap: 16px;
}

/* U1 - U4 User Pad */
.gent-user-pad {
  background: rgba(0,0,0,0.25);
  border: 1.5px solid var(--gent-card-border);
  border-radius: 8px;
  padding: 4px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
}

.gent-user-btn {
  background: linear-gradient(180deg, #47525d 0%, #2f373f 100%);
  border: 1px solid #1a2026;
  border-radius: 4px;
  width: 22px;
  height: 20px;
  font-size: 8px;
  font-weight: 800;
  color: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.gent-user-btn:active {
  background: #1e242a;
}

/* --------------------------------------------------------------------------
   4. ACTION BUTTONS: SOUND ALARMS | VERIFY | SILENCE | RESET | CANCEL BUZZER
   -------------------------------------------------------------------------- */
.gent-action-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 2px;
}

/* Sound Alarms Red Button */
.gent-sound-alarms-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.gent-sound-alarms-btn {
  background: #c52222;
  border: 2px solid #8e1414;
  border-radius: 8px;
  width: 44px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 3px 6px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.4);
  font-size: 18px;
  color: #ffffff;
  transition: all 0.1s ease;
}

.gent-sound-alarms-btn:active {
  transform: translateY(1px);
  background: #9b1919;
}

.gent-sound-alarms-label {
  font-size: 6.5px;
  font-weight: 800;
  color: #ff4d4d;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  text-align: center;
}

/* 4 Main Action Buttons */
.gent-actions-grid {
  flex: 1;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.gent-action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  flex: 1;
}

.gent-action-btn {
  background: linear-gradient(180deg, #38404a 0%, #262c33 100%);
  border: 1.5px solid #181d22;
  border-radius: 6px;
  width: 44px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.35);
  font-size: 15px;
  color: #f1f5f9;
  transition: all 0.1s ease;
}

.gent-action-btn:active {
  transform: translateY(1px);
  background: #1a1e23;
}

.gent-action-label {
  font-size: 6.5px;
  font-weight: 800;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  text-align: center;
  line-height: 1.1;
}

/* --------------------------------------------------------------------------
   5. LOWER QWERTY KEYPAD & D-PAD NAVIGATION CLUSTER
   -------------------------------------------------------------------------- */
.gent-lower-deck {
  display: flex;
  gap: 12px;
  align-items: center;
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid var(--gent-card-border);
  border-radius: 6px;
  padding: 8px 10px;
}

/* QWERTY Dome Keypad */
.gent-qwerty-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gent-qwerty-row {
  display: flex;
  gap: 4px;
  justify-content: center;
}

.gent-key-dome {
  background: radial-gradient(circle at 50% 30%, #566370 0%, #333c44 80%);
  border: 1px solid #1e242a;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 3px rgba(0,0,0,0.4);
  font-size: 8.5px;
  font-weight: 800;
  color: #cbd5e1;
  transition: all 0.1s ease;
  font-family: Arial, sans-serif;
}

.gent-key-dome:active {
  background: #252b31;
  transform: translateY(1px);
}

.gent-key-dome.special {
  width: 32px;
  border-radius: 11px;
  font-size: 7.5px;
}

/* D-Pad Diamond Navigation Cluster */
.gent-dpad-box {
  flex: 0 0 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.gent-dpad-middle-row {
  display: flex;
  align-items: center;
  gap: 2px;
}

.gent-nav-btn {
  background: linear-gradient(180deg, #47525d 0%, #2f373f 100%);
  border: 1.5px solid #1a2026;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  font-size: 9px;
  font-weight: 800;
  color: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.35);
  transition: all 0.1s ease;
}

.gent-nav-btn:active {
  background: #1c2227;
  transform: translateY(1px);
}

.gent-nav-btn.center {
  font-size: 7px;
  border-radius: 50%;
}
