.auth-wrapper {
  min-height: 100vh;
  display: flex;
}

.auth-left {
  width: 480px;
  flex-shrink: 0;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0C0B0A 0%, #A50404 60%, #FF0000 100%);
}

@media (min-width: 1024px) {
  .auth-left {
    display: flex;
  }
}

.auth-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='600' height='600' viewBox='0 0 600 600' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='rgba(255,255,255,0.05)' stroke-width='1'%3E%3Ccircle cx='300' cy='300' r='280'/%3E%3Ccircle cx='300' cy='300' r='220'/%3E%3Ccircle cx='300' cy='300' r='160'/%3E%3Ccircle cx='300' cy='300' r='100'/%3E%3Ccircle cx='300' cy='300' r='50'/%3E%3C/g%3E%3C/svg%3E") center/cover;
}

.auth-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.25;
  pointer-events: none;
}

.auth-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  overflow-y: auto;
}

.auth-box {
  width: 100%;
  max-width: 420px;
}

.auth-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1.5px solid #E2E8F0;
  font-size: 14px;
  font-family: "Plus Jakarta Sans", sans-serif;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  color: #1E293B;
  background: #FFFFFF;
}

.auth-input:focus {
  border-color: #FF0000;
  box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.1);
}

.auth-input::placeholder {
  color: #94A3B8;
}

.auth-input.input-error {
  border-color: #EF4444 !important;
}

.auth-input.input-success {
  border-color: #10B981 !important;
}

.password-wrapper {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #94A3B8;
  padding: 4px;
  transition: color 0.2s ease;
  line-height: 1;
}

.password-toggle:hover {
  color: #475569;
}

.btn-primary {
  width: 100%;
  padding: 13px;
  background: #FF0000;
  color: #FFFFFF;
  border: none;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: "Plus Jakarta Sans", sans-serif;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-primary:hover {
  background: #A50404;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(165, 4, 4, 0.35);
}

.oauth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px 20px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid #E2E8F0;
  background: #FFFFFF;
  color: #334155;
  transition: all 0.2s ease;
  font-family: "Plus Jakarta Sans", sans-serif;
  text-decoration: none;
}

.oauth-btn:hover {
  background: #F8FAFC;
  border-color: #CBD5E1;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
}

.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #E2E8F0;
}

.divider span {
  font-size: 12px;
  color: #94A3B8;
  font-weight: 500;
}

.error-msg {
  color: #EF4444;
  font-size: 11px;
  margin-top: 5px;
  display: none;
  font-weight: 500;
}

.error-msg.show {
  display: block;
}

.strength-bar {
  height: 4px;
  border-radius: 2px;
  background: #E2E8F0;
  flex: 1;
  transition: background 0.3s;
}
