/* Global UNIFIL style */
:root {
  --un-blue: #1c73b8;
  --un-blue-soft: #e5f3ff;
  --text-dark: #012436;
  --card-bg: rgba(255, 255, 255, 0.96);
  --border-soft: #c3d7ea;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: linear-gradient(135deg, #d7ecff, #edf5ff);
  min-height: 100vh;
  color: var(--text-dark);
}

.page-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 16px 40px;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-logos {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-logos img {
  height: 52px;
  width: auto;
  border-radius: 8px;
  background: white;
  padding: 4px 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}

.title-block h1 {
  margin: 0 0 4px;
  font-size: 24px;
}

.title-block p {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #325a7a;
}

.card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.11);
  border: 1px solid var(--border-soft);
  margin-bottom: 18px;
}

.card h2 {
  margin-top: 0;
  margin-bottom: 10px;
}

.card p {
  margin-top: 4px;
  margin-bottom: 8px;
}

/* Buttons */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--un-blue);
  color: white;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  min-width: 150px;
}

.btn-secondary {
  background: white;
  color: var(--un-blue);
  border-color: var(--un-blue);
}

.btn:active {
  transform: scale(0.98);
}

/* Forms */
label {
  font-size: 14px;
  font-weight: 600;
}

input[type="text"],
textarea,
input[type="number"] {
  width: 100%;
  padding: 8px 10px;
  margin-top: 4px;
  margin-bottom: 8px;
  border-radius: 8px;
  border: 1px solid #b2c7dd;
  font-size: 14px;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
}

th,
td {
  border: 1px solid #d2e0f0;
  padding: 6px 8px;
  font-size: 13px;
  text-align: left;
}

th {
  background: #e5f0ff;
}

/* Utility */
.status-text {
  font-size: 13px;
  margin-top: 4px;
}

.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  background: #f0f4ff;
  border: 1px solid #d2def5;
}

.badge-ok {
  color: #135c2a;
}

.badge-wait {
  color: #7a4c00;
}

.center {
  text-align: center;
}

.small {
  font-size: 12px;
  color: #48627a;
}

@media (max-width: 640px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
