* {
  box-sizing: border-box;
}

body.admin-body {
  margin: 0;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  background: #f6f8fb;
  color: #1f2933;
  padding: 32px 20px;
}

.admin-login-header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  max-width: 480px;
  margin: 0 auto 16px;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.admin-header__left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-card {
  max-width: 480px;
  margin: 60px auto;
  background: #fff;
  padding: 28px;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.admin-logo {
  max-width: 180px;
  width: 100%;
  height: auto;
}

.admin-logo--small {
  max-width: 120px;
}

.admin-section {
  margin-bottom: 24px;
}

.admin-form,
.report-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.report-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: end;
}

.report-fields label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field--inline {
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.field__label {
  font-weight: 600;
  font-size: 14px;
}

input[type="text"],
input[type="password"],
input[type="number"],
input[type="date"] {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #d9e2ec;
  font-size: 14px;
}

.button {
  border: none;
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  background: #2563eb;
  color: #fff;
  cursor: pointer;
}

.link {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
}

.link--danger {
  color: #d64545;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-weight: 600;
}

.alert {
  padding: 10px 12px;
  border-radius: 10px;
  margin: 0 0 12px;
}

.alert--error {
  background: #ffe5e5;
  color: #b42318;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.muted {
  color: #7b8794;
  font-size: 13px;
}

.admin-table th,
.admin-table td {
  padding: 12px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 13px;
}

.admin-table th {
  background: #f8fafc;
  text-align: left;
  cursor: pointer;
}

.admin-table th:first-child {
  cursor: default;
}

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

.inline-form {
  display: inline;
  margin: 0;
}

.empty {
  text-align: center;
  padding: 24px;
  color: #7b8794;
}

.hint {
  color: #7b8794;
  font-size: 12px;
  margin: 0;
}
