/* =========================
   GLOBAL RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
}

body {
  background: #f8fafc;
  color: #0f172a;
  line-height: 1.6;
}

/* =========================
   TOP BAR
========================= */
.topbar {
  height: 64px;
  background: linear-gradient(90deg, #38bdf8, #0ea5e9);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.logo {
  font-size: 20px;
  font-weight: 800;
}

/* LOGOUT BUTTON (FIXED SIZE) */
.logout-btn {
  background: #ffffff;
  color: #0ea5e9;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.logout-btn:hover {
  background: #e0f2fe;
  transform: translateY(-1px);
}

/* =========================
   MAIN WRAPPER
========================= */
.main {
  max-width: 1200px;
  margin: auto;
  padding: 40px 16px;
}

/* =========================
   HERO / HEADER CARD
========================= */
.hero {
  background: #ffffff;
  border-radius: 20px;
  padding: 48px 32px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(15,23,42,0.08);
  margin-bottom: 40px;
  animation: fadeUp 0.5s ease;
}

.hero h1 {
  font-size: 34px;
  font-weight: 800;
}

.hero p {
  margin-top: 10px;
  font-size: 16px;
  color: #64748b;
}

/* =========================
   NOTICE BAR
========================= */
.notice {
  margin-bottom: 32px;
  padding: 14px 18px;
  background: #fff7ed;
  border-left: 5px solid #fb923c;
  border-radius: 12px;
  font-size: 14px;
}

/* =========================
   GRID
========================= */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

/* =========================
   CARDS
========================= */
.card {
  background: #ffffff;
  padding: 28px;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(15,23,42,0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(15,23,42,0.12);
}

.card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

/* =========================
   NUMBERS & STATUS
========================= */
.number {
  font-size: 52px;
  font-weight: 800;
  color: #f97316;
  margin: 10px 0;
}

.status {
  font-size: 14px;
  font-weight: 700;
}

.status.green {
  color: #22c55e;
}

/* =========================
   FORMS (ADMIN / STAFF)
========================= */
input,
select {
  width: 100%;
  margin-top: 6px;
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  font-size: 15px;
  transition: all 0.2s ease;
}

input:focus,
select:focus {
  outline: none;
  border-color: #38bdf8;
  box-shadow: 0 0 0 4px rgba(56,189,248,0.25);
}

/* =========================
   BUTTONS
========================= */
button,
.btn {
  width: 100%;
  padding: 12px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  background: linear-gradient(90deg, #fb923c, #f97316);
  color: #ffffff;
  transition: all 0.25s ease;
}

button:hover,
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(249,115,22,0.35);
}

/* =========================
   UPDATE TIME
========================= */
.update-time {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: #64748b;
}

/* =========================
   FOOTER
========================= */
.footer {
  margin-top: 60px;
  padding: 20px;
  background: linear-gradient(90deg, #38bdf8, #0ea5e9);
  color: white;
  text-align: center;
  font-size: 14px;
}

/* =========================
   ANIMATIONS
========================= */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
