/* =========================================
   EDUING.in — Global Design System
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  /* Core palette */
  --bg-primary: #0a1628;
  --bg-secondary: #0d1f3c;
  --bg-card: rgba(16, 33, 65, 0.65);
  --bg-card-hover: rgba(20, 42, 82, 0.8);
  --bg-card-solid: #102041;
  --bg-input: rgba(16, 33, 65, 0.5);

  /* Accent */
  --accent: #00c9a7;
  --accent-light: #3dfcd5;
  --accent-dark: #009b82;
  --accent-glow: rgba(0, 201, 167, 0.25);

  /* Text */
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.45);

  /* Borders */
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-hover: rgba(255, 255, 255, 0.15);
  --border-accent: rgba(0, 201, 167, 0.3);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 30px rgba(0, 201, 167, 0.15);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* Layout */
  --max-width: 1200px;
  --navbar-height: 70px;

  /* Status colors */
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #3b82f6;
}

/* ---------- Reset ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
  color: inherit;
}

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-4xl) 0;
}

.text-accent {
  color: var(--accent);
}

.text-muted {
  color: var(--text-secondary);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ---------- Glass Card ---------- */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glass-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.glass-card-static {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg-primary);
}

.btn-primary:hover {
  background: var(--accent-light);
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-glass-hover);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.btn-outline:hover {
  border-color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.btn-filled {
  background: var(--text-primary);
  color: var(--bg-primary);
}

.btn-filled:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}

.btn-danger {
  background: var(--danger);
  color: white;
}
.btn-danger:hover {
  background: #dc2626;
}

.btn-success {
  background: var(--success);
  color: white;
}
.btn-success:hover {
  background: #16a34a;
}

.btn-warning {
  background: var(--warning);
  color: var(--bg-primary);
}
.btn-warning:hover {
  background: #d97706;
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--navbar-height);
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  z-index: 1000;
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: rgba(10, 22, 40, 0.95);
  box-shadow: var(--shadow-md);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0;
  font-weight: 700;
  font-size: 1.2rem;
}

.navbar-brand img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  margin-right: var(--space-sm);
}

.navbar-brand span {
  color: var(--accent);
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.navbar-links a {
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: width var(--transition-base);
}

.navbar-links a:hover {
  color: var(--text-primary);
}

.navbar-links a:hover::after {
  width: 100%;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.navbar-search {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.navbar-search:hover {
  background: rgba(255, 255, 255, 0.08);
}

.navbar-search svg {
  width: 18px;
  height: 18px;
  stroke: var(--text-secondary);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-base);
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: var(--navbar-height);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(10, 22, 40, 0.85) 0%, rgba(10, 22, 40, 0.4) 50%, rgba(10, 22, 40, 0.7) 100%),
    url('https://images.unsplash.com/photo-1523050854058-8df90110c476?w=1920&q=80') center/cover no-repeat;
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--bg-primary), transparent);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 650px;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
}

.hero-content h1 .gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  max-width: 500px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* Floating shapes */
.hero-shapes {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-shapes .shape {
  position: absolute;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.04;
  animation: float 20s ease-in-out infinite;
}

.hero-shapes .shape:nth-child(1) {
  width: 400px; height: 400px; top: 10%; right: -5%;
  animation-delay: 0s;
}
.hero-shapes .shape:nth-child(2) {
  width: 250px; height: 250px; bottom: 20%; right: 15%;
  animation-delay: -5s;
}
.hero-shapes .shape:nth-child(3) {
  width: 150px; height: 150px; top: 40%; left: 60%;
  animation-delay: -10s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(20px, -30px) scale(1.05); }
  50% { transform: translate(-10px, 20px) scale(0.95); }
  75% { transform: translate(15px, 10px) scale(1.02); }
}

/* ---------- Features Section ---------- */
.features {
  padding: var(--space-4xl) 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.feature-card {
  padding: var(--space-xl);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(0, 201, 167, 0.1);
  border: 1px solid rgba(0, 201, 167, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent);
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ---------- Stats Section ---------- */
.stats {
  padding: var(--space-4xl) 0;
}

.stats-wrapper {
  padding: var(--space-3xl);
}

.stats-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.stats-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.01em;
}

.stats-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

.stats-buttons {
  display: flex;
  gap: var(--space-md);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.stat-card {
  padding: var(--space-xl);
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.stat-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
}

.stat-card .stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: var(--space-xs);
  letter-spacing: -0.02em;
}

.stat-card .stat-label {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
}

/* ---------- Footer ---------- */
.footer {
  padding: var(--space-3xl) 0 var(--space-xl);
  border-top: 1px solid var(--border-glass);
  margin-top: var(--space-3xl);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0;
  font-weight: 700;
  font-size: 1.1rem;
}

.footer-brand img {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  margin-right: var(--space-sm);
}

.footer-brand span {
  color: var(--accent);
}

.footer-links {
  display: flex;
  gap: var(--space-xl);
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-copy {
  text-align: center;
  margin-top: var(--space-xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* ---------- Form Styles ---------- */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-input);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.92rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-control::placeholder {
  color: var(--text-muted);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='rgba(255,255,255,0.5)' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

/* ---------- Auth Page Styles ---------- */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
  background: var(--bg-primary);
}

.auth-card {
  width: 100%;
  max-width: 440px;
  padding: var(--space-2xl);
}

.auth-card .auth-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.auth-card .auth-header h1 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.auth-card .auth-header p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.auth-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-xl);
}

.auth-tab {
  flex: 1;
  padding: 10px;
  text-align: center;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.auth-tab.active {
  background: var(--accent);
  color: var(--bg-primary);
}

.auth-card .btn {
  width: 100%;
  margin-top: var(--space-md);
}

/* ---------- Page Inner Layout ---------- */
.page-wrapper {
  padding-top: var(--navbar-height);
  min-height: 100vh;
}

.page-header {
  padding: var(--space-3xl) 0 var(--space-xl);
}

.page-header h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.page-header p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-top: var(--space-sm);
}

/* ---------- Search/Filter Bar ---------- */
.search-bar {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.search-input-wrapper {
  flex: 1;
  position: relative;
}

.search-input-wrapper svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  stroke: var(--text-muted);
}

.search-input-wrapper input {
  width: 100%;
  padding: 14px 18px 14px 46px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.92rem;
}

.search-input-wrapper input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

/* ---------- Grid Layouts ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-lg);
}

.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

/* ---------- University Card ---------- */
.uni-card {
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
}

.uni-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(0, 201, 167, 0.1);
  border: 1px solid rgba(0, 201, 167, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
  width: fit-content;
  margin-bottom: var(--space-md);
}

.uni-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.uni-card .uni-location {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: 6px;
}

.uni-card .uni-meta {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-glass);
}

.uni-card .uni-meta-item {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.uni-card .uni-meta-item span {
  display: block;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
}

.uni-card .btn {
  margin-top: auto;
}

/* ---------- Dashboard / Sidebar Layout ---------- */
.dashboard-layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 260px;
  background: var(--bg-secondary);
  border-right: 1px solid var(--border-glass);
  padding: var(--space-lg) 0;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 0;
  padding: var(--space-md) var(--space-lg);
  margin-bottom: var(--space-xl);
  font-weight: 700;
  font-size: 1.1rem;
}

.sidebar-brand img {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  margin-right: var(--space-sm);
}

.sidebar-brand span {
  color: var(--accent);
}

.sidebar-label {
  padding: var(--space-md) var(--space-lg) var(--space-sm);
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: 12px var(--space-lg);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition-fast);
  border-left: 3px solid transparent;
}

.sidebar-nav a:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
}

.sidebar-nav a.active {
  color: var(--accent);
  background: rgba(0, 201, 167, 0.06);
  border-left-color: var(--accent);
}

.sidebar-nav a svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.dashboard-main {
  flex: 1;
  margin-left: 260px;
  padding: var(--space-xl) var(--space-2xl);
}

.dashboard-header {
  margin-bottom: var(--space-2xl);
}

.dashboard-header h1 {
  font-size: 1.6rem;
  font-weight: 800;
}

.dashboard-header p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: var(--space-xs);
}

/* Dashboard Stats Cards */
.dash-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.dash-stat-card {
  padding: var(--space-xl);
}

.dash-stat-card .stat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.dash-stat-card .stat-icon.blue { background: rgba(59, 130, 246, 0.15); }
.dash-stat-card .stat-icon.blue svg { stroke: var(--info); }
.dash-stat-card .stat-icon.green { background: rgba(34, 197, 94, 0.15); }
.dash-stat-card .stat-icon.green svg { stroke: var(--success); }
.dash-stat-card .stat-icon.yellow { background: rgba(245, 158, 11, 0.15); }
.dash-stat-card .stat-icon.yellow svg { stroke: var(--warning); }
.dash-stat-card .stat-icon.teal { background: var(--accent-glow); }
.dash-stat-card .stat-icon.teal svg { stroke: var(--accent); }

.dash-stat-card .stat-icon svg {
  width: 22px;
  height: 22px;
}

.dash-stat-card .stat-value {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.dash-stat-card .stat-label {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-top: 2px;
}

/* ---------- Table ---------- */
.data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glass);
}

.data-table thead th {
  background: var(--bg-card);
  padding: 16px 20px;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-glass);
}

.data-table tbody td {
  padding: 16px 20px;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border-glass);
  background: rgba(16, 33, 65, 0.3);
}

.data-table tbody tr:hover td {
  background: var(--bg-card);
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

/* Status Badges */
.status-badge {
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  display: inline-block;
}

.status-badge.pending {
  background: rgba(245, 158, 11, 0.15);
  color: var(--warning);
}

.status-badge.accepted {
  background: rgba(34, 197, 94, 0.15);
  color: var(--success);
}

.status-badge.rejected {
  background: rgba(239, 68, 68, 0.15);
  color: var(--danger);
}

.status-badge.waitlisted {
  background: rgba(59, 130, 246, 0.15);
  color: var(--info);
}

.status-badge.submitted {
  background: rgba(0, 201, 167, 0.15);
  color: var(--accent);
}

.status-badge.review {
  background: rgba(245, 158, 11, 0.15);
  color: var(--warning);
}

/* ---------- Tracking Timeline ---------- */
.timeline {
  position: relative;
  padding-left: 30px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-glass);
}

.timeline-item {
  position: relative;
  padding-bottom: var(--space-xl);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -24px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg-primary);
}

.timeline-item.inactive::before {
  background: var(--border-glass);
}

.timeline-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.timeline-item p {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.timeline-item .timeline-date {
  color: var(--text-muted);
  font-size: 0.78rem;
  margin-top: 4px;
}

/* ---------- Review Detail Panel ---------- */
.review-panel {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-xl);
}

.review-section {
  margin-bottom: var(--space-xl);
}

.review-section h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.review-field {
  display: flex;
  justify-content: space-between;
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border-glass);
  font-size: 0.9rem;
}

.review-field .label {
  color: var(--text-secondary);
}

.review-actions {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

/* ---------- Animation on scroll ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
  .stats-inner { grid-template-columns: 1fr; gap: var(--space-xl); }
  .dash-stats { grid-template-columns: repeat(2, 1fr); }
  .card-grid-3 { grid-template-columns: 1fr 1fr; }
  .review-panel { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .navbar-links,
  .navbar-actions .btn {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stats-wrapper { padding: var(--space-xl); }

  .card-grid { grid-template-columns: 1fr; }
  .card-grid-3 { grid-template-columns: 1fr; }
  .dash-stats { grid-template-columns: 1fr; }

  .sidebar { display: none; }
  .dashboard-main { margin-left: 0; }

  .footer-inner { flex-direction: column; gap: var(--space-lg); text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}

/* =========================================
   App-Style Bottom Navigation
   ========================================= */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 68px;
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 1000;
  padding: 0 var(--space-sm);
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  position: relative;
}

.bottom-nav-item svg {
  width: 22px;
  height: 22px;
  stroke: var(--text-muted);
  fill: none;
  transition: all var(--transition-fast);
}

.bottom-nav-item.active,
.bottom-nav-item:hover {
  color: var(--accent);
}

.bottom-nav-item.active svg,
.bottom-nav-item:hover svg {
  stroke: var(--accent);
}

.bottom-nav-item.active::after {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  background: var(--accent);
  border-radius: 0 0 3px 3px;
}

/* Student page wrapper with bottom nav padding */
.app-page {
  padding-top: var(--navbar-height);
  padding-bottom: 84px;
  min-height: 100vh;
}

/* =========================================
   University Detail — App Style
   ========================================= */
.uni-hero-banner {
  position: relative;
  height: 220px;
  background: linear-gradient(135deg, #0d2847 0%, #1a3a6a 50%, #0d2847 100%);
  overflow: hidden;
  margin-top: var(--navbar-height);
}

.uni-hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.uni-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-xl) var(--space-lg);
  background: linear-gradient(to top, var(--bg-primary) 10%, transparent 100%);
}

.uni-badges {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  flex-wrap: wrap;
}

.uni-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.uni-badge.top-rated { background: #f59e0b; color: #1a1a1a; }
.uni-badge.verified { background: var(--accent); color: #1a1a1a; }
.uni-badge.nirf { background: var(--info); color: white; }

.uni-hero-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  margin-bottom: var(--space-sm);
}

.uni-hero-meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  color: var(--text-secondary);
  font-size: 0.88rem;
  flex-wrap: wrap;
}

.uni-hero-meta svg { width: 14px; height: 14px; stroke: var(--text-secondary); }
.uni-hero-meta .rating { color: #f59e0b; font-weight: 700; }

/* 2×2 stat grid */
.uni-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  padding: var(--space-lg);
}

.uni-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: center;
  transition: all var(--transition-base);
}

.uni-stat-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

.uni-stat-card .stat-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(0, 201, 167, 0.08);
}

.uni-stat-card .stat-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
}

.uni-stat-card .stat-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 4px;
  font-weight: 600;
}

.uni-stat-card .stat-value {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
}

/* Tabs */
.uni-tabs {
  display: flex;
  gap: var(--space-xs);
  padding: 0 var(--space-lg);
  overflow-x: auto;
  border-bottom: 1px solid var(--border-glass);
  margin-bottom: var(--space-lg);
}

.uni-tab {
  padding: var(--space-md) var(--space-lg);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.uni-tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.uni-tab-content { padding: 0 var(--space-lg) var(--space-xl); }
.uni-tab-panel { display: none; }
.uni-tab-panel.active { display: block; }

.uni-tab-content h3 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
  font-weight: 700;
}

/* =========================================
   Application Summary — App Style
   ========================================= */
.app-summary-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-lg);
}

.app-summary-card .summary-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--accent);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: var(--space-lg);
}

.app-summary-card .summary-header svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border-glass);
}

.summary-row:last-child { border-bottom: none; }

.summary-row .label {
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.summary-row .value {
  font-weight: 700;
  font-size: 0.92rem;
}

.section-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
}

.profile-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.profile-note span { color: var(--accent); }

/* Confirm button */
.confirm-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  width: 100%;
  padding: 18px;
  background: var(--accent);
  color: var(--bg-primary);
  border-radius: var(--radius-lg);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all var(--transition-base);
}

.confirm-btn:hover {
  background: var(--accent-light);
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

.confirm-btn svg { width: 18px; height: 18px; stroke: currentColor; }

/* =========================================
   Success Screen
   ========================================= */
.success-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 60vh;
  padding: var(--space-xl);
}

.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(0, 201, 167, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-xl);
  animation: pulse-success 2s ease-in-out infinite;
}

.success-icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--accent);
  stroke-width: 2.5;
}

@keyframes pulse-success {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 201, 167, 0.3); }
  50% { box-shadow: 0 0 0 20px rgba(0, 201, 167, 0); }
}

.success-screen h1 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: var(--space-md);
}

.success-screen p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  max-width: 320px;
  margin-bottom: var(--space-xl);
  line-height: 1.6;
}

/* =========================================
   Profile Page — App Style
   ========================================= */
.profile-card-main {
  text-align: center;
  padding: var(--space-2xl);
}

.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bg-card-solid);
  border: 2px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
}

.profile-avatar svg {
  width: 40px;
  height: 40px;
  stroke: var(--text-secondary);
}

.profile-badge {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(0, 201, 167, 0.12);
  border: 1px solid rgba(0, 201, 167, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: var(--space-sm);
}

.info-section {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-md);
}

.info-section .info-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: var(--space-lg);
}

.info-row {
  margin-bottom: var(--space-md);
}

.info-row .info-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 2px;
}

.info-row .info-value {
  font-weight: 600;
  font-size: 0.95rem;
}
