:root {
  --bg: #0f1724;
  --panel: #0b1220;
  --accent: #2ea3ff;
  --error: #ff4757;
  --text: #e3eaf2;
  --muted: #8a99af;
}

html, body {
  height: 100%;
  margin: 0;
  background: #071027;
  color: var(--text);
  font-family: Inter, system-ui, Segoe UI, Roboto, Arial;
}

.wrap {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

body {
  overflow: hidden;
}

.wrap {
  height: 100vh;
}

.card {
  width: 420px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border-radius: 12px;
  padding: 26px;
  box-shadow: 0 12px 40px rgba(2,6,23,0.7);
  position: relative;
  border: 1px solid rgba(255,255,255,0.03);
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

h1 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

form {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

label {
  font-size: 13px;
  color: #cfe8ff;
}

input {
  padding: 10px;
  border-radius: 8px;
  border: none;
  background: rgba(255,255,255,0.012);
  color: var(--text);
  font-size: 14px;
}

input:focus {
  outline: 2px solid rgba(46, 163, 255, 0.22);
}

input:disabled {
  background: rgba(255,255,255,0.05);
  color: #777;
  cursor: not-allowed;
}

button {
  margin-top: 8px;
  padding: 11px;
  border-radius: 8px;
  border: 0;
  background: linear-gradient(90deg, var(--accent), #4fb1ff);
  color: #041029;
  font-weight: 700;
  cursor: pointer;
}

button:disabled {
  background: rgba(46, 163, 255, 0.3);
  cursor: not-allowed;
}

.error {
  color: var(--error);
  font-weight: 700;
  margin-top: 8px;
  display: none;
}

@media (max-width: 480px) {
  .card {
    width: 92%;
  }
}
.ribbon {
  position: absolute;
  left: -44px;
  top: 14px;
  transform: rotate(-22deg);
  background: #ffc107;
  color: #000;
  padding: 6px 54px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 13px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.45);
}

.logo {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), #59b8ff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #041029;
  font-weight: 800;
  font-size: 18px;
}

.subtitle {
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
}

.note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
}
