* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  color: #102327;
  font-family: Arial, Helvetica, sans-serif;
  background:
    linear-gradient(125deg, rgba(33, 76, 120, 0.14), transparent 36%),
    linear-gradient(145deg, #eef3f1 0%, #fbfcfa 52%, #dfe7e4 100%);
}

body.auth-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 32px 16px;
}

.auth-logo-wrap {
  display: grid;
  place-items: center;
  width: min(370px, calc(100vw - 48px));
  height: 174px;
}

.auth-logo-wrap img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  filter: drop-shadow(0 16px 28px rgba(20, 40, 43, 0.16));
}

.auth-shell {
  width: min(420px, calc(100vw - 32px));
  padding: 24px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(7, 17, 18, 0.12);
  border-radius: 10px;
  box-shadow: 0 20px 48px rgba(20, 40, 43, 0.12);
}

.auth-shell h1 {
  margin: 0 0 6px;
  font-size: 24px;
  line-height: 1.15;
}

.auth-shell p {
  margin: 0 0 18px;
  color: #597073;
  font-size: 14px;
  line-height: 1.5;
}

label {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 800;
}

input {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(7, 17, 18, 0.16);
  border-radius: 7px;
  font: inherit;
  font-weight: 700;
  background: #fff;
}

button {
  width: 100%;
  height: 42px;
  margin-top: 18px;
  color: #fff;
  border: 0;
  border-radius: 7px;
  background: #123d64;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

button:hover {
  background: #0b2d4b;
}

.link-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  font-size: 13px;
}

a {
  color: #123d64;
  font-weight: 800;
  text-decoration: none;
}

.message {
  min-height: 20px;
  margin-top: 14px;
  color: #9d1d2d;
  font-size: 13px;
  font-weight: 800;
}

.message.ok {
  color: #126240;
}

.admin-shell {
  width: min(980px, calc(100vw - 32px));
  margin: 24px auto;
  padding: 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(7, 17, 18, 0.12);
  border-radius: 10px;
  box-shadow: 0 20px 48px rgba(20, 40, 43, 0.12);
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.admin-header h1 {
  margin: 0;
  font-size: 24px;
}

.admin-header button {
  width: auto;
  min-width: 96px;
  margin: 0;
  padding: 0 16px;
}

.admin-header p {
  margin: 6px 0 0;
  color: #597073;
  font-size: 14px;
}

.admin-tabs {
  display: flex;
  gap: 8px;
  margin-top: 18px;
  padding: 6px;
  background: #eef3f1;
  border: 1px solid rgba(7, 17, 18, 0.1);
  border-radius: 8px;
}

.admin-tabs button {
  width: auto;
  height: 36px;
  margin: 0;
  padding: 0 16px;
  color: #123239;
  background: transparent;
  border: 1px solid transparent;
}

.admin-tabs button.active {
  color: #fff;
  background: #123d64;
  border-color: #123d64;
}

.admin-panel {
  display: none;
}

.admin-panel.active {
  display: block;
}

.admin-search {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.admin-search input {
  margin: 0;
}

.admin-search button {
  width: 96px;
  margin: 0;
}

table {
  width: 100%;
  margin-top: 18px;
  border-collapse: collapse;
  font-size: 13px;
}

th,
td {
  padding: 10px;
  border-bottom: 1px solid rgba(7, 17, 18, 0.1);
  text-align: left;
}

th {
  color: #315d72;
  font-size: 12px;
  text-transform: uppercase;
}

.actions {
  display: flex;
  gap: 8px;
}

.actions button {
  width: auto;
  height: 32px;
  margin: 0;
  padding: 0 10px;
  font-size: 12px;
}

.actions button.reject {
  background: #8a1f2d;
}

.actions button.suspend {
  background: #74601f;
}
