/* ==========================================================================
   UNIOSUN DEPARTMENT OF PHYSIOLOGY — COURSE REP COMMAND PORTAL (style.css)
   ========================================================================== */

:root {
  --bg-deep: #030b1c;
  --accent-cyan: #38bdf8;
  --accent-blue: #2563eb;
  --glass-bg: rgba(9, 25, 58, 0.46);
  --glass-border: rgba(125, 211, 252, 0.22);
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 15% 15%, rgba(14, 165, 233, 0.22), transparent 45%),
    radial-gradient(circle at 85% 20%, rgba(37, 99, 235, 0.28), transparent 50%),
    radial-gradient(circle at 50% 90%, rgba(6, 182, 212, 0.16), transparent 55%),
    var(--bg-deep);
  color: #e0f2fe;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Floating Sci-Fi Liquid Orbs */
.liquid-orb {
  position: fixed;
  border-radius: 9999px;
  filter: blur(75px);
  pointer-events: none;
  z-index: 0;
  animation: floatOrb 14s ease-in-out infinite alternate;
}

.orb-1 {
  width: 320px;
  height: 320px;
  background: rgba(14, 165, 233, 0.22);
  top: -60px;
  left: -60px;
}

.orb-2 {
  width: 380px;
  height: 380px;
  background: rgba(37, 99, 235, 0.24);
  bottom: -90px;
  right: -80px;
  animation-delay: -5s;
}

.orb-3 {
  width: 240px;
  height: 240px;
  background: rgba(56, 189, 248, 0.16);
  top: 45%;
  left: 55%;
  animation-delay: -9s;
}

@keyframes floatOrb {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(24px, -28px) scale(1.08);
  }
}

/* Glassmorphic Panels */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid var(--glass-border);
  box-shadow:
    0 12px 40px rgba(2, 12, 34, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* Transparent Top Navbar */
.transparent-nav {
  background: transparent;
  border-bottom: 1px solid rgba(125, 211, 252, 0.14);
}

/* Inputs & Buttons */
.sci-input {
  background: rgba(4, 15, 38, 0.65);
  border: 1px solid rgba(125, 211, 252, 0.25);
  color: #f0f9ff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sci-input::placeholder {
  color: rgba(186, 230, 253, 0.45);
}

.sci-input:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

.sci-btn {
  background: linear-gradient(135deg, #0284c7, var(--accent-blue));
  border: 1px solid rgba(125, 211, 252, 0.35);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.35);
  transition: transform 0.15s ease, filter 0.2s ease;
}

.sci-btn:hover {
  filter: brightness(1.12);
}

.sci-btn:active {
  transform: scale(0.98);
}

/* Broadcast Session Code Glow */
.code-glow {
  letter-spacing: 0.28em;
  text-shadow: 0 0 18px rgba(56, 189, 248, 0.65);
}

/* Subtle Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: rgba(2, 10, 26, 0.4);
}

::-webkit-scrollbar-thumb {
  background: rgba(56, 189, 248, 0.3);
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(56, 189, 248, 0.5);
}
