:root {
  color-scheme: dark;
  font-family: Inter, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  background: #171310 url("assets/nativas-burgers-background.jpg") center / cover no-repeat fixed;
}

.login-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 20px;
  background:
    radial-gradient(circle at 80% 13%, rgba(255, 184, 61, .21), transparent 31%),
    linear-gradient(120deg, rgba(5, 5, 5, .57), rgba(16, 9, 5, .30));
}

.login-card {
  width: min(100%, 430px);
  padding: 30px 36px 25px;
  text-align: center;
  color: #fff;
  background: rgba(30, 30, 30, .65);
  border: 1px solid rgba(255, 180, 50, .3);
  border-radius: 20px;
  box-shadow: 0 0 0 1px rgba(255, 208, 109, .04), 0 18px 56px rgba(0, 0, 0, .55), 0 -8px 30px rgba(255, 165, 42, .10);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  animation: card-arrival .65s ease-out both;
}

.login-logo {
  display: block;
  width: min(100%, 176px);
  margin: -8px auto 12px;
  border-radius: 14px;
  filter: drop-shadow(0 9px 12px rgba(0, 0, 0, .45));
}

.login-kicker {
  margin: 0 0 8px;
  color: #ffbc59;
  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .17em;
}

h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 6vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: 1.05;
  text-shadow: 0 0 22px rgba(255, 255, 255, .19);
}

.login-subtitle {
  margin: 12px auto 25px;
  color: #d1d1d1;
  font-size: .9rem;
  line-height: 1.55;
}

.login-form { text-align: left; }

.field-label {
  display: block;
  margin: 0 0 8px;
  color: #f4efe9;
  font-size: .8rem;
  font-weight: 600;
}

.input-shell {
  position: relative;
  display: flex;
  align-items: center;
  height: 51px;
  margin: 0 0 18px;
  overflow: hidden;
  background: rgba(8, 8, 8, .43);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 11px;
  transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
}

.input-shell:focus-within {
  background: rgba(15, 11, 8, .65);
  border-color: #ff9d2f;
  box-shadow: 0 0 0 3px rgba(255, 126, 25, .17), 0 0 22px rgba(255, 155, 40, .18);
}

.field-icon {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  margin: 0 13px 0 16px;
  fill: none;
  stroke: #d6ae78;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: stroke .3s ease;
}

.input-shell:focus-within .field-icon { stroke: #ffae42; }

.input-shell input {
  width: 100%;
  height: 100%;
  padding: 0 14px 0 0;
  color: #fff;
  font: inherit;
  font-size: .92rem;
  outline: 0;
  background: transparent;
  border: 0;
}

.input-shell input::placeholder { color: #999; }

.login-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 53px;
  margin-top: 5px;
  padding: 0 18px;
  cursor: pointer;
  color: #fff;
  font: inherit;
  font-size: .79rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-shadow: 0 1px 1px rgba(65, 22, 0, .5);
  background: linear-gradient(135deg, #ff5722, #e65100);
  border: 1px solid rgba(255, 221, 173, .32);
  border-radius: 11px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .22), 0 7px 20px rgba(218, 74, 0, .31);
  transition: all .3s ease;
}

.login-submit span { font-size: 1.15rem; line-height: 0; transition: transform .3s ease; }

.login-submit:hover, .login-submit:focus-visible {
  outline: 0;
  transform: translateY(-2px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .3), 0 10px 27px rgba(255, 116, 10, .55), 0 0 18px rgba(255, 172, 61, .24);
}

.login-submit:hover span { transform: translateX(3px); }
.login-submit:active { transform: translateY(0); }
.login-submit:disabled { cursor: wait; opacity: .7; transform: none; }

.login-message {
  min-height: 1.15em;
  margin: 13px 0 0;
  color: #ffbc99;
  text-align: center;
  font-size: .78rem;
  line-height: 1.4;
}

.login-footer {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, .48);
  font-size: .72rem;
}

@keyframes card-arrival {
  from { opacity: 0; transform: translateY(16px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 460px) {
  .login-screen { padding: 20px 14px; }
  .login-card { padding: 27px 22px 22px; }
  .login-logo { width: 160px; }
}
