.admin-shell {
  padding: 48px 0 90px;
}

.login-box {
  max-width: 380px;
  margin: 90px auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 40px 34px;
  text-align: center;
}

.login-box .login-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--green-400), var(--green-600));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 18px;
  box-shadow: 0 10px 24px rgba(31, 158, 70, 0.32);
}

.login-box h1 {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--navy-900);
}

.login-box p {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 24px;
}

.login-box input {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 13.5px;
  font-family: inherit;
  background: var(--bg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.login-box input:focus {
  outline: none;
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(46, 189, 87, 0.16);
  background: var(--white);
}

.login-box .btn-primary {
  width: 100%;
  justify-content: center;
}

.login-error {
  color: #c23b3b;
  font-size: 12.5px;
  margin-top: 12px;
  display: none;
  background: #fdeeee;
  padding: 9px 12px;
  border-radius: 8px;
}

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

.admin-header h1 {
  font-size: 23px;
  font-weight: 700;
  margin: 0;
  color: var(--navy-900);
}

.btn-ghost {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 9px 16px;
  font-size: 13px;
  cursor: pointer;
  font-weight: 700;
  font-family: inherit;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-ghost:hover {
  border-color: var(--muted-2);
  box-shadow: var(--shadow-sm);
}

.admin-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  padding: 26px;
  margin-bottom: 22px;
}

.admin-card h2 {
  font-size: 15.5px;
  font-weight: 700;
  margin: 0 0 18px;
  color: var(--navy-900);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.form-grid .span-3 {
  grid-column: span 3;
}

.form-grid label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  display: block;
  margin-bottom: 6px;
}

.form-grid input,
.form-grid textarea,
.form-grid select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 9px;
  border: 1px solid var(--border);
  font-size: 13px;
  font-family: inherit;
  background: var(--bg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-grid input:focus,
.form-grid textarea:focus,
.form-grid select:focus {
  outline: none;
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(46, 189, 87, 0.14);
  background: var(--white);
}

.form-grid .checkbox-field {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
}

.form-grid .checkbox-field input {
  width: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.admin-table th,
.admin-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.admin-table tbody tr {
  transition: background 0.15s ease;
}

.admin-table tbody tr:hover {
  background: var(--bg);
}

.admin-table th {
  color: var(--muted);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge {
  display: inline-block;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.badge.approved {
  background: rgba(46, 189, 87, 0.14);
  color: var(--green-600);
}

.badge.pending {
  background: rgba(255, 180, 0, 0.16);
  color: #a3690a;
}

.row-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.row-actions button {
  border: none;
  border-radius: 7px;
  padding: 7px 12px;
  font-size: 11.5px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.row-actions button:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

.btn-approve {
  background: linear-gradient(135deg, var(--green-500), var(--green-600));
  color: #fff;
}

.btn-reject {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border) !important;
}

.btn-delete {
  background: #fdeeee;
  color: #b93030;
}

.form-message {
  font-size: 13px;
  margin-top: 14px;
  padding: 10px 13px;
  border-radius: 9px;
  display: none;
}

.form-message.success {
  display: block;
  background: rgba(46, 189, 87, 0.12);
  color: var(--green-600);
}

.form-message.error {
  display: block;
  background: #fdeeee;
  color: #b93030;
}
