/* ============================================================
   ADMIN PANEL CSS
   ============================================================ */
   
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: #f4f7f6;
  color: #333;
}

.screen {
  display: none;
}
.screen.active {
  display: flex;
}

/* LOGIN SCREEN */
#login-screen {
  min-height: 100vh;
  align-items: center;
  justify-content: center;
}
.login-card {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  width: 100%;
  max-width: 400px;
  text-align: center;
}
.login-card .logo {
  font-weight: 800;
  font-size: 1.5rem;
  color: #0A1628;
  margin-bottom: 10px;
}
.login-card p {
  color: #666;
  margin-bottom: 30px;
}
.error-msg {
  color: #ef4444;
  font-size: 0.9rem;
  margin-top: 15px;
}

/* FORM ELEMENTS */
.input-group {
  margin-bottom: 20px;
  text-align: left;
}
.input-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #555;
  margin-bottom: 6px;
}
.input-group input, .input-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: inherit;
}
.input-group input:focus, .input-group textarea:focus {
  border-color: #F59E0B;
  outline: none;
  box-shadow: 0 0 0 3px rgba(245,158,11,0.1);
}

.btn {
  background: #0A1628;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: 0.2s;
}
.btn:hover {
  background: #F59E0B;
}
.btn-outline {
  background: transparent;
  color: #ef4444;
  border: 1px solid #ef4444;
}
.btn-outline:hover {
  background: #ef4444;
  color: white;
}

/* DASHBOARD SCREEN */
#dashboard-screen {
  min-height: 100vh;
  display: none; /* hidden by default */
}
#dashboard-screen.active {
  display: flex;
}

.sidebar {
  width: 250px;
  background: #0A1628;
  color: white;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
}
.sidebar .logo {
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: #F59E0B;
}
.nav-menu {
  list-style: none;
}
.nav-menu li {
  padding: 12px 15px;
  margin-bottom: 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s;
}
.nav-menu li:hover {
  background: rgba(255,255,255,0.1);
}
.nav-menu li.active {
  background: #F59E0B;
  color: #0A1628;
  font-weight: 600;
}
.mt-auto { margin-top: auto; }

.main-content {
  flex: 1;
  padding: 40px;
  overflow-y: auto;
}
.main-content h2 {
  margin-bottom: 30px;
  color: #0A1628;
}

.card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  max-width: 700px;
}
.card h3 {
  margin-bottom: 20px;
  color: #333;
}

.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}
