/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BODY */
body {
  font-family: 'Segoe UI', sans-serif;
  background: radial-gradient(circle at top, #0b1f3a, #020617 80%);
  color: #e2e8f0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* CONTAINER */
.container {
  flex: 1;
  padding: 20px;
  text-align: center;
  margin-top: 10px;
}

/* LOGO BESAR */
.logo {
  width: 85%;
  max-width: 380px;
  margin: 30px auto;
  display: block;
  filter: drop-shadow(0 0 10px rgba(34, 211, 238, 0.2));
}

/* BUTTON */
.btn {
  display: block;
  width: 85%;
  max-width: 320px;
  margin: 14px auto;
  padding: 14px;
  border-radius: 14px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: 0.25s ease;
  font-weight: 500;
}

.btn i {
  margin-right: 8px;
}

/* MAIN BUTTON */
.main {
  background: linear-gradient(135deg, #22d3ee, #6366f1);
  color: #020617;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.25);
}

.main:hover {
  transform: scale(1.05);
}

/* OUTLINE */
.outline {
  border: 2px solid #38bdf8;
  color: #38bdf8;
  background: transparent;
}

.outline:hover {
  background: #38bdf8;
  color: #020617;
}

/* CARD */
.card {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(56, 189, 248, 0.2);
  margin: 15px auto;
  padding: 16px;
  border-radius: 16px;
  width: 90%;
  max-width: 420px;
  text-align: left;
  backdrop-filter: blur(8px);
}

.icon {
  font-size: 24px;
  color: #22d3ee;
}

.label {
  font-size: 13px;
  color: #94a3b8;
}

h2 {
  font-size: 20px;
  margin-top: 4px;
}

/* NOTIF */
.notif {
  position: fixed;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: #020617;
  border: 2px solid #6366f1;
  padding: 14px 22px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: 0.4s ease;
  box-shadow: 0 0 25px rgba(99, 102, 241, 0.35);
  z-index: 2000;
}

.notif.show {
  top: 20px;
}

.notif i {
  color: #22d3ee;
}

/* ================= NAVBAR ================= */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(2, 6, 23, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(56, 189, 248, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 18px;
  z-index: 1500;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
}

.nav-logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: cover;
}

.nav-right {
  display: flex;
  gap: 8px;
}

.nav-btn {
  background: none;
  border: none;
  color: #e2e8f0;
  font-size: 18px;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  transition: 0.2s;
}

.nav-btn:hover {
  background: rgba(56, 189, 248, 0.15);
}

/* ================= SIDEBAR ================= */
.sidebar {
  position: fixed;
  top: 0;
  left: -270px;
  width: 260px;
  height: 100%;
  background: #020617;
  padding: 20px;
  transition: 0.3s ease;
  z-index: 1600;
  border-right: 1px solid rgba(56, 189, 248, 0.1);
}

.sidebar.active {
  left: 0;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.sidebar-header h2 {
  font-size: 16px;
}

.sidebar-header button {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.sidebar a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 10px;
  color: #cbd5f5;
  text-decoration: none;
  margin-bottom: 10px;
  transition: 0.2s;
}

.sidebar a:hover {
  background: rgba(34, 211, 238, 0.12);
  color: #22d3ee;
}

/* OVERLAY */
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #00000088;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 1550;
}

#overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ================= FOOTER ================= */
.footer {
  margin-top: auto;
  padding: 40px 20px 20px;
  background: #020617;
  border-top: 1px solid rgba(56, 189, 248, 0.1);
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 25px;
  max-width: 1000px;
  margin: auto;
}

/* RATARASMP - oranye */
.footer-col h2 {
  margin-bottom: 10px;
  font-size: 20px;
  color: #f97316;
}

/* Quick Links, Server, Legal - tosca */
.footer-col h3 {
  margin-bottom: 10px;
  font-size: 15px;
  color: #22d3ee;
}

.footer-col p {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.6;
}

/* Semua link footer - putih */
.footer-col a {
  display: block;
  text-decoration: none;
  color: #cbd5f5;
  margin-bottom: 8px;
  font-size: 14px;
  transition: 0.2s;
}

/* Contact - tosca */
.footer-col a.highlight {
  color: #22d3ee;
}

.footer-col a:hover {
  color: #22d3ee;
  transform: translateX(3px);
}

.footer-social {
  text-align: center;
  margin-top: 25px;
}

.footer-social a {
  margin: 0 10px;
  font-size: 20px;
  color: #cbd5f5;
  transition: 0.2s;
}

.footer-social a:hover {
  color: #22d3ee;
  transform: scale(1.2);
}

.footer-line {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 25px auto;
  max-width: 900px;
}

.footer-copy {
  text-align: center;
  font-size: 13px;
  color: #94a3b8;
}

/* ================= LIGHT MODE ================= */
.light-mode {
  background: #f1f5f9;
  color: #020617;
}

.light-mode .navbar {
  background: #ffffff;
}

.light-mode .sidebar {
  background: #ffffff;
}

.light-mode .sidebar a {
  color: #020617;
}

.light-mode .footer {
  background: #ffffff;
}

.light-mode .footer-col a {
  color: #334155;
}

.light-mode .footer-col a.highlight {
  color: #0891b2;
}

.light-mode .footer-col p {
  color: #475569;
}

.light-mode .footer-copy {
  color: #64748b;
}

.light-mode .footer-col h3 {
  color: #0891b2;
}
