/* ═══════════════════════════════════════
   GsResponder — Full Dashboard Skin
═══════════════════════════════════════ */

/* Background on every page */
body {
  background: url('/login_bg.jpg') center center / cover no-repeat fixed !important;
  min-height: 100vh;
}

/* Dark overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 18, 0.60);
  z-index: 0;
  pointer-events: none;
}

#q-app { position: relative; z-index: 1; }

/* ── Login wrapper injected by gsresponder.js ── */
#gs-login-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

#gs-login-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: -8px;
  z-index: 2;
}

#gs-login-brand img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  filter: drop-shadow(0 0 22px rgba(0, 180, 255, 0.9)) drop-shadow(0 0 6px rgba(0,120,255,0.6));
  animation: gsPulse 3s ease-in-out infinite;
}

@keyframes gsPulse {
  0%, 100% { filter: drop-shadow(0 0 22px rgba(0, 180, 255, 0.9)) drop-shadow(0 0 6px rgba(0,120,255,0.6)); }
  50%       { filter: drop-shadow(0 0 38px rgba(0, 210, 255, 1.0)) drop-shadow(0 0 12px rgba(0,160,255,0.9)); }
}

#gs-login-brand h1 {
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
  margin: 12px 0 4px;
  text-shadow: 0 0 20px rgba(0, 180, 255, 0.8), 0 2px 4px rgba(0,0,0,0.8);
  text-transform: uppercase;
}

#gs-login-brand p {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(100, 200, 255, 0.75);
  margin: 0 0 20px;
  text-transform: uppercase;
}

/* ── Login card — glassmorphism ── */
.q-page .q-card,
.q-page-container .q-card {
  background: rgba(6, 14, 42, 0.78) !important;
  backdrop-filter: blur(24px) saturate(1.5) !important;
  -webkit-backdrop-filter: blur(24px) saturate(1.5) !important;
  border: 1px solid rgba(0, 160, 255, 0.30) !important;
  border-radius: 20px !important;
  box-shadow:
    0 0 0 1px rgba(0,120,255,0.08),
    0 8px 48px rgba(0, 100, 255, 0.22),
    0 32px 80px rgba(0, 0, 0, 0.55) !important;
  overflow: hidden !important;
  min-width: 340px !important;
}

/* Top glowing border accent */
.q-page .q-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00a8ff, #0066ff, #00a8ff, transparent);
  z-index: 1;
}

/* Input fields */
.q-field__control {
  background: rgba(255,255,255,0.05) !important;
  border-radius: 10px !important;
}
.q-field__native,
.q-field__input,
.q-field__label {
  color: #d0eaff !important;
}
.q-field--outlined .q-field__control::before {
  border-color: rgba(0, 140, 255, 0.3) !important;
}
.q-field--outlined .q-field__control:hover::before {
  border-color: rgba(0, 180, 255, 0.7) !important;
}
.q-field--focused .q-field__control::before {
  border-color: #00aaff !important;
  box-shadow: 0 0 8px rgba(0, 160, 255, 0.4) !important;
}

/* Login button */
.q-btn[type=submit],
.q-card .q-btn.bg-primary,
.q-card .q-btn[color=primary] {
  background: linear-gradient(135deg, #0052cc 0%, #0099ff 100%) !important;
  box-shadow: 0 4px 24px rgba(0, 140, 255, 0.45) !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  transition: all 0.2s ease !important;
  width: 100% !important;
}
.q-btn[type=submit]:hover,
.q-card .q-btn.bg-primary:hover {
  box-shadow: 0 6px 32px rgba(0, 180, 255, 0.65) !important;
  transform: translateY(-1px) !important;
}

/* ── Sidebar ── */
.q-drawer {
  background: rgba(3, 8, 24, 0.97) !important;
  border-right: 1px solid rgba(0, 130, 255, 0.15) !important;
}
.q-item--active {
  color: #00c8ff !important;
  background: rgba(0, 140, 255, 0.13) !important;
  border-left: 3px solid #00c8ff !important;
  border-radius: 0 8px 8px 0 !important;
}
.q-item:hover { background: rgba(0,120,255,0.08) !important; }

/* ── Top toolbar ── */
.q-header .q-toolbar {
  background: rgba(3, 8, 24, 0.95) !important;
  backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid rgba(0, 130, 255, 0.2) !important;
}

/* Logo glow */
.q-img img,
img[src*=beb1e006],
img[src*=476e5cc1],
img[src*=9c093cbc] {
  filter: drop-shadow(0 0 14px rgba(0, 170, 255, 0.75)) !important;
}
