/*
 * TeeLegend Portal — login.css v4 DARK
 */

body.login {
  background: #0b0f1e;
  background-image:
    radial-gradient(ellipse at 20% 40%, rgba(79,142,245,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 60%, rgba(139,92,246,0.06) 0%, transparent 50%);
}

body.login #login {
  padding: 0;
  width: 400px;
}

body.login #login h1 a {
  background-image: none;
  background-color: transparent;
  width: auto; height: auto;
  display: block;
  text-align: center;
  margin-bottom: 1.75rem;
  color: transparent;
}

body.login #login h1 a::before {
  content: 'tee';
  font-family: 'Orbitron', monospace;
  font-size: 1rem;
  font-weight: 700;
  color: #60a5fa;
  letter-spacing: .15em;
  text-transform: uppercase;
  display: block;
}

body.login #login h1 a::after {
  content: 'LEGEND';
  font-family: 'Orbitron', monospace;
  font-size: 1.5rem;
  font-weight: 900;
  color: #e2e8f0;
  letter-spacing: .08em;
  text-transform: uppercase;
  display: block;
  text-shadow: 0 0 24px rgba(79,142,245,0.35);
}

body.login #loginform {
  background: #141826;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.60), 0 0 0 1px rgba(79,142,245,0.10);
  padding: 2rem;
}

body.login #loginform .input,
body.login #loginform input[type="text"],
body.login #loginform input[type="password"] {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 0.65rem 0.875rem;
  background: #1c2235;
  color: #e2e8f0;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

body.login #loginform input:focus {
  border-color: #4f8ef5;
  box-shadow: 0 0 0 3px rgba(79,142,245,0.20);
  background: #202840;
  outline: none;
}

body.login #loginform label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #94a3b8;
  font-family: 'DM Sans', sans-serif;
}

body.login #loginform .button-primary {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  background: #4f8ef5;
  border-color: #4f8ef5;
  border-radius: 10px;
  padding: 0.7rem 1.5rem;
  text-shadow: none;
  box-shadow: 0 0 20px rgba(79,142,245,0.25);
  transition: all 150ms ease;
  height: auto;
  color: #fff;
}

body.login #loginform .button-primary:hover {
  background: #60a5fa;
  border-color: #60a5fa;
  box-shadow: 0 0 28px rgba(79,142,245,0.45);
}

body.login #nav a,
body.login #backtoblog a {
  color: #4b6080;
  font-size: 0.8125rem;
  font-family: 'DM Sans', sans-serif;
}
body.login #nav a:hover,
body.login #backtoblog a:hover { color: #60a5fa; }

body.login .message {
  background: rgba(79,142,245,0.10);
  border-color: rgba(79,142,245,0.25);
  color: #94a3b8;
}

/* ── Campo de loja ──────────────────────────────────────── */

.tl-login-loja-wrap {
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.tl-login-loja-label {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 0.375rem;
}

.tl-login-loja-select {
  width: 100%;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 0.65rem 2.25rem 0.65rem 0.875rem;
  background: #1c2235;
  color: #e2e8f0;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234b6080' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
  transition: border-color 150ms ease;
}
.tl-login-loja-select:focus {
  border-color: #4f8ef5;
  box-shadow: 0 0 0 3px rgba(79,142,245,0.20);
  outline: none;
}

#loginform {
  display: flex;
  flex-direction: column;
}

.tl-login-loja-wrap {
  order: -1;
}
