* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #0d2c54;
  --ice: #d8e4f0;
  --green: #2ecc71;
  --yellow: #f1c40f;
  --red: #ff5252;
}

body {
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1a202c;
  background:
    radial-gradient(circle at 82% 12%, rgba(255, 255, 255, 0.38), transparent 26%),
    radial-gradient(circle at 12% 88%, rgba(13, 44, 84, 0.10), transparent 30%),
    linear-gradient(145deg, #c9dbea 0%, var(--ice) 48%, #e7f0f8 100%);
}

.login-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 20px;
}

.login-card {
  width: 100%;
  max-width: 390px;
  background: #fff;
  border: 1px solid #b9cde0;
  border-top: 5px solid var(--navy);
  border-radius: 4px;
  padding: 34px 32px 32px;
  box-shadow: 0 24px 55px rgba(6, 22, 45, 0.20);
}

.logo-myan,
.logo-bet,
.logo-365 {
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.8px;
}

.logo-myan { color: var(--green); }
.logo-bet { color: var(--yellow); }
.logo-365 { color: var(--red); }

.card-logo {
  font-size: 30px;
  line-height: 1;
  margin-bottom: 26px;
  user-select: none;
}

.login-card h1 {
  font-size: 23px;
  color: var(--navy);
  letter-spacing: -0.4px;
}

.subtitle {
  margin-top: 6px;
  margin-bottom: 24px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
}

.field-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 700;
  color: #3b5068;
  margin: 14px 0 6px;
}

.field-input {
  width: 100%;
  border: 1px solid #a8bed2;
  border-radius: 3px;
  background: #f8fbfe;
  padding: 11px 12px;
  font-size: 14px;
  color: #1a202c;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.field-input:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(13, 44, 84, 0.10);
  background: #fff;
}

.btn-login {
  width: 100%;
  margin-top: 24px;
  padding: 12px 16px;
  background: var(--navy);
  color: #fff;
  border: 0;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 150ms ease, transform 150ms ease;
}

.btn-login:hover {
  background: #16477c;
  transform: translateY(-1px);
}

.login-error {
  background: #fdecea;
  color: #a8261b;
  border: 1px solid #f3b6b0;
  border-radius: 3px;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 600;
}

@media (max-width: 520px) {
  .login-shell {
    padding: 22px 16px;
    align-items: flex-start;
    padding-top: 48px;
  }

  .login-card {
    padding: 28px 22px 24px;
  }
}
