* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f3f6fb;
  color: #172033;
}

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #0b1f3a, #123b67);
}

.login-card {
  width: 380px;
  background: #ffffff;
  padding: 28px;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.login-brand {
  color: #0b1f3a;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

h1, h2 {
  margin-top: 0;
}

label {
  display: block;
  margin-top: 16px;
  margin-bottom: 6px;
  font-weight: 700;
}

input {
  width: 100%;
  padding: 11px;
  border: 1px solid #cdd6e3;
  border-radius: 8px;
}

button,
.button-link {
  display: inline-block;
  margin-top: 18px;
  padding: 11px 16px;
  border: 0;
  border-radius: 8px;
  background: #123b67;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.btn-secondary {
  margin: 0;
  background: #e6ebf2;
  color: #172033;
}

.shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px 1fr;
}

.sidebar {
  background: #0b1f3a;
  color: #ffffff;
  padding: 24px 18px;
}

.brand {
  margin-bottom: 32px;
}

.brand-title {
  font-weight: 800;
  font-size: 24px;
  letter-spacing: 2px;
}

.brand-subtitle {
  color: #b7c7dc;
  margin-top: 4px;
}

.nav a {
  display: block;
  color: #ffffff;
  text-decoration: none;
  padding: 12px 14px;
  border-radius: 8px;
  margin-bottom: 6px;
}

.nav a:hover {
  background: rgba(255,255,255,0.12);
}

.main {
  padding: 24px;
}

.topbar {
  background: #ffffff;
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.page-title {
  font-size: 22px;
  font-weight: 800;
}

.page-subtitle {
  color: #637083;
  margin-top: 4px;
}

.notice {
  background: #fff4d6;
  border: 1px solid #f2ce73;
  padding: 12px 14px;
  border-radius: 10px;
  margin-bottom: 18px;
}

.content {
  background: transparent;
}

.cards,
.admin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.card {
  background: #ffffff;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 4px 16px rgba(18,59,103,0.08);
}

.link-card {
  color: #123b67;
  font-weight: 800;
  text-decoration: none;
}

.metric {
  font-size: 34px;
  font-weight: 800;
  color: #123b67;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(18,59,103,0.08);
}

th,
td {
  padding: 12px 14px;
  border-bottom: 1px solid #e6ebf2;
  text-align: left;
}

th {
  background: #eef3f9;
  font-weight: 800;
}

.form {
  max-width: 460px;
}

select,
textarea {
  width: 100%;
  padding: 11px;
  border: 1px solid #cdd6e3;
  border-radius: 8px;
  font-family: Arial, sans-serif;
}

textarea {
  min-height: 100px;
  resize: vertical;
}

.wide-form {
  max-width: 920px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.registry-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: #ffffff;
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 14px;
  box-shadow: 0 4px 16px rgba(18,59,103,0.08);
}
