* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background: #050707;
}

body {
  font-family: "Courier New", monospace;
  color: #d8e0dc;
}

#login {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px;
  background:
    radial-gradient(circle at center, rgba(150,170,160,.035), transparent 55%),
    #050707;
  position: relative;
  overflow: hidden;
}

#login::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 3px,
    rgba(255,255,255,.018) 4px
  );
}

.terminal {
  width: 100%;
  max-width: 650px;
  background: #080c0b;
  border: 1px solid #68746e;
  box-shadow: 0 0 35px rgba(150,170,160,.08), inset 0 0 45px rgba(255,255,255,.012);
  position: relative;
  z-index: 1;
}

header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 15px;
  border-bottom: 1px solid #39413e;
  color: #87918c;
  font-size: 11px;
  letter-spacing: 1px;
}

.content { padding: 50px 55px; }

.title {
  text-align: center;
  font-size: 30px;
  letter-spacing: 6px;
  margin-bottom: 8px;
}

.subtitle {
  text-align: center;
  color: #7d8984;
  font-size: 11px;
  letter-spacing: 2px;
}

.rule {
  height: 1px;
  background: #3b4541;
  margin: 30px 0;
}

.warning {
  text-align: center;
  font-size: 12px;
  letter-spacing: 2px;
  margin-bottom: 25px;
}

.instruction {
  color: #7e8985;
  font-size: 12px;
  line-height: 1.7;
  margin-bottom: 30px;
}

label {
  display: block;
  color: #8e9994;
  font-size: 11px;
  letter-spacing: 2px;
  margin: 20px 0 8px;
}

input {
  width: 100%;
  background: #030504;
  border: 1px solid #4b5551;
  color: #dce5e1;
  padding: 13px;
  font-family: inherit;
  font-size: 14px;
  outline: none;
}

input:focus { border-color: #aebbb5; }

button {
  width: 100%;
  margin-top: 30px;
  padding: 14px;
  background: transparent;
  border: 1px solid #68746e;
  color: #dce5e1;
  font-family: inherit;
  letter-spacing: 2px;
  cursor: pointer;
}

button:hover {
  background: #dce5e1;
  color: #050707;
}

button:disabled {
  cursor: wait;
  opacity: .7;
}

#status {
  text-align: center;
  margin-top: 25px;
  color: #707b76;
  font-size: 10px;
  letter-spacing: 2px;
}

#status span { color: #aeb9b3; }

#message {
  min-height: 20px;
  margin-top: 18px;
  text-align: center;
  font-size: 11px;
  letter-spacing: 1px;
  line-height: 1.6;
}

footer {
  padding: 9px 15px;
  border-top: 1px solid #39413e;
  color: #59635f;
  font-size: 9px;
  letter-spacing: 1px;
}

@media (max-width: 600px) {
  .content { padding: 40px 25px; }
  .title { font-size: 22px; letter-spacing: 4px; }
  header { font-size: 8px; }
}
