* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #f5f6f8;
  color: #111;
}

.site-header {
  background: #005da4;
  color: #fff;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo {
  height: 50px;
  width: auto;
}

.header-title {
  font-size: 22px;
  font-weight: 700;
  flex: 1;
  text-align: center;
}

.header-spacer {
  width: 50px;
}

.container {
  max-width: 1100px;
  margin: 18px auto;
  padding: 0 16px;
}

.card {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  margin-bottom: 14px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 24px;
  row-gap: 30px;
}

.span-2 {
  grid-column: span 2;
}

.field label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
}

.field input,
.field select {
  width: 100%;
  padding: 10px;
  border: 1px solid #cfd4da;
  border-radius: 8px;
  font-size: 14px;
}

.hint {
  color: #555;
  display: block;
  margin-top: 6px;
}

.sep {
  grid-column: 1 / -1;
  border: none;
  border-top: 1px solid #e7e7e7;
  margin: 2px 0;
}

.actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.btn {
  background: #005da4;
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 10px 14px;
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
}

.btn.secondary {
  background: #e9eef5;
  color: #0b2b45;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.alert {
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 12px;
  font-weight: 700;
}

.alert.success {
  background: #e8f6ee;
  border: 1px solid #bfe8cf;
  color: #155c2e;
}

.searchbar {
  display: flex;
  gap: 10px;
}

.searchbar input {
  flex: 1;
  padding: 10px;
  border: 1px solid #cfd4da;
  border-radius: 8px;
  font-size: 14px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

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

th {
  background: #f2f4f7;
  position: sticky;
  top: 0;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
}

.page-info {
  font-weight: 700;
}

.site-footer {
  background: #323232;
  color: #fff;
  text-align: center;
  padding: 30px 16px;
  margin-top: 20px;
}

.footer-logo {
  height: 60px;
  width: auto;
  display: block;
  margin: 0 auto 18px auto;
}

.footer-text {
  font-weight: 700;
}

@media (max-width: 900px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .span-2 {
    grid-column: span 1;
  }

  .searchbar {
    flex-direction: column;
  }

  .header-title {
    font-size: 18px;
  }
}
