﻿@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap");

:root {
  --ink: #0f172a;
  --muted: #64748b;
  --brand: #0f766e;
  --brand-2: #0b6fa2;
  --card: #ffffff;
  --line: #e5e7eb;
  --soft: #f3f5f7;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  background: radial-gradient(1200px 700px at 10% -10%, #e0f2fe, #f8fafc 40%, #f3f4f6 100%);
  color: var(--ink);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.shell { padding: 28px 16px 60px; flex: 1; }

.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 28px;
  background: var(--card);
  border-radius: 18px;
  box-shadow: var(--shadow);
  border: 1px solid #eef2f7;
  animation: fadeIn 0.5s ease-out;
}

h1, h2, h3 {
  font-family: "Playfair Display", serif;
  margin: 0 0 10px;
  letter-spacing: 0.2px;
}

p { color: var(--muted); }

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(15, 118, 110, 0.2), transparent 50%),
    radial-gradient(120% 120% at 100% 100%, rgba(11, 111, 162, 0.2), transparent 50%),
    linear-gradient(135deg, #dff4f7, #edf3ff 55%, #f5f8ff);
  border: 1px solid #cfe5f7;
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.hero-card {
  background: linear-gradient(160deg, #0f172a, #172554);
  color: #e2e8f0;
  border: 1px solid #334155;
  border-radius: 18px;
  padding: 20px;
}

.hero-card h2,
.hero-card .stat-value { color: #f8fafc; }

.hero-card .steps,
.hero-card .stat-label { color: #cbd5e1; }

.chip {
  display: inline-block;
  padding: 6px 10px;
  background: #e6fffb;
  color: #0f766e;
  border: 1px solid #99f6e4;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 8px 20px rgba(15, 118, 110, 0.25);
}
.btn:hover { transform: translateY(-1px); }
.btn.secondary {
  background: #0f172a;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.2);
}
.btn.small {
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
}

.link {
  display: inline-block;
  margin-top: 10px;
  color: #0b6fa2;
  text-decoration: none;
  font-weight: 600;
}

form { display: grid; gap: 14px; }
label { font-weight: 600; }

input, select, textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  transition: border 0.15s ease, box-shadow 0.15s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #93c5fd;
  box-shadow: 0 0 0 4px rgba(147, 197, 253, 0.25);
}

.notice {
  padding: 12px;
  background: #ecfeff;
  border: 1px solid #a5f3fc;
  border-radius: 10px;
  color: #0f766e;
}
.error {
  padding: 12px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 10px;
  color: #b91c1c;
}

.toast {
  position: fixed;
  top: 90px;
  right: 20px;
  z-index: 50;
  background: #0f766e;
  color: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.2);
  animation: slideIn 0.3s ease-out;
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}
.table th, .table td {
  padding: 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.table th {
  background: var(--soft);
  font-weight: 600;
}

.inline-actions {
  display: flex;
  gap: 6px;
}

.status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.status.pending {
  background: #fef3c7;
  color: #92400e;
}

.status.approved {
  background: #dcfce7;
  color: #166534;
}

.status.rejected {
  background: #fee2e2;
  color: #991b1b;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  gap: 12px;
  flex-wrap: wrap;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.content-block p {
  line-height: 1.7;
  font-size: 16px;
}

.home-stack {
  display: grid;
  gap: 18px;
  margin-top: 20px;
}

.home-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.feature-list {
  margin: 10px 0 14px 18px;
  color: #334155;
  line-height: 1.8;
}

.home-stack .card {
  border-radius: 20px;
  border: 1px solid #d7e4f8;
  padding: 24px;
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.08);
}

.home-stack .card h2 {
  margin-bottom: 12px;
}

.home-stack #about {
  background:
    linear-gradient(130deg, rgba(14, 165, 233, 0.12), rgba(255, 255, 255, 0.9)),
    #f8fbff;
}

.home-stack #programs {
  background:
    linear-gradient(120deg, rgba(16, 185, 129, 0.15), rgba(255, 255, 255, 0.88)),
    #f5fffb;
}

.home-stack #why-choose-us {
  background: linear-gradient(165deg, #0f172a, #1e293b);
  border-color: #334155;
}

.home-stack #why-choose-us h2,
.home-stack #why-choose-us p,
.home-stack #why-choose-us .feature-list {
  color: #e2e8f0;
}

.home-stack #placements {
  background:
    linear-gradient(135deg, rgba(59, 130, 246, 0.14), rgba(255, 255, 255, 0.88)),
    #f4f8ff;
}

.home-stack #admissions {
  background:
    linear-gradient(130deg, rgba(245, 158, 11, 0.18), rgba(255, 255, 255, 0.9)),
    #fffaf2;
}

.home-stack #student-life {
  background:
    linear-gradient(130deg, rgba(236, 72, 153, 0.14), rgba(255, 255, 255, 0.9)),
    #fff7fc;
}

.cta-band {
  background:
    radial-gradient(90% 120% at 0% 0%, rgba(20, 184, 166, 0.35), transparent 55%),
    radial-gradient(90% 120% at 100% 100%, rgba(59, 130, 246, 0.35), transparent 55%),
    linear-gradient(145deg, #082f49, #0f172a 55%, #1e293b);
  border-color: #334155;
}

.cta-band h2,
.cta-band p {
  color: #e2e8f0;
}

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.steps {
  margin: 10px 0 0 18px;
  color: var(--muted);
}

.stat {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.stat-label { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; }
.stat-value { font-weight: 600; }

.auth {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  align-items: stretch;
}

.auth-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.auth-brand {
  background: linear-gradient(135deg, #f0fdf4, #e0f2fe);
  border: 1px solid #dcfce7;
  border-radius: 18px;
  padding: 22px;
}

.ticks { margin: 10px 0 0 18px; color: var(--muted); }

.pill {
  padding: 6px 12px;
  background: #f1f5f9;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  color: var(--muted);
}

.admin-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}

.sidebar {
  background: #0f172a;
  color: #e2e8f0;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0f766e, #0b6fa2);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
}

.brand-title { font-weight: 700; }
.brand-sub { font-size: 12px; color: #94a3b8; }

.menu { display: grid; gap: 6px; }

.menu-item {
  padding: 10px 12px;
  border-radius: 10px;
  color: #e2e8f0;
  text-decoration: none;
  background: rgba(255,255,255,0.04);
}

.menu-item.active {
  background: rgba(14, 116, 144, 0.4);
  color: #fff;
}

.sidebar-footer {
  margin-top: auto;
  display: grid;
  gap: 10px;
}

.admin-main {
  padding: 28px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #eef2f7;
}

.site-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0f766e, #0b6fa2);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
}

.logo-title { font-weight: 700; }
.logo-sub { font-size: 12px; color: var(--muted); }

.site-nav {
  display: flex;
  gap: 16px;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}

.site-footer {
  background: #0f172a;
  color: #cbd5f5;
  padding: 28px 16px 18px;
  margin-top: auto;
}

.site-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.footer-title {
  font-weight: 700;
  margin-bottom: 6px;
  color: #e2e8f0;
}

.footer-bottom {
  text-align: center;
  margin-top: 18px;
  font-size: 12px;
  color: #94a3b8;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .auth { grid-template-columns: 1fr; }
  .admin-layout { grid-template-columns: 1fr; }
  .home-split { grid-template-columns: 1fr; }
  .sidebar { position: sticky; top: 0; }
}

@media (max-width: 760px) {
  .site-header-inner { flex-direction: column; align-items: flex-start; }
  .site-nav { flex-wrap: wrap; }
  .site-footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .container { padding: 20px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
}
