:root {
  --rayzen-ink: #050b14;
  --rayzen-panel: rgba(10, 23, 39, 0.88);
  --rayzen-panel-strong: #0d2035;
  --rayzen-line: rgba(126, 176, 220, 0.2);
  --rayzen-text: #f3f8fd;
  --rayzen-muted: #91a9be;
  --rayzen-orange: #ff9b25;
  --rayzen-orange-deep: #f26d08;
  --rayzen-cyan: #5bd5e9;
}

body.machobet-admin-login {
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 142, 26, 0.16), transparent 30%),
    radial-gradient(circle at 86% 84%, rgba(50, 166, 215, 0.17), transparent 34%),
    linear-gradient(135deg, #030812 0%, #071525 54%, #040b14 100%);
  color: var(--rayzen-text);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

body.machobet-admin-login::before,
body.machobet-admin-login::after {
  content: "";
  pointer-events: none;
  position: fixed;
  z-index: 0;
}

body.machobet-admin-login::before {
  background-image: linear-gradient(rgba(120, 172, 211, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(120, 172, 211, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  inset: 0;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 88%);
}

body.machobet-admin-login::after {
  border: 1px solid rgba(255, 155, 37, 0.24);
  border-radius: 50%;
  box-shadow: 0 0 0 22px rgba(255, 155, 37, 0.035), 0 0 0 44px rgba(255, 155, 37, 0.025);
  height: 260px;
  right: -86px;
  top: 13%;
  width: 260px;
}

.machobet-admin-login .main-container,
.machobet-admin-login #app {
  min-height: 100vh;
}

.machobet-admin-login .rayzen-theme-toggle {
  align-items: center;
  background: rgba(8, 20, 34, 0.76);
  border: 1px solid rgba(126, 176, 220, 0.3);
  border-radius: 999px;
  color: #b9d0e1;
  cursor: pointer;
  display: inline-flex;
  gap: 7px;
  padding: 8px 12px;
  position: fixed;
  right: 22px;
  top: 20px;
  z-index: 4;
}

.machobet-admin-login .rayzen-theme-toggle:hover,
.machobet-admin-login .rayzen-theme-toggle:focus-visible {
  border-color: var(--rayzen-orange);
  color: var(--rayzen-orange);
  outline: none;
}

body.machobet-admin-login[data-rayzen-theme="light"] {
  background: linear-gradient(135deg, #edf5fb 0%, #d8e8f5 54%, #f8fbfe 100%);
  color: #15304a;
}

body.machobet-admin-login[data-rayzen-theme="light"]::before {
  background-image: linear-gradient(rgba(49, 108, 148, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(49, 108, 148, 0.08) 1px, transparent 1px);
}

body.machobet-admin-login[data-rayzen-theme="light"] .login-box::before {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(224, 239, 249, 0.96));
  border-color: rgba(49, 108, 148, 0.2);
  box-shadow: 0 24px 60px rgba(33, 75, 104, 0.2);
}

body.machobet-admin-login[data-rayzen-theme="light"] .login-box-body {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(49, 108, 148, 0.16);
}

body.machobet-admin-login[data-rayzen-theme="light"] .login-box-msg,
body.machobet-admin-login[data-rayzen-theme="light"] .login-brand-copy,
body.machobet-admin-login[data-rayzen-theme="light"] .auth-links a {
  color: #527088;
}

body.machobet-admin-login[data-rayzen-theme="light"] .login-brand-panel h1,
body.machobet-admin-login[data-rayzen-theme="light"] .form-group label {
  color: #173650;
}

body.machobet-admin-login[data-rayzen-theme="light"] .form-control {
  background: rgba(241, 248, 252, 0.96) !important;
  border-color: rgba(49, 108, 148, 0.25) !important;
  color: #173650 !important;
}

body.machobet-admin-login[data-rayzen-theme="light"] .form-control::placeholder {
  color: #7892a6;
}

body.machobet-admin-login[data-rayzen-theme="light"] .rayzen-theme-toggle {
  background: rgba(255, 255, 255, 0.78);
  color: #315a76;
}

body.machobet-admin-login[data-rayzen-theme="light"] .login-logo img {
  filter: brightness(0.34) saturate(0.72) contrast(1.18);
}

body.machobet-admin-login[data-rayzen-theme="light"] {
  -webkit-font-smoothing: antialiased;
  background: linear-gradient(135deg, #e8f4fc 0%, #c9e3f5 54%, #fbfdff 100%);
  color: #102f4d;
}

body.machobet-admin-login[data-rayzen-theme="light"] .login-box::before {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(218, 238, 250, 0.97));
  border-color: rgba(31, 103, 145, 0.26);
  box-shadow: 0 26px 64px rgba(29, 78, 111, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

body.machobet-admin-login[data-rayzen-theme="light"] .login-brand-panel {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.26), rgba(192, 224, 243, 0.3));
}

body.machobet-admin-login[data-rayzen-theme="light"] .login-box-body {
  background: rgba(249, 253, 255, 0.9);
  border-color: rgba(31, 103, 145, 0.2);
}

body.machobet-admin-login[data-rayzen-theme="light"] .login-box-body::before,
body.machobet-admin-login[data-rayzen-theme="light"] .login-box-msg {
  color: #315f7c;
}

body.machobet-admin-login[data-rayzen-theme="light"] .login-brand-panel h1 {
  color: #102f4d;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.72);
}

body.machobet-admin-login[data-rayzen-theme="light"] .login-brand-panel h1 span {
  color: #e87508;
}

body.machobet-admin-login[data-rayzen-theme="light"] .login-brand-copy {
  color: #3c6078;
}

body.machobet-admin-login[data-rayzen-theme="light"] .login-system-status strong {
  color: #1d4964;
}

body.machobet-admin-login[data-rayzen-theme="light"] .login-system-status small {
  color: #5c7890;
}

body.machobet-admin-login[data-rayzen-theme="light"] .form-group label {
  color: #193f5d;
  font-weight: 800;
  letter-spacing: 0.015em;
}

body.machobet-admin-login[data-rayzen-theme="light"] .form-control {
  background: rgba(255, 255, 255, 0.96) !important;
  border-color: rgba(42, 112, 151, 0.34) !important;
  color: #153b58 !important;
}

body.machobet-admin-login[data-rayzen-theme="light"] .form-control:focus {
  background: #ffffff !important;
  border-color: #e87508 !important;
  box-shadow: 0 0 0 3px rgba(232, 117, 8, 0.16), 0 4px 12px rgba(36, 97, 132, 0.08) !important;
  color: #153b58 !important;
}

body.machobet-admin-login[data-rayzen-theme="light"] .form-control::placeholder {
  color: #6c8799;
  opacity: 1;
}

body.machobet-admin-login[data-rayzen-theme="light"] .form-control-feedback,
body.machobet-admin-login[data-rayzen-theme="light"] .auth-password-toggle {
  color: #4d7690;
}

body.machobet-admin-login[data-rayzen-theme="light"] .auth-links a {
  color: #2f5e7d;
  font-weight: 600;
}

body.machobet-admin-login[data-rayzen-theme="light"] .auth-link-button {
  background: rgba(239, 248, 253, 0.95);
  border-color: rgba(42, 112, 151, 0.36);
  color: #285875 !important;
}

body.machobet-admin-login[data-rayzen-theme="light"] .auth-link-button--primary {
  background: rgba(255, 155, 37, 0.16);
  border-color: rgba(205, 104, 8, 0.62);
  color: #b85d05 !important;
}

body.machobet-admin-login[data-rayzen-theme="light"] .auth-link-button:hover,
body.machobet-admin-login[data-rayzen-theme="light"] .auth-link-button:focus-visible {
  background: rgba(255, 155, 37, 0.2);
  color: #9e4d03 !important;
}

body.machobet-admin-login[data-rayzen-theme="light"] .auth-register-terms {
  color: #45677d;
}

body.machobet-admin-login[data-rayzen-theme="light"] .auth-register-terms a {
  color: #1d628b;
}

body.machobet-admin-login[data-rayzen-theme="light"] .client-register-field__status {
  color: #456c82;
}

body.machobet-admin-login[data-rayzen-theme="light"] .auth-status {
  color: #145b42;
}

body.machobet-admin-login[data-rayzen-theme="light"] .auth-status.alert-success {
  color: #145b42;
}

body.machobet-admin-login[data-rayzen-theme="light"] .auth-register-errors {
  color: #96383f;
}

body.machobet-admin-login[data-rayzen-theme="light"] .auth-register-errors strong {
  color: #7f2931;
}

.machobet-admin-login .login-box {
  align-items: stretch;
  display: flex;
  left: 50%;
  margin: 0;
  max-width: 1060px;
  min-height: 620px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 48px);
  z-index: 1;
}

.machobet-admin-login .login-box::before {
  animation: rayzenPanelPulse 10s ease-in-out infinite alternate;
  background: linear-gradient(135deg, rgba(16, 41, 66, 0.82), rgba(6, 16, 29, 0.88));
  backdrop-filter: blur(18px);
  border: 1px solid var(--rayzen-line);
  border-radius: 28px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  content: "";
  inset: 0;
  position: absolute;
}

.machobet-admin-login .login-brand-panel,
.machobet-admin-login .login-box-body {
  position: relative;
  z-index: 1;
}

.machobet-admin-login .login-brand-panel {
  align-items: flex-start;
  display: flex;
  flex: 1 1 53%;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 58px 58px 48px;
}

.machobet-admin-login .login-brand-panel::after {
  background: linear-gradient(135deg, transparent 42%, rgba(255, 155, 37, 0.12) 42.2%, transparent 42.5%), linear-gradient(135deg, transparent 64%, rgba(91, 213, 233, 0.08) 64.2%, transparent 64.5%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.machobet-admin-login .login-brand-panel:hover,
.machobet-admin-login .login-box-body:hover {
  background-color: rgba(20, 48, 77, 0.18);
  box-shadow: inset 0 0 34px rgba(91, 213, 233, 0.035);
}

.machobet-admin-login.client-register-page .login-brand-panel {
  animation: rayzenCardIn 760ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.machobet-admin-login.client-register-page .login-box-body {
  animation: rayzenCardIn 860ms 90ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.machobet-admin-login .rayzen-particles {
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.machobet-admin-login .rayzen-particles span {
  animation: rayzenParticleFloat 8s ease-in-out infinite;
  background: var(--rayzen-cyan);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(91, 213, 233, 0.86);
  height: 3px;
  opacity: 0.48;
  position: absolute;
  width: 3px;
}

.machobet-admin-login .rayzen-particles span:nth-child(1) { left: 12%; top: 24%; animation-delay: -1s; }
.machobet-admin-login .rayzen-particles span:nth-child(2) { left: 28%; top: 73%; animation-delay: -4.5s; }
.machobet-admin-login .rayzen-particles span:nth-child(3) { left: 42%; top: 16%; animation-delay: -2.4s; }
.machobet-admin-login .rayzen-particles span:nth-child(4) { left: 56%; top: 61%; animation-delay: -6s; }
.machobet-admin-login .rayzen-particles span:nth-child(5) { left: 68%; top: 32%; animation-delay: -3.2s; }
.machobet-admin-login .rayzen-particles span:nth-child(6) { left: 77%; top: 82%; animation-delay: -7s; }
.machobet-admin-login .rayzen-particles span:nth-child(7) { left: 86%; top: 18%; animation-delay: -5.2s; }
.machobet-admin-login .rayzen-particles span:nth-child(8) { left: 19%; top: 91%; animation-delay: -6.8s; }

@keyframes rayzenCardIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes rayzenPanelPulse {
  from { filter: saturate(0.96); }
  to { filter: saturate(1.08); }
}

@keyframes rayzenParticleFloat {
  0%, 100% { opacity: 0.22; transform: translate3d(0, 5px, 0) scale(0.8); }
  50% { opacity: 0.78; transform: translate3d(8px, -12px, 0) scale(1.35); }
}

.machobet-admin-login .login-brand-content,
.machobet-admin-login .login-system-status {
  position: relative;
  z-index: 1;
}

.machobet-admin-login .login-brand-content {
  max-width: 440px;
}

.machobet-admin-login .login-logo {
  margin: 0 0 50px;
  text-align: left;
}

.machobet-admin-login .login-logo a {
  display: inline-flex;
}

.machobet-admin-login .login-logo img {
  display: block;
  height: auto;
  max-height: 86px;
  max-width: 238px;
  object-fit: contain;
  width: auto;
}

.machobet-admin-login .login-kicker {
  color: var(--rayzen-orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.24em;
  margin: 0 0 13px;
  text-transform: uppercase;
}

.machobet-admin-login .login-brand-panel h1 {
  color: #fff;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.03;
  margin: 0 0 18px;
}

.machobet-admin-login .login-brand-panel h1 span {
  color: var(--rayzen-orange);
}

.machobet-admin-login .login-brand-copy {
  color: #b8cadb;
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
  max-width: 390px;
}

.machobet-admin-login .login-system-status {
  align-items: center;
  display: flex;
  gap: 12px;
}

.machobet-admin-login .login-system-status__dot {
  background: #2be39d;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(43, 227, 157, 0.1), 0 0 18px rgba(43, 227, 157, 0.7);
  flex: 0 0 8px;
  height: 8px;
  width: 8px;
}

.machobet-admin-login .login-system-status strong,
.machobet-admin-login .login-system-status small {
  display: block;
}

.machobet-admin-login .login-system-status strong {
  color: #dfffee;
  font-size: 12px;
  margin-bottom: 3px;
}

.machobet-admin-login .login-system-status small {
  color: var(--rayzen-muted);
  font-size: 11px;
}

.machobet-admin-login .login-box-body {
  align-self: stretch;
  background: rgba(4, 11, 20, 0.44);
  backdrop-filter: blur(16px);
  border-left: 1px solid var(--rayzen-line);
  border-radius: 0 28px 28px 0;
  display: flex;
  flex: 0 1 410px;
  flex-direction: column;
  justify-content: center;
  padding: 58px 52px;
  width: auto;
}

.machobet-admin-login .login-box-body::before {
  color: var(--rayzen-muted);
  content: attr(data-context);
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  margin-bottom: 10px;
}

.machobet-admin-login .login-box-msg {
  color: var(--rayzen-muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 26px;
  padding: 0;
  text-align: left;
}

.machobet-admin-login form {
  margin: 0;
}

.machobet-admin-login .form-group {
  margin-bottom: 16px;
}

.machobet-admin-login .form-group label {
  color: #c7d9e9;
  display: block;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 7px;
}

.machobet-admin-login .form-control {
  background: rgba(11, 31, 51, 0.82) !important;
  border: 1px solid rgba(126, 176, 220, 0.24) !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  color: #fff !important;
  font-size: 14px;
  height: 48px;
  padding: 0 15px;
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.machobet-admin-login .form-control:focus {
  background: rgba(15, 43, 69, 0.96) !important;
  border-color: var(--rayzen-orange) !important;
  box-shadow: 0 0 0 3px rgba(255, 155, 37, 0.12) !important;
}

.machobet-admin-login .form-control::placeholder {
  color: #718ba2;
}

.machobet-admin-login .form-control-feedback {
  color: #7694ac;
  height: 48px;
  line-height: 48px;
  right: 12px;
}

.machobet-admin-login .has-feedback .form-control {
  padding-right: 44px;
}

.machobet-admin-login .auth-password-field .form-control {
  padding-right: 78px;
}

.machobet-admin-login .auth-password-field .form-control-feedback {
  right: 45px;
}

.machobet-admin-login .auth-password-toggle {
  align-items: center;
  background: transparent;
  border: 0;
  color: #7694ac;
  display: flex;
  height: 34px;
  justify-content: center;
  padding: 0;
  position: absolute;
  right: 6px;
  top: 28px;
  transition: color 180ms ease, transform 180ms ease;
  width: 32px;
  z-index: 2;
}

.machobet-admin-login .auth-password-toggle:hover,
.machobet-admin-login .auth-password-toggle:focus-visible {
  color: var(--rayzen-orange);
  outline: none;
  transform: scale(1.08);
}

.machobet-admin-login .help-block {
  color: #ff9c9c;
  font-size: 11px;
  margin: 6px 0 0;
}

.machobet-admin-login .has-error .form-control {
  border-color: #ff6f76 !important;
}

.machobet-admin-login .login-submit-row {
  margin-top: 8px;
}

.machobet-admin-login .login-submit-row > div {
  padding: 0;
  width: 100%;
}

.machobet-admin-login .btn-login {
  background: linear-gradient(100deg, var(--rayzen-orange), var(--rayzen-orange-deep)) !important;
  border: 0 !important;
  border-radius: 10px !important;
  box-shadow: 0 12px 24px rgba(242, 109, 8, 0.22);
  color: #1d1208 !important;
  font-size: 12px;
  font-weight: 800;
  height: 48px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: filter 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.machobet-admin-login .btn-login:hover,
.machobet-admin-login .btn-login:focus-visible {
  box-shadow: 0 16px 28px rgba(242, 109, 8, 0.34);
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.machobet-admin-login .btn-login:active {
  transform: translateY(0) scale(0.99);
}

.machobet-admin-login .auth-links {
  margin-top: 22px;
  text-align: center;
}

.machobet-admin-login .auth-link-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 12px;
}

.machobet-admin-login .auth-link-button {
  align-items: center;
  background: rgba(11, 31, 51, 0.72);
  border: 1px solid rgba(126, 176, 220, 0.28);
  border-radius: 9px;
  display: inline-flex;
  font-size: 11px !important;
  font-weight: 800;
  justify-content: center;
  letter-spacing: 0.04em;
  min-height: 36px;
  padding: 8px 14px;
  text-transform: uppercase;
}

.machobet-admin-login .auth-link-button--primary {
  background: rgba(255, 155, 37, 0.14);
  border-color: rgba(255, 155, 37, 0.62);
  color: #ffb34e !important;
}

.machobet-admin-login .auth-link-button:hover,
.machobet-admin-login .auth-link-button:focus-visible {
  background: rgba(255, 155, 37, 0.18);
  border-color: var(--rayzen-orange);
  color: #ffd18d !important;
  outline: none;
}

.machobet-admin-login .auth-links a {
  color: #96b4cb;
  font-size: 12px;
  text-decoration: none;
  transition: color 180ms ease;
}

.machobet-admin-login .auth-links a:hover,
.machobet-admin-login .auth-links a:focus-visible {
  color: var(--rayzen-orange);
}

@media (max-width: 760px) {
  .machobet-admin-login .login-box {
    flex-direction: column;
    min-height: 0;
    position: relative;
    top: auto;
    transform: none;
    width: calc(100% - 28px);
    margin: 14px auto;
  }

  .machobet-admin-login .login-box::before {
    border-radius: 20px;
  }

  .machobet-admin-login .login-brand-panel {
    min-height: 285px;
    padding: 30px 27px 26px;
  }

  .machobet-admin-login .login-logo {
    margin-bottom: 28px;
  }

  .machobet-admin-login .login-logo img {
    max-height: 58px;
    max-width: 182px;
  }

  .machobet-admin-login .login-brand-panel h1 {
    font-size: 30px;
  }

  .machobet-admin-login .login-brand-copy {
    font-size: 13px;
  }

  .machobet-admin-login .login-system-status {
    margin-top: 28px;
  }

  .machobet-admin-login .login-box-body {
    border-left: 0;
    border-radius: 0 0 20px 20px;
    border-top: 1px solid var(--rayzen-line);
    flex-basis: auto;
    padding: 34px 27px 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .machobet-admin-login .login-box::before,
  .machobet-admin-login.client-register-page .login-brand-panel,
  .machobet-admin-login.client-register-page .login-box-body,
  .machobet-admin-login .rayzen-particles span {
    animation: none;
  }

  .machobet-admin-login .form-control,
  .machobet-admin-login .btn-login,
  .machobet-admin-login .auth-links a {
    transition: none;
  }
}

.machobet-admin-login .auth-status {
  background: rgba(43, 227, 157, 0.1);
  border: 1px solid rgba(43, 227, 157, 0.36);
  border-radius: 9px;
  color: #b8f5d8;
  font-size: 12px;
  line-height: 1.45;
  margin: 0 0 18px;
  padding: 10px 12px;
}

.machobet-admin-login .auth-status.alert-success {
  color: #b8f5d8;
}

.machobet-admin-login .client-register-form {
  width: 100%;
}

.machobet-admin-login .client-register-grid {
  display: grid;
  gap: 0 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.machobet-admin-login .client-register-field {
  margin-bottom: 14px;
}

.machobet-admin-login .client-register-field--full {
  grid-column: 1 / -1;
}

.machobet-admin-login .auth-register-terms {
  color: #8099ad;
  font-size: 11px;
  line-height: 1.5;
  margin: 2px 0 18px;
}

.machobet-admin-login .auth-register-terms p {
  margin: 0 0 7px;
}

.machobet-admin-login .auth-register-terms a {
  color: #b5d5e8;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.machobet-admin-login .auth-register-terms a:hover,
.machobet-admin-login .auth-register-terms a:focus-visible {
  color: var(--rayzen-orange);
}

.machobet-admin-login .auth-register-errors {
  background: rgba(255, 79, 92, 0.1);
  border-color: rgba(255, 111, 118, 0.42);
  color: #ffc0c4;
}

.machobet-admin-login .auth-register-errors strong {
  color: #ff9fa5;
}

.machobet-admin-login .auth-register-errors ul {
  margin: 7px 0 0;
  padding-left: 18px;
}

.machobet-admin-login .auth-register-success strong {
  display: block;
  margin-bottom: 5px;
}

.machobet-admin-login .auth-register-success p {
  margin: 0;
}

.machobet-admin-login.client-register-page {
  max-height: calc(100vh - 32px);
  min-height: 0;
}

.machobet-admin-login.client-register-page .login-box-body {
  flex-basis: 540px;
  padding-bottom: 38px;
  padding-top: 38px;
}

.machobet-admin-login.client-register-page .login-box-body {
  justify-content: flex-start;
  overflow-y: auto;
  scrollbar-color: rgba(126, 176, 220, 0.42) transparent;
}

.machobet-admin-login .client-register-field__status {
  color: #8da0b8;
  display: none;
  font-size: 11px;
  line-height: 1.4;
  margin-top: 7px;
}

.machobet-admin-login .client-register-field__status:not(:empty) {
  display: block;
}

.machobet-admin-login .client-register-field.has-success .client-register-field__status {
  color: #58d59a;
}

.machobet-admin-login .client-register-field.has-error .client-register-field__status {
  color: #ff9a92;
}

.machobet-admin-login .client-register-field.has-success .form-control {
  border-color: rgba(88, 213, 154, 0.82) !important;
  box-shadow: 0 0 0 2px rgba(88, 213, 154, 0.1) !important;
}

.machobet-admin-login .client-register-field.has-error .form-control {
  border-color: rgba(255, 111, 97, 0.88) !important;
  box-shadow: 0 0 0 2px rgba(255, 111, 97, 0.1) !important;
}

.machobet-admin-login .auth-terms-check {
  align-items: flex-start;
  color: #b8c5d5;
  cursor: pointer;
  display: flex;
  font-size: 12px;
  gap: 9px;
  line-height: 1.55;
}

.machobet-admin-login .auth-terms-check input {
  accent-color: #ff9500;
  height: 16px;
  margin: 2px 0 0;
  width: 16px;
}

@media (max-width: 760px) {
  .machobet-admin-login .rayzen-theme-toggle {
    right: 14px;
    top: 12px;
  }

  .machobet-admin-login.client-register-page {
    max-height: none;
  }

  .machobet-admin-login.client-register-page .login-box-body {
    flex-basis: auto;
    overflow: visible;
    padding-bottom: 30px;
    padding-top: 30px;
  }
}

.machobet-admin-login .client-register-submit-row .btn-login {
  align-items: center;
  display: flex;
  gap: 9px;
  justify-content: center;
}

@media (max-width: 760px) {
  .machobet-admin-login .client-register-grid {
    grid-template-columns: 1fr;
  }
}

/* Preserve the Rayzen orange in light mode; only neutral pixels use the light asset. */
body.machobet-admin-login[data-rayzen-theme="light"] .login-logo img {
  content: url('/img/logo-rayzen-light.png') !important;
  filter: none !important;
}

/* Authentication Day palette: white surfaces with royal-blue controls; logo orange remains untouched. */
body.machobet-admin-login[data-rayzen-theme="light"] {
  background: #f7fbff !important;
  color: #173650 !important;
}

body.machobet-admin-login[data-rayzen-theme="light"] .login-box::before,
body.machobet-admin-login[data-rayzen-theme="light"] .login-box-body,
body.machobet-admin-login[data-rayzen-theme="light"] .login-brand-panel {
  background: #ffffff !important;
  border-color: #c1d3ec !important;
}

body.machobet-admin-login[data-rayzen-theme="light"] .login-brand-panel h1,
body.machobet-admin-login[data-rayzen-theme="light"] .form-group label,
body.machobet-admin-login[data-rayzen-theme="light"] .login-box-msg,
body.machobet-admin-login[data-rayzen-theme="light"] .login-brand-copy,
body.machobet-admin-login[data-rayzen-theme="light"] .auth-register-terms,
body.machobet-admin-login[data-rayzen-theme="light"] .login-system-status strong,
body.machobet-admin-login[data-rayzen-theme="light"] .login-system-status small {
  color: #173650 !important;
}

body.machobet-admin-login[data-rayzen-theme="light"] .login-brand-panel h1 span,
body.machobet-admin-login[data-rayzen-theme="light"] .login-kicker {
  color: #2d5db3 !important;
}

body.machobet-admin-login[data-rayzen-theme="light"] .form-control {
  background: #ffffff !important;
  border-color: #9fb9dc !important;
  color: #173650 !important;
}

body.machobet-admin-login[data-rayzen-theme="light"] .form-control:focus {
  border-color: #2d5db3 !important;
  box-shadow: 0 0 0 3px rgba(45, 93, 179, 0.18), 0 4px 12px rgba(31, 75, 157, 0.1) !important;
}

body.machobet-admin-login[data-rayzen-theme="light"] .btn-login,
body.machobet-admin-login[data-rayzen-theme="light"] #client-login-submit,
body.machobet-admin-login[data-rayzen-theme="light"] #client-register-submit {
  background: #2d5db3 !important;
  border-color: #163873 !important;
  color: #ffffff !important;
}

body.machobet-admin-login[data-rayzen-theme="light"] .btn-login:hover,
body.machobet-admin-login[data-rayzen-theme="light"] .btn-login:focus-visible,
body.machobet-admin-login[data-rayzen-theme="light"] .btn-login:active {
  background: #1f4b9d !important;
  color: #ffffff !important;
}

body.machobet-admin-login[data-rayzen-theme="light"] .auth-link-button,
body.machobet-admin-login[data-rayzen-theme="light"] .auth-link-button--primary {
  background: #ffffff !important;
  border-color: #7f9fcf !important;
  color: #1f4b9d !important;
}

body.machobet-admin-login[data-rayzen-theme="light"] .auth-link-button:hover,
body.machobet-admin-login[data-rayzen-theme="light"] .auth-link-button:focus-visible {
  background: #eaf1fc !important;
  border-color: #2d5db3 !important;
  color: #163873 !important;
}

body.machobet-admin-login[data-rayzen-theme="light"] .rayzen-theme-toggle {
  background: #2d5db3 !important;
  border-color: #163873 !important;
  color: #ffffff !important;
}

/* Mobile 100%: auth pages become a single readable column before the viewport can clip them. */
@media (max-width: 1100px) {
  body.machobet-admin-login {
    min-width: 0 !important;
    overflow-x: hidden !important;
  }

  .machobet-admin-login .login-box {
    box-sizing: border-box;
    flex-direction: column;
    left: auto;
    margin: 20px auto;
    max-width: 680px;
    min-height: 0;
    position: relative;
    top: auto;
    transform: none;
    width: calc(100% - 24px);
  }

  .machobet-admin-login .login-box::before {
    border-radius: 20px;
  }

  .machobet-admin-login .login-brand-panel {
    box-sizing: border-box;
    flex: 0 0 auto;
    min-height: 220px;
    padding: 28px 24px 22px;
    width: 100%;
  }

  .machobet-admin-login .login-brand-content {
    max-width: 100%;
  }

  .machobet-admin-login .login-logo {
    margin-bottom: 18px;
  }

  .machobet-admin-login .login-logo img {
    max-height: 60px;
    max-width: 220px;
  }

  .machobet-admin-login .login-system-status {
    margin-top: 24px;
  }

  .machobet-admin-login .login-box-body,
  .machobet-admin-login.client-register-page .login-box-body {
    box-sizing: border-box;
    flex: 0 0 auto;
    max-height: none;
    overflow: visible;
    padding: 30px 24px;
    width: 100%;
  }

  .machobet-admin-login .client-register-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .machobet-admin-login .client-register-field,
  .machobet-admin-login .client-register-form,
  .machobet-admin-login .auth-link-actions,
  .machobet-admin-login .auth-link-button {
    min-width: 0;
    max-width: 100%;
  }

  .machobet-admin-login .client-register-submit-row {
    margin-left: 0;
    margin-right: 0;
  }

  .machobet-admin-login .client-register-submit-row > div {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 600px) {
  .machobet-admin-login .login-box {
    margin: 12px auto 22px;
    width: calc(100% - 16px);
  }

  .machobet-admin-login .login-brand-panel {
    min-height: 200px;
    padding: 24px 20px 20px;
  }

  .machobet-admin-login .login-brand-panel h1 {
    font-size: 30px;
  }

  .machobet-admin-login .login-box-body,
  .machobet-admin-login.client-register-page .login-box-body {
    padding: 24px 20px 28px;
  }

  .machobet-admin-login .rayzen-theme-toggle {
    right: 10px;
    top: 10px;
  }
}
