/* Global Styles */
*{
    box-sizing: border-box;
}

body {
  font-family: "Work Sans", sans-serif;
  background-color: #020a1b;
  color: #e2e8f0;
  min-height: 100vh;
}

/* Orb animation */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.12;
  pointer-events: none;
  animation: floatOrb 9s ease-in-out infinite alternate;
}
.orb-1 { width: 520px; height: 520px; background: #16a34a; top: -180px; left: -160px; }
.orb-2 { width: 380px; height: 380px; background: #15803d; bottom: -120px; right: -100px; animation-delay: 3s; }
.orb-3 { width: 280px; height: 280px; background: #22c55e; top: 45%; left: 55%; animation-delay: 6s; }
@keyframes floatOrb {
  0%   { transform: translateY(0)    scale(1);    }
  100% { transform: translateY(-28px) scale(1.06); }
}

/* Glassmorphism */

.glass {
    background: rgba(10, 40, 18, 0.55);
    border: 1px solid rgba(34, 197, 94, 0.1);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}
.glass-dark {
    background: rgba(2, 12, 11, 0.6);
    border: 1px solid rgba(34, 197, 175, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* Stat card */
.stat-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 55px rgba(34, 192, 197, 0.15);
}

/* ── Custom input ── */
.inp {
    background: rgba(34, 197, 94, 0.05);
    border: 1px solid rgba(34, 197, 94, 0.18);
    color: #e2e8f0;
    border-radius: 10px;
    padding: 8px 12px;
    width: 100%;
    font-size: 0.875rem;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
    outline: none;
}
    
.inp::placeholder { color: rgba(134, 239, 237, 0.25);
    font-style: italic;
}
  
.inp:focus {
      border-color: #22c55e;
      background: rgba(34, 197, 94, 0.09);
      box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}
.course-row {
    animation: rowIn 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes rowIn {
    from { opacity: 0; transform: translateY(-8px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0)    scale(1);    }
}

/* SVG ring */
.ring-track  { stroke: rgba(34, 197, 94, 0.1); }
.ring-fill   {
    stroke: url(#ringGrad);
    stroke-linecap: round;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
    transition: stroke-dashoffset 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Progress bar */
.prog-bar {
    height: 5px;
    border-radius: 3px;
    background: rgba(34, 197, 94, 0.08);
    overflow: hidden;
}
.prog-fill {
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, #16a34a, #22c55e);
    transition: width 0.5s ease;
}

/* Grade badge */
.grade-badge {
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

/* Pulse dot */
.pulse-dot { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }



/* Divider */
.row-divider { border-color: rgba(34, 197, 94, 0.06); }


/* Mobile: hide table header; show col labels inline */
@media (max-width: 639px) {
    .course-table-head { display: none !important; }
    .col-label { display: block !important; font-size: 0.65rem; color: rgba(134,239,172,0.35); margin-bottom: 3px; }
}
.col-label { display: none; }


/* Scrollbar */
::-webkit-scrollbar          { width: 5px; }
::-webkit-scrollbar-track    { background: transparent; }
::-webkit-scrollbar-thumb    { background: rgba(34,197,94,0.15); border-radius: 3px; }