:root {
  color-scheme: light;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background-color: #0b172a;
  color: #e6eef8;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
}

.shell {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
}

.panel {
  background: rgba(9, 16, 28, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 32px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
}

.panel__header h1 {
  margin: 0 0 8px;
  font-size: 1.6rem;
}

.panel__header p {
  margin: 0;
  color: #c7d4e8;
}

.form {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

label {
  font-weight: 600;
  color: #d7e4f5;
}

input[type='password'] {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.03);
  color: #e6eef8;
  font-size: 1rem;
}

input[type='password']:focus {
  outline: 2px solid #66a8ff;
  outline-offset: 2px;
}

button {
  margin-top: 4px;
  padding: 12px 14px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #2e7bff, #64d0ff);
  color: #0a1222;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, opacity 120ms ease;
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

button:not(:disabled):hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(100, 208, 255, 0.35);
}

.status {
  min-height: 20px;
  margin-top: 12px;
  font-weight: 600;
  color: #c7d4e8;
}

.status[data-state='success'] {
  color: #5ee0a4;
}

.status[data-state='error'] {
  color: #ff8fa3;
}
