.auth-page {
  min-height: 100vh;
  background: radial-gradient(circle at top, #1c2737 0%, #0e1522 45%, #090f19 100%);
  color: #e9eef7;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
}

.auth-card {
  width: 100%;
  max-width: 460px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  padding: 28px 24px;
  animation: riseIn 0.35s ease-out;
}

.auth-brand {
  text-align: center;
  margin-bottom: 18px;
}

.auth-brand h1 {
  margin: 0;
  font-size: 26px;
  letter-spacing: 1px;
}

.auth-brand p {
  margin: 8px 0 0;
  color: #c3cfdf;
  font-size: 14px;
}

.auth-form-group {
  margin-bottom: 14px;
}

.auth-form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 13px;
}

.auth-form-group input,
.auth-form-group select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(8, 13, 21, 0.85);
  color: #ffffff;
  border-radius: 10px;
  padding: 12px;
  font-size: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-form-group input:focus,
.auth-form-group select:focus {
  outline: none;
  border-color: #42b883;
  box-shadow: 0 0 0 3px rgba(66, 184, 131, 0.2);
}

.auth-btn {
  width: 100%;
  border: 0;
  border-radius: 10px;
  padding: 12px;
  font-size: 15px;
  font-weight: 700;
  color: #041117;
  background: linear-gradient(90deg, #66dfab, #53d1cc);
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.auth-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.auth-btn:disabled {
  opacity: 0.75;
  cursor: wait;
}

.auth-links {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.auth-links a {
  color: #7ed9ff;
  text-decoration: none;
  font-size: 13px;
}

.auth-links a:hover {
  text-decoration: underline;
}

.auth-alert {
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 14px;
  font-size: 13px;
  display: none;
}

.auth-alert.show {
  display: block;
}

.auth-alert.error {
  background: rgba(255, 62, 62, 0.16);
  border: 1px solid rgba(255, 62, 62, 0.35);
  color: #ffdede;
}

.auth-alert.success {
  background: rgba(71, 214, 137, 0.15);
  border: 1px solid rgba(71, 214, 137, 0.35);
  color: #dcffe9;
}

.auth-help {
  text-align: center;
  margin-top: 14px;
  color: #c6d0dc;
  font-size: 13px;
}

.dashboard-card {
  max-width: 1020px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
}

.panel {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 16px;
  background: rgba(5, 9, 16, 0.55);
}

.panel h3 {
  font-size: 16px;
  margin: 0 0 10px;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.kpi {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 10px;
}

.kpi-label {
  font-size: 12px;
  color: #b7c3d3;
}

.kpi-value {
  font-size: 19px;
  font-weight: 700;
  margin-top: 4px;
}

.list-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
}

.list-item:last-child {
  border-bottom: 0;
}

.inline-form {
  display: grid;
  gap: 10px;
}

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

.avatar-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  font-weight: 700;
  margin-right: 10px;
  color: #052634;
  background: linear-gradient(120deg, #7dd3fc, #6ee7b7);
}

.title-row {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}

.status-badge {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid rgba(34, 197, 94, 0.4);
  font-size: 12px;
}

@keyframes riseIn {
  from {
    transform: translateY(12px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 480px) {
  .auth-card {
    padding: 24px 18px;
  }

  .auth-brand h1 {
    font-size: 22px;
  }

  .inline-form-row,
  .kpi-grid,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}
