* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Trebuchet MS", Arial, sans-serif;
  background:
    linear-gradient(rgba(2, 6, 23, 0.78), rgba(2, 6, 23, 0.9)),
    repeating-linear-gradient(
      45deg,
      #111827 0px,
      #111827 10px,
      #0f172a 10px,
      #0f172a 20px
    );
  min-height: 100vh;
  color: #f8fafc;
}

.login-wrapper {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 22px;
}

.login-box {
  width: 100%;
  max-width: 390px;
  background: linear-gradient(180deg, #1e293b, #0f172a);
  border: 2px solid #475569;
  border-radius: 10px;
  box-shadow:
    0 0 0 1px #020617,
    0 18px 45px rgba(0,0,0,0.55);
  padding: 26px;
}

.logo {
  text-align: center;
  margin-bottom: 28px;
  border-bottom: 1px solid #334155;
  padding-bottom: 20px;
}

.logo-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 12px;
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  border: 2px solid #93c5fd;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  font-weight: bold;
  box-shadow: inset 0 0 12px rgba(255,255,255,0.25);
}

.logo h1 {
  margin: 0;
  font-size: 34px;
  letter-spacing: 2px;
}

.logo p {
  margin: 6px 0 0;
  color: #cbd5e1;
  font-size: 14px;
}

form label {
  display: block;
  margin: 14px 0 6px;
  font-size: 14px;
  color: #e2e8f0;
}

form input {
  width: 100%;
  padding: 13px;
  border-radius: 6px;
  border: 1px solid #64748b;
  background: #020617;
  color: white;
  font-size: 15px;
  outline: none;
}

form input:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 2px rgba(56,189,248,0.25);
}

button {
  width: 100%;
  margin-top: 22px;
  padding: 14px;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(180deg, #2563eb, #1d4ed8);
  color: white;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  border: 1px solid #60a5fa;
}

button:hover {
  background: linear-gradient(180deg, #1d4ed8, #1e40af);
}

.register-link {
  text-align: center;
  margin-top: 18px;
}

.register-link a {
  color: #93c5fd;
  text-decoration: none;
  font-size: 14px;
}

.register-link a:hover {
  text-decoration: underline;
}