/* Custom styles for Nexora Apps Admin Panel */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --primary-navy: #0D253A;
  --primary-light: #1E3A5F;
  --emerald-mint: #00A86B;
  --mint-light: #E6F7F0;
  --amber-gold: #F59E0B;
  --surface-bg: #F8FAFC;
  --card-bg: #FFFFFF;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--surface-bg);
  color: #1E293B;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.font-mono {
  font-family: 'JetBrains Mono', monospace;
}

/* Glassmorphism & Modern Shadows */
.card-glass {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
}

.card-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smartphone Device Mockup Frame */
.phone-mockup-frame {
  width: 340px;
  height: 690px;
  background: #111827;
  border-radius: 46px;
  padding: 12px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  position: relative;
  margin: 0 auto;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #F8FAFC;
  border-radius: 36px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.phone-notch {
  width: 120px;
  height: 24px;
  background: #111827;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-camera-lens {
  width: 10px;
  height: 10px;
  background: #1F2937;
  border-radius: 50%;
  border: 1.5px solid #374151;
}

.phone-status-bar {
  height: 26px;
  padding: 0 16px;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 40;
}

.phone-content-scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding-bottom: 70px;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.phone-content-scroll::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.phone-content-scroll {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

/* Mobile App Bottom Float Nav */
.phone-bottom-nav {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: #FFFFFF;
  border-top: 1px solid #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 40;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.03);
}

/* Marquee / Running Text Animation */
@keyframes marquee {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

.marquee-content {
  display: inline-block;
  white-space: nowrap;
  animation: marquee 16s linear infinite;
}

/* Otomax Console Terminal Glow */
.terminal-glow {
  background: #090D16;
  border: 1px solid #1E293B;
  box-shadow: 0 0 20px rgba(0, 168, 107, 0.1);
}

/* Custom Scrollbar for Admin Panels */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* Hide the admin workspace until a valid SQLite-backed session is established. */
body.auth-locked > :not(#auth-screen) { display: none !important; }
