*, ::after, ::before {
  box-sizing: border-box;
}

html {
  font-family: sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  min-height: 100%;
  position: relative;
}

body {
  text-align: left;
  margin: 0;
  font-family: var(--font-sans), "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-weight: 400;
  line-height: 1.5;
  background-color: #0a0a0a;
  color: #d0d0d0;
  font-size: 13px;
  height: 100%;
}

a {
  word-wrap: break-word;
  color: #FFC72C;
  text-decoration: none !important;
  background-color: transparent;
}

a:hover {
  text-decoration: underline;
  color: #FFD54F;
}

h1, h2, h4, h5, h6 {
  color: #e0e0e0;
}

h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
  line-height: 1.2;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  margin: 0 0 5px;
}

button, input, select, textarea {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

.form-group {
  margin-bottom: 1rem;
}

.form-control {
  display: block;
  width: 100%;
  height: calc(1.5em + 0.75rem + 2px);
  padding: 0.38rem 0.75rem;
  font-weight: 400;
  line-height: 1.5;
  border: 1px solid rgba(255,255,255,0.08);
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
  background: #141414;
  border-color: rgba(255,255,255,0.08);
  color: #e0e0e0;
  border-radius: 8px;
  font-size: 13px;
}

.form-control:focus {
  outline: 0;
  background: #141414;
  border-color: #FFC72C;
  box-shadow: 0 0 0 2px rgba(255, 199, 44, 0.25);
  color: #e0e0e0;
  border-radius: 8px;
  font-size: 13px;
}

.form-control::placeholder {
  color: #9a9a9a;
  opacity: 1;
}

.btn {
  display: inline-block;
  color: #212529;
  text-align: center;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.38rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 400;
  vertical-align: middle;
  background-color: transparent;
  transition: color .35s ease-in-out, background-color .35s ease-in-out, border-color .35s ease-in-out, box-shadow .35s ease-in-out;
  cursor: pointer;
}

.btn:hover {
  text-decoration: none;
  color: #212529;
}

.btn:focus {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

.btn-block {
  display: block;
  width: 100%;
}

.btn-lg {
  font-size: 15px;
  padding: 12px 16px;
  line-height: 1.5;
  border-radius: 0.3rem;
}

.btn-outline-primary {
  border-color: #FFC72C;
  color: #0a0a0a;
  background: #FFC72C;
  border-radius: 8px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(255, 199, 44, 0.3);
}

.btn-outline-primary:hover {
  border-color: #FFD54F !important;
  background: #FFD54F;
  color: #000000;
  box-shadow: 0 6px 20px rgba(255, 199, 44, 0.45);
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-submit svg {
  transition: transform 0.2s ease;
}

.btn-submit:hover svg {
  transform: translateX(2px);
}

.captcha-refresh-btn {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  -webkit-appearance: none;
  appearance: none;
  color: #FFC72C;
}

.captcha-refresh-btn:hover {
  background: transparent !important;
  color: #FFD54F;
}

.captcha-refresh-btn:focus {
  box-shadow: none !important;
  outline: none !important;
}

.captcha-refresh-btn svg {
  transform-origin: 50% 50%;
}

.captcha-refresh-btn:hover svg {
  animation: captchaSpin 700ms linear 1;
}

@keyframes captchaSpin {
from { transform: rotate(0deg); } to { transform: rotate(360deg); }
}

.register-main-wrapper {
  height: calc(100vh);
  background: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.register-main-wrapper label {
  color: #d0d0d0;
}

.register-main-left {
  margin: auto;
  max-width: 335px;
  width: 100%;
  padding: 0 15px;
}

.register-main-left .auth-wordmark {
  text-align: center;
  margin-bottom: 16px;
}

.register-main-left .auth-wordmark__link {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-decoration: none !important;
  letter-spacing: 0.02em;
  line-height: 1.2;
  transition: transform 0.2s ease;
}

.register-main-left .auth-wordmark__link:hover {
  text-decoration: none !important;
  transform: scale(1.03);
}

.register-main-left .auth-wordmark__cheese {
  color: #fff;
  font-weight: 850;
  font-size: 1.45rem;
  letter-spacing: -0.01em;
}

.register-main-left .auth-wordmark__hub {
  background: linear-gradient(135deg, #FFC72C, #F5A623);
  color: #0a0a0a;
  font-weight: 900;
  font-size: 1.15rem;
  padding: 2px 8px;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(255, 199, 44, 0.4);
  letter-spacing: 0.04em;
}

.register-main-left h2 {
  text-align: center;
  color: #e0e0e0;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 5px;
}

.register-main-left .register-subtitle {
  text-align: center;
  color: #9a9a9a;
  font-size: 13px;
  margin-bottom: 25px;
}

.register-main-left .register-subtitle a {
  color: #FFC72C;
  font-weight: 600;
}

.register-main-left .register-subtitle a:hover {
  color: #FFD54F;
}

.register-main-left .register-footer {
  text-align: center;
  margin-top: 20px;
  color: #9a9a9a;
  font-size: 13px;
}

.register-main-left .register-footer a {
  color: #FFC72C;
  font-weight: 600;
  transition: color 0.35s ease-in-out;
}

.register-main-left .register-footer a:hover {
  color: #FFD54F;
}

.register-extra-links {
  text-align: center;
  margin-top: 12px;
  font-size: 11px;
}

.register-extra-links a {
  color: #9a9a9a;
  margin: 0 6px;
  transition: color 0.35s ease-in-out;
}

.register-extra-links a:hover {
  color: #FFC72C;
}

.register-extra-links span {
  color: #6b6b6b;
}

.error-msg {
  background: rgba(239,68,68,0.15);
  border: 1px solid rgba(239,68,68,0.3);
  color: #ef4444;
  padding: 8px 14px;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: 13px;
  text-align: center;
}
