body {
  font-family: system-ui, Arial;
  margin: 0;
  background: #f6f7fb;
  color: #111;
}

/* Top navigation bar */
.topbar {
  background: #1E78C8;
  color: white;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand + logo */
.brand {
  font-weight: 700;
}

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

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

.brand-wrap span {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.2px;
}

/* Navigation */
.nav a {
  color: #fff;
  margin-left: 14px;
  text-decoration: none;
  font-weight: 500;
  opacity: 0.9;
}

.nav a:hover {
  opacity: 1;
}

/* Layout container */
.container {
  padding: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Cards */
.card {
  background: #fff;
  padding: 18px;
  border-radius: 10px;
  box-shadow: 0 2px 14px rgba(0,0,0,.06);
  margin-bottom: 16px;
}

/* Rows */
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

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

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

.big {
  font-size: 34px;
  font-weight: 800;
  color: #1E78C8;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

th {
  background: #f1f4f9;
}

th, td {
  border-bottom: 1px solid #eee;
  padding: 10px;
  text-align: left;
}

/* Inputs */
input,
select {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

/* Buttons */
button {
  cursor: pointer;
  background: #1E78C8;
  color: #fff;
  border: none;
  padding: 10px 14px;
  border-radius: 8px;
}

button:hover {
  background: #1662a8;
}

/* Button link style */
.btn {
  display: inline-block;
  padding: 10px 14px;
  background: #1E78C8;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
}

.btn:hover {
  background: #1662a8;
}

/* Danger button */
.danger {
  background: #b00020;
}

/* Error box */
.error {
  background: #ffe6e6;
  padding: 10px;
  border-radius: 8px;
  color: #7a0000;
  margin: 10px 0;
}

/* Hint text */
.hint {
  opacity: 0.7;
  font-size: 13px;
}

/* Forms */
.gridform {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 10px;
  align-items: center;
}

.grow {
  flex: 1;
}

/* Dropdown */

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    padding: 6px 10px;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    min-width: 150px;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
    z-index: 100;
}

.dropdown-menu a {
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    color: #333;
}

.dropdown-menu a:hover {
    background: #f5f5f5;
}

.dropdown:hover .dropdown-menu {
    display: block;
}