@charset "UTF-8";
/* ============================================================
   HopChat / MessageSecure — Hollywood Neon Glass v12.4
   THEME: neon, gradients, blur, glow, transitions
   ============================================================ */

/* ============================================================
   SCAN LINE
   ============================================================ */
.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;
}

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

/* ============================================================
   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%);
}

.ms-textarea,
#msgBox {
    color: #fff;
}

/* ============================================================
   CAMERA BUTTON
   ============================================================ */
.camera-btn {
  position: relative;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 150, 255, 0.25);
  border: 1px solid rgba(0, 150, 255, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 10px;
  padding: 8px 12px;
  transition: 0.2s;
}

.camera-btn:hover {
  background: rgba(0, 150, 255, 0.4);
}

/* ============================================================
   TOP NAV — NEON GLASS
   ============================================================ */
.hc-topnav {
  background: radial-gradient(circle at top left,
              rgba(0, 180, 255, 0.35),
              rgba(10, 10, 20, 0.9));
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(0, 200, 255, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.hc-topnav:hover {
  background: radial-gradient(circle at top left,
              rgba(0, 200, 255, 0.45),
              rgba(5, 5, 15, 0.96));
  border-bottom-color: rgba(0, 220, 255, 0.6);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.85);
}

.hc-nav-left img.hc-logo {
  height: 34px;
  margin-right: 6px;
  filter: drop-shadow(0 0 8px rgba(0, 220, 255, 0.7));
}

.hc-nav-item {
  opacity: 0.7;
  transition: opacity 0.18s ease, transform 0.16s ease, text-shadow 0.18s ease;
}

.hc-nav-item:active {
  transform: scale(0.96);
}

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

/* ============================================================
   PANELS — NEON GLASS + TURBO-HYPER + VISIBILITY ENGINE
   ============================================================ */
.ms-panel {
  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);

  /* Visibility engine */
  opacity: 0;
  pointer-events: none;

  /* Turbo-Hyper animation */
  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;
}

.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);
}

/* ============================================================
   HEADER — NEON TAG
   ============================================================ */
.ms-header {
  background: rgba(0, 20, 40, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 200, 255, 0.25);
}

.ms-subtitle {
  opacity: 0.75;
}

.ms-tag {
  background: rgba(0, 200, 255, 0.25);
  border: 1px solid rgba(0, 200, 255, 0.4);
  backdrop-filter: blur(10px);
}

/* ============================================================
   TEXTAREA — NEON EDGE
   ============================================================ */
.ms-textarea,
#msgBox {
  background: rgba(0, 0, 0, 0.55);
  border-radius: 14px;
  border: 1px solid rgba(0, 220, 255, 0.35);
  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-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);
}

.char-counter,
#charCounter {
  opacity: 0.7;
}

/* ============================================================
   BUTTONS — NEON GLASS
   ============================================================ */
.btn {
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.7);
  transition:
    opacity 0.18s ease,
    transform 0.12s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
  color: #fff;
}

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

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

.btn-blue-dark {
  background: radial-gradient(circle at top, #2f9bff, #0040c0);
  box-shadow: 0 0 18px rgba(0, 160, 255, 0.6);
}

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

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

.btn-red-dark {
  background: radial-gradient(circle at top, #ff3040, #7a0000);
  box-shadow: 0 0 18px rgba(255, 60, 80, 0.6);
}

.btn-black-dark {
  background: radial-gradient(circle at top, #111, #000);
}

/* ============================================================
   SELECT — GLASS
   ============================================================ */
.contact-select,
.recipient-select {
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(0, 220, 255, 0.35);
  box-shadow: 0 0 14px rgba(0, 200, 255, 0.25);
  color: #fff;
}

/* ============================================================
   ATTACHMENT DRAWER — GLASS SLIDE
   ============================================================ */
.attach-drawer {
  background: radial-gradient(circle at top,
              rgba(0, 200, 255, 0.25),
              rgba(10, 10, 20, 0.96));
  border-top: 1px solid rgba(0, 220, 255, 0.5);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.9);
  transition: transform 0.25s ease-out, opacity 0.25s ease-out;
}

.attach-file-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  color: #fff !important;
  font-size: 15px !important;
  background-image: none !important;
  text-indent: 0 !important;
  overflow: visible !important;
  white-space: nowrap !important;
}

/* ============================================================
   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-tab {
  opacity: 0.7;
  transition: opacity 0.2s ease, transform 0.15s ease, text-shadow 0.2s ease;
}

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

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

/* ============================================================
   FOOTER — FIXED NEON SIGNATURE
   ============================================================ */
.ms-footer-brand {
    position: fixed;
    bottom: 70px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 9998;
    padding-bottom: env(safe-area-inset-bottom);

    /* theme styling */
    margin-top: 20px;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.9;

    /* prevent blocking UI */
    pointer-events: none;
}

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