:root {
  --primary: #0077c8;
  --primary-dark: #005b9a;
  --bg: #f4f8fb;
  --white: #fff;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;
  --success: #16a34a;
  --warning: #f59e0b;
  --danger: #dc2626
}

* {
  box-sizing: border-box
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Segoe UI, Arial, sans-serif
}

.admin-footer {
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 14px 24px;
  color: var(--muted);
  display: flex;
  justify-content: space-between
}

.status-badge {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  background: #e0f2fe;
  color: var(--primary-dark);
  font-weight: 900;
  font-size: 12px
}

.page-header {
  margin-bottom: 18px
}

.page-header h2 {
  font-weight: 900;
  margin-bottom: 4px
}

.page-header p {
  color: var(--muted)
}

.login-body {
  min-height: 100vh;
  background: linear-gradient(135deg, #082f49, #0077c8)
}

.login-wrapper {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px
}

.login-card {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border-radius: 24px;
  padding: 34px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .22)
}

.login-logo {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 30px;
  margin-bottom: 18px
}

.login-card h1 {
  font-weight: 900;
  margin-bottom: 6px
}

.login-card p {
  color: var(--muted);
  margin-bottom: 22px
}

.login-demo {
  margin-top: 16px;
  text-align: center;
  color: var(--muted);
  font-size: 13px
}

@media (max-width: 991.98px) {
  .page-header {
    align-items: flex-start !important;
    gap: 12px;
    flex-wrap: wrap;
  }

  .page-header>div:last-child {
    width: 100%;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }

  .panel,
  .card {
    max-width: 100%;
    overflow-x: auto;
  }

  table.table {
    min-width: 720px;
  }
}

@media (max-width: 575.98px) {
  h1,
  h2 {
    font-size: 1.35rem !important;
  }

  .btn {
    white-space: normal;
  }

  .row>[class*="col-"] {
    width: 100%;
  }
}
