.br-auth-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-color: #04161e;
  background-size: cover;
  background-position: center;
}
.br-auth-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(4, 22, 30, 0.75);
}

.br-auth-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
  position: relative;
  z-index: 100;
}

.br-auth-logo {
  max-width: 260px;
  max-height: 90px;
  margin-bottom: 24px;
}

.br-auth-card {
  width: 100%;
  max-width: 380px;
}

.br-auth-title {
  font-size: 22px;
  margin-bottom: 12px;
}

.br-hidden {
  display: none;
}

.br-auth-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.br-auth-tabs .br-btn {
  flex: 1;
  justify-content: center;
}

.br-auth-panel {
  display: none;
}
.br-auth-panel.active {
  display: block;
}

.br-auth-error {
  color: #f44336;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
}
.br-auth-error .icon {
  margin-right: 4px;
}

.br-auth-success {
  color: #24da98;
  font-size: 14px;
  text-align: center;
  line-height: 1.5;
}

.br-auth-links {
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
}
.br-auth-links a {
  color: rgba(255, 255, 255, 0.5);
}
.br-auth-links a:hover {
  color: #1cc2eb;
}
.br-auth-links strong {
  color: #9f40e2;
  cursor: pointer;
}

.br-auth-links + .br-auth-links {
  margin-top: 8px;
}

body.login #loader,
body.login #small-loader,
body.login .overlay-bg,
body.login #feedback {
  z-index: 500;
}

.br-auth-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 600;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.br-auth-modal-overlay.active {
  display: flex;
}

.br-auth-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 10, 14, 0.8);
  backdrop-filter: blur(2px);
}

.br-auth-modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 380px;
  animation: brAuthModalIn 0.18s ease-out;
}
.br-auth-modal-panel.is-error .br-feedback-icon {
  background: rgba(244, 67, 54, 0.16);
  color: #f44336;
}
.br-auth-modal-panel.is-success .br-feedback-icon {
  background: rgba(36, 218, 152, 0.16);
  color: #24da98;
}
.br-auth-modal-panel.is-info .br-feedback-icon {
  background: rgba(28, 194, 235, 0.16);
  color: #1cc2eb;
}
.br-auth-modal-panel .br-feedback-cta {
  width: 100%;
}
.br-auth-modal-panel .br-feedback-body ul {
  margin: 0;
  list-style: disc;
}

@keyframes brAuthModalIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.br-turnstile {
  display: flex;
  justify-content: center;
  margin: 0 0 14px;
}
