.section-login-content {
  position: relative;
  padding: 56px 0 88px;
  min-height: 58vh;
}

.auth-wrapper {
  position: relative;
  z-index: 2;
  max-width: 540px;
  margin: 0 auto;
  padding: 34px 32px 28px;
  background: linear-gradient(180deg, rgba(22, 22, 30, 0.97), rgba(11, 11, 16, 0.97));
  border: 1px solid rgba(255, 212, 39, 0.28);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  color: #c4c4c4;
  font-family: Roboto, Arial, sans-serif;
}

.auth-title {
  margin: 0 0 6px;
  font-family: Roboto, Arial, sans-serif;
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
}

.auth-title span {
  color: #ffd427;
}

.auth-intro {
  margin: 0 0 22px;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
  color: #9a9aa2;
}

.auth-form {
  display: block;
  width: 100%;
}

.auth-label {
  display: block;
  margin: 14px 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #ffd427;
}

.auth-input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  font-size: 15px;
  line-height: 1.3;
  color: #fff;
  background: #0b0b10;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.auth-input::placeholder {
  color: #5c5c66;
}

.auth-input:focus {
  outline: none;
  border-color: #ffd427;
  background: #101018;
  box-shadow: 0 0 0 3px rgba(255, 212, 39, 0.15);
}

.auth-input:invalid:not(:placeholder-shown) {
  border-color: #ff5a5a;
}

.auth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}

.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  font-size: 13px;
}

.auth-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 14px 0;
  font-size: 13px;
  line-height: 1.4;
  color: #b6b6bd;
}

.auth-checkbox input {
  margin-top: 2px;
  accent-color: #ffd427;
}

.auth-link,
.auth-checkbox a,
.auth-switch a {
  color: #26bffc;
  text-decoration: none;
}

.auth-link:hover,
.auth-checkbox a:hover,
.auth-switch a:hover {
  text-decoration: underline;
}

.auth-submit {
  display: block;
  width: 100%;
  margin: 22px 0 0;
  padding: 14px;
  font-family: Roboto, Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #1a1205;
  background: linear-gradient(180deg, #ffe27a 0%, #ffc924 45%, #e9a407 100%);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(255, 180, 20, 0.32);
  transition: transform 0.12s, box-shadow 0.2s, filter 0.2s;
}

.auth-submit:hover {
  filter: brightness(1.05);
  box-shadow: 0 10px 28px rgba(255, 180, 20, 0.45);
}

.auth-submit:active {
  transform: translateY(1px);
}

.auth-switch {
  margin: 18px 0 0;
  font-size: 13px;
  text-align: center;
  color: #9a9aa2;
}

.otp-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 16px;
  background: rgba(5, 5, 8, 0.72);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  animation: otp-fade 0.15s ease-out;
}

@keyframes otp-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.otp-modal {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding: 28px 26px 22px;
  background: linear-gradient(180deg, #15151d, #0b0b10);
  border: 1px solid rgba(255, 212, 39, 0.3);
  border-radius: 16px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
  color: #c4c4c4;
  font-family: Roboto, Arial, sans-serif;
}

.otp-close {
  position: absolute;
  top: 8px;
  right: 12px;
  padding: 4px 8px;
  font-size: 26px;
  line-height: 1;
  color: #7e7e7e;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.otp-close:hover {
  color: #fff;
}

.otp-title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-align: center;
  color: #ffd427;
}

.otp-desc {
  margin: 0 0 18px;
  font-size: 13.5px;
  line-height: 1.5;
  text-align: center;
  color: #9a9aa2;
}

.otp-inputs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 6px 0 14px;
}

.otp-inputs input {
  width: 46px;
  height: 56px;
  font-size: 24px;
  text-align: center;
  font-variant-numeric: tabular-nums;
  color: #fff;
  background: #0b0b10;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
}

.otp-inputs input:focus {
  outline: none;
  border-color: #ffd427;
  box-shadow: 0 0 0 3px rgba(255, 212, 39, 0.18);
}

.otp-error {
  display: none;
  margin: 0 0 14px;
  padding: 10px 12px;
  font-size: 13px;
  text-align: center;
  color: #ff8a8a;
  background: rgba(255, 90, 90, 0.12);
  border-left: 3px solid #ff5a5a;
  border-radius: 6px;
}

.otp-error.is-visible {
  display: block;
}

.otp-validate {
  display: block;
  width: 100%;
  margin: 0 0 14px;
  padding: 13px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #1a1205;
  background: linear-gradient(180deg, #ffe27a 0%, #ffc924 45%, #e9a407 100%);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(255, 180, 20, 0.32);
}

.otp-validate:hover {
  filter: brightness(1.05);
}

.otp-resend-row {
  margin: 0;
  font-size: 13px;
  text-align: center;
  color: #9a9aa2;
}

.otp-resend {
  padding: 2px 4px;
  font: inherit;
  color: #26bffc;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.otp-resend[disabled] {
  color: #666;
  cursor: not-allowed;
}

.otp-resend:not([disabled]):hover {
  text-decoration: underline;
}

@media (max-width: 480px) {
  .auth-grid { grid-template-columns: 1fr; }
  .auth-wrapper { padding: 24px 18px; }
  .otp-inputs input { width: 38px; height: 48px; font-size: 20px; }
}
