@charset "UTF-8";
/* ============================================================
   hollywoodneon.css — Phase 10
   DOCTRINE: Neon Glass, Panels, Buttons, Nav & Forms
   ============================================================ */

/* APP BACKGROUND — NEON VAULT */
.ms-body {
  background:
    radial-gradient(circle at top, #1b2340 0, #05060a 55%, #000 100%),
    radial-gradient(circle at bottom, rgba(0, 180, 255, 0.18) 0, transparent 55%);
  color: #fff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* SCANLINE OVERLAYS */
.ms-scan-line {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(0,255,0,0) 0%,
    rgba(0,255,0,0.8) 50%,
    rgba(0,255,0,0) 100%
  );
  animation: scanMove 2.4s linear infinite;
  z-index: 999999;
  pointer-events: none;
}

.ms-scanline-overlay {
  pointer-events: none;
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.03) 0px,
    rgba(255,255,255,0.03) 1px,
    transparent 2px,
    transparent 4px
  );
  z-index: 9999;
}

@keyframes scanMove {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* PANELS — NEON GLASS + VISIBILITY ENGINE */
.ms-panel {
  position: fixed; /* Force panels to stack on top of each other */
  top: 0;
  left: 0;
  right: 0;
  bottom: 70px; /* Leave space for the bottom nav */
  background: radial-gradient(circle at top left,
              rgba(0, 200, 255, 0.18),
              rgba(10, 10, 20, 0.92));
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
  border: 1px solid rgba(0, 220, 255, 0.35);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.85),
    0 0 30px rgba(0, 200, 255, 0.25);

  opacity: 0;
  pointer-events: none;
  transform: translateX(40px);
  will-change: transform, opacity, filter;

  transition:
    transform 0.18s cubic-bezier(0.25, 0.9, 0.4, 1),
    opacity 0.25s ease,
    filter 0.18s ease-out;
  
  overflow-y: auto; /* Allow scrolling within the panel */
}

.ms-panel.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  filter: drop-shadow(0 0 18px rgba(0, 220, 255, 0.7));
}

.ms-panel.slide-out-left {
  transform: translateX(-60px);
  opacity: 0;
  filter: blur(6px) brightness(0.7);
}

.ms-panel.slide-out-right {
  transform: translateX(60px);
  opacity: 0;
  filter: blur(6px) brightness(0.7);
}

.ms-panel-container {
  padding: 18px 18px 80px;
}

/* HEADER — NEON TAG */
.ms-header-box {
  margin-bottom: 16px;
}

.ms-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ms-title {
  font-size: 1.1rem;
  font-weight: 600;
}

.ms-pqc-tag {
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(0, 200, 255, 0.25);
  border: 1px solid rgba(0, 200, 255, 0.4);
  backdrop-filter: blur(10px);
}

.ms-subtitle {
  opacity: 0.75;
  font-size: 0.85rem;
  margin-top: 4px;
}

/* LISTS & CARDS */
.ms-list-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.ms-list-item {
  padding: 10px 12px;
  border-radius: 12px;
}

.glass-card {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(0, 220, 255, 0.25);
  box-shadow:
    0 0 14px rgba(0, 200, 255, 0.25);
}

.ms-list-item.glass-card:hover {
  border-color: rgba(0, 255, 255, 0.55);
  box-shadow:
    0 0 12px rgba(0, 255, 255, 0.35),
    0 0 24px rgba(0, 140, 255, 0.25),
    inset 0 0 8px rgba(0, 255, 255, 0.15);
  transform: translateY(-2px);
}

.ms-settings-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.ms-settings-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ms-settings-label {
  font-size: 0.8rem;
  opacity: 0.8;
}

.ms-settings-value {
  font-size: 0.9rem;
}

/* NEON TEXT COLORS */
.neon-cyan {
  color: #00eaff;
  text-shadow:
    0 0 6px rgba(0, 220, 255, 0.9),
    0 0 12px rgba(0, 220, 255, 0.6);
}

.neon-green {
  color: #00ff66;
  text-shadow:
    0 0 6px rgba(0, 255, 120, 0.9),
    0 0 12px rgba(0, 255, 120, 0.6);
}

/* BUTTONS — NEON GLASS */
.ms-button-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}

.ms-btn {
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.7);
  color: #fff;
  background: radial-gradient(circle at top, #2f9bff, #0040c0);
  cursor: pointer;
  transition:
    opacity 0.18s ease,
    transform 0.12s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.ms-btn:hover {
  opacity: 0.95;
  border-color: rgba(255, 255, 255, 0.4);
}

.ms-btn:active {
  transform: translateY(1px) scale(0.97);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.8);
}

/* ROLE-SPECIFIC BUTTONS */
.ms-btn-video {
  background: radial-gradient(circle at top, #2f9bff, #0040c0);
  box-shadow: 0 0 18px rgba(0, 160, 255, 0.6);
}

.ms-btn-voice {
  background: radial-gradient(circle at top, #00e07a, #00753c);
  box-shadow: 0 0 18px rgba(0, 255, 160, 0.5);
}

.ms-btn-attach {
  background: radial-gradient(circle at top, #777, #333);
  box-shadow: 0 0 14px rgba(180, 180, 180, 0.3);
}

.ms-btn-kill {
  background: radial-gradient(circle at top, #ff0033, #5a0000);
  border: 1px solid rgba(255, 0, 60, 0.55);
  box-shadow:
    0 0 14px rgba(255, 0, 60, 0.55),
    0 0 28px rgba(255, 0, 60, 0.35);
  color: #fff;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.ms-btn-kill:hover {
  box-shadow:
    0 0 18px rgba(255, 40, 80, 0.85),
    0 0 36px rgba(255, 40, 80, 0.55);
  transform: scale(1.02);
}

.ms-btn-kill:active {
  transform: scale(0.97);
}

/* INPUTS & FORMS */
.ms-input-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
}

.ms-label {
  font-size: 0.75em;
  opacity: 0.75;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.ms-input-field,
.ms-textarea,
#msgBox {
  background: rgba(0, 0, 0, 0.55);
  border-radius: 10px;
  border: 1px solid rgba(0, 220, 255, 0.35);
  padding: 10px 12px;
  color: #fff;
  box-shadow: 0 0 18px rgba(0, 200, 255, 0.18);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ms-input-field:focus,
.ms-textarea:focus,
#msgBox:focus {
  outline: none;
  border-color: rgba(0, 240, 255, 0.95);
  box-shadow:
    0 0 18px rgba(0, 240, 255, 0.9),
    0 0 32px rgba(0, 140, 255, 0.7);
  background: rgba(0, 0, 0, 0.7);
}

/* BOTTOM NAV — NEON GLASS DOCK */
.ms-bottom-nav {
  background: radial-gradient(circle at top,
              rgba(0, 200, 255, 0.25),
              rgba(5, 5, 15, 0.98));
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-top: 1px solid rgba(0, 220, 255, 0.5);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.9);
}

.ms-nav-item {
  opacity: 0.7;
  transition:
    opacity 0.2s ease,
    transform 0.15s ease,
    text-shadow 0.2s ease;
}

.ms-nav-item.active,
.ms-nav-item:hover {
  opacity: 1;
  text-shadow: 0 0 10px rgba(0, 220, 255, 0.9);
}

.ms-nav-item:active {
  transform: scale(0.92);
}

/* FOOTER BRAND */
.ms-footer-brand {
  position: fixed;
  bottom: 70px;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 9998;
  padding-bottom: env(safe-area-inset-bottom);
  margin-top: 20px;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0.9;
  pointer-events: none;
}

.footer-hopchat-logo {
  height: 96px;
  filter: drop-shadow(0 0 14px rgba(0, 220, 255, 0.85));
  pointer-events: auto;
}

/* ============================================================
   SELECT — PHASE 10 UNIFIED GLASS
   ============================================================ */
.ms-select,
.contact-select,
.recipient-select {
  background: rgba(0, 0, 0, 0.55);
  border-radius: 10px;
  border: 1px solid rgba(0, 220, 255, 0.35);
  padding: 10px 12px;
  color: #fff;
  box-shadow: 0 0 14px rgba(0, 200, 255, 0.25);
  cursor: pointer;
  width: 100%;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ms-select:focus,
.recipient-select:focus {
  outline: none;
  border-color: rgba(0, 240, 255, 0.95);
  box-shadow: 0 0 18px rgba(0, 240, 255, 0.8);
}

/* Ensure the options inside don't break the dark theme */
.ms-select option {
  background: #0a0a14;
  color: #fff;
}

/* ============================================================
   METRICS — SETTINGS DASHBOARD
   ============================================================ */
.ms-metric-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 15px;
}

.ms-metric-card {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(0, 220, 255, 0.25);
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 0 10px rgba(0, 200, 255, 0.15);
}

.ms-metric-label {
    font-size: 0.65rem;
    opacity: 0.6;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.ms-metric-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
}

/* ============================================================
   CHAT BUBBLES — NEON ALIGNMENT
   ============================================================ */
.ms-chat-history {
    height: 300px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 15px;
    margin: 10px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    scroll-behavior: smooth;
}

.ms-chat-bubble-left, .ms-chat-bubble-right {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.9rem;
    position: relative;
}

.ms-chat-bubble-left {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(0, 220, 255, 0.2);
    color: #fff;
    box-shadow: 0 0 6px rgba(0, 220, 255, 0.08);
}

.ms-chat-bubble-right {
    align-self: flex-end;
    background: rgba(0, 220, 255, 0.15);
    border: 1px solid rgba(0, 220, 255, 0.5);
    color: #00eaff;
    box-shadow: 0 0 10px rgba(0, 234, 255, 0.1);
}

.ms-chat-meta {
    font-size: 0.65rem;
    opacity: 0.5;
    margin-top: 4px;
    text-transform: uppercase;
}


/* Typography & Headers */
.ms-title-main { font-size: 1.2rem; font-weight: 800; color: #fff; }
.ms-subtitle-tiny { font-size: 0.7rem; opacity: 0.6; margin-top: -2px; }
.ms-node-status { font-size: 0.95rem; margin-top: 5px; color: rgba(255,255,255,0.9); }

/* The High-Fidelity Textarea */
.ms-textarea-hi-fi {
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(0, 220, 255, 0.4);
    border-radius: 14px;
    padding: 12px;
    color: #fff;
    box-shadow: inset 0 0 10px rgba(0, 200, 255, 0.1);
}

/* Button Row Architectures */
.ms-button-split-row {
    display: grid;
    grid-template-columns: 0.35fr 1fr;
    gap: 8px;
}
.ms-tactical-row {
    display: grid;
    grid-template-columns: 1fr 0.6fr 0.6fr;
    gap: 8px;
    margin-top: 15px;
}
.ms-row-center { display: flex; justify-content: center; margin: 10px 0; }

/* The SEND Button Gradient (Blueprint Match) */
.ms-btn-action-main {
    background: linear-gradient(180deg, #2f9bff 0%, #0040c0 100%);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 100, 255, 0.4);
}

/* The KILL Switch (Blueprint Match) */
.ms-btn-kill-hifi {
    background: linear-gradient(180deg, #d32f2f 0%, #7b0000 100%);
    border-radius: 8px;
    border: 1px solid rgba(255, 100, 100, 0.4);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
    color: white; font-weight: bold;
}

/* The ATTACH Button (Blueprint Match) */
.ms-btn-pill-green {
    background: #00d26a;
    color: #fff;
    border-radius: 20px;
    padding: 5px 25px;
    border: none;
    box-shadow: 0 0 20px rgba(0, 210, 106, 0.4);
}

.ms-btn-glass-icon, .ms-btn-glass-text {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 0.8rem;
}

/* ============================================================
   PHASE 10 HI-FI UI TRANSFORM (Blueprint Match)
   ============================================================ */

/* 1. The Header & Status Line */
.ms-title-main { font-size: 1.2rem; font-weight: 800; color: #fff; display: block; }
.ms-subtitle-tiny { font-size: 0.7rem; opacity: 0.6; margin-bottom: 8px; display: block; }
.ms-node-status { font-size: 0.95rem; margin-bottom: 12px; color: #fff; border-bottom: 1px solid rgba(0, 220, 255, 0.2); padding-bottom: 8px; }

/* 2. The Textarea Glass */
.ms-textarea-hi-fi {
    width: 100%;
    background: rgba(0, 0, 0, 0.7) !important;
    border: 1px solid rgba(0, 220, 255, 0.5) !important;
    border-radius: 12px;
    padding: 12px;
    color: #fff;
    box-sizing: border-box; /* Crucial for mobile scaling */
    margin-bottom: 5px;
}

/* 3. The Button Grid & Split Rows */
.ms-button-split-row {
    display: grid;
    grid-template-columns: 0.35fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.ms-tactical-row {
    display: grid;
    grid-template-columns: 1fr 0.6fr 0.6fr;
    gap: 8px;
    margin-top: 15px;
}

/* 4. The SEND Button Gradient (Blue Glow) */
.ms-btn-action-main {
    background: linear-gradient(180deg, #2f9bff 0%, #0040c0 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 8px;
    color: white;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    box-shadow: 0 4px 15px rgba(0, 100, 255, 0.5);
    padding: 10px;
}

/* 5. The KILL Switch (Red Glow) */
.ms-btn-kill-hifi {
    background: linear-gradient(180deg, #e53935 0%, #8e0000 100%) !important;
    border-radius: 8px;
    border: 1px solid rgba(255, 100, 100, 0.5) !important;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.6);
    color: white; 
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.75rem;
}

/* 6. The ATTACH Pill (Green Glow) */
.ms-btn-pill-green {
    background: #00d26a !important;
    color: #fff;
    border-radius: 25px;
    padding: 6px 30px;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 0 20px rgba(0, 210, 106, 0.5);
    font-weight: 600;
}

/* 7. Secondary Glass Buttons */
.ms-btn-action-side, .ms-btn-glass-icon, .ms-btn-glass-text {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 8px;
    color: white;
    padding: 8px;
    font-size: 0.8rem;
}

/* 8. Select Field Hi-Fi */
.ms-select-hi-fi {
    background: rgba(0, 0, 0, 0.6) !important;
    border: 1px solid rgba(0, 220, 255, 0.4) !important;
    border-radius: 8px;
    color: white;
    padding: 8px;
}