:root {
  --ua-primary: #635bff;
  --ua-primary-dark: #4f46e5;
  --ua-ink: #172033;
  --ua-muted: #7b8498;
  --ua-bg: #f4f6fb;
  --ua-border: #e4e7ef;
  --ua-green: #18b77a;
}
* {
  box-sizing: border-box;
}
body.ur-auth-page {
  margin: 0;
  min-height: 100vh;
  color: var(--ua-ink);
  background:
    radial-gradient(circle at 8% 8%, rgba(99, 91, 255, 0.12), transparent 24%),
    radial-gradient(
      circle at 92% 92%,
      rgba(32, 184, 205, 0.1),
      transparent 24%
    ),
    var(--ua-bg);
  font-family:
    Poppins,
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
.ur-auth-wrap {
  min-height: 100vh;
  padding: 30px;
  display: grid;
  place-items: center;
}
.ur-auth-shell {
  width: min(1140px, 100%);
  min-height: 700px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(32, 43, 74, 0.15);
  animation: ua-enter 0.4s ease both;
}
@keyframes ua-enter {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.995);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.ur-auth-brand {
  position: relative;
  isolation: isolate;
  padding: 48px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: #fff;
  background:
    radial-gradient(
      circle at 86% 14%,
      rgba(255, 255, 255, 0.2),
      transparent 22%
    ),
    linear-gradient(145deg, #26205f 0%, #554bea 48%, #7468ff 100%);
}
.ur-auth-brand:before,
.ur-auth-brand:after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
}
.ur-auth-brand:before {
  width: 430px;
  height: 430px;
  right: -170px;
  top: -130px;
}
.ur-auth-brand:after {
  width: 300px;
  height: 300px;
  left: -155px;
  bottom: -150px;
}
.ur-auth-logo {
  width: max-content;
  padding: 10px 14px;
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(20, 18, 58, 0.15);
}
.ur-auth-logo img {
  width: auto;
  height: 43px;
  max-width: 188px;
  object-fit: contain;
}
.ur-auth-copy {
  margin: auto 0;
}
.ur-auth-copy:before {
  content: "SECURE BUSINESS PAYMENTS";
  margin-bottom: 17px;
  display: inline-flex;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 20px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.11em;
}
.ur-auth-copy h1 {
  max-width: 510px;
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(34px, 3.5vw, 46px);
  line-height: 1.14;
  font-weight: 650;
  letter-spacing: -0.035em;
}
.ur-auth-copy p {
  max-width: 475px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.8;
}
.ur-auth-points {
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 11px;
  list-style: none;
}
.ur-auth-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 11px;
}
.ur-auth-points i {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  flex: 0 0 27px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.1);
}
.ur-auth-content {
  position: relative;
  padding: 55px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  background: #fff;
}
.ur-auth-content:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 130px;
  height: 130px;
  background: radial-gradient(
    circle at 100% 0,
    rgba(99, 91, 255, 0.06),
    transparent 65%
  );
  pointer-events: none;
}
.ur-auth-title {
  margin-bottom: 27px;
}
.ur-auth-title h2 {
  margin: 0 0 8px;
  color: var(--ua-ink);
  font-size: 28px;
  line-height: 1.25;
  font-weight: 650;
  letter-spacing: -0.025em;
}
.ur-auth-title p {
  margin: 0;
  color: var(--ua-muted);
  font-size: 12px;
  line-height: 1.65;
}
.ur-auth-form .form-group {
  margin-bottom: 16px;
}
.ur-auth-form label {
  margin-bottom: 7px;
  display: flex;
  justify-content: space-between;
  color: #4d5669;
  font-size: 11px;
  font-weight: 600;
}
.ur-auth-form label a {
  color: var(--ua-primary);
  font-weight: 600;
}
.ur-input {
  position: relative;
}
.ur-input > i {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  color: #9da4b4;
  font-size: 14px;
  pointer-events: none;
}
.ur-auth-form .form-control {
  width: 100%;
  height: 47px;
  padding: 0 43px;
  border: 1px solid #dde1e9;
  border-radius: 11px;
  outline: 0;
  color: var(--ua-ink);
  background: #fff;
  font-size: 12px;
  box-shadow: none;
  transition:
    border 0.18s ease,
    box-shadow 0.18s ease;
}
.ur-auth-form .form-control::placeholder {
  color: #b4bac7;
}
.ur-auth-form .form-control:focus {
  border-color: #aaa5ff;
  box-shadow: 0 0 0 4px rgba(99, 91, 255, 0.09);
}
.ur-auth-form .btn {
  min-height: 47px;
  border-radius: 12px;
  font-size: 11.5px;
  font-weight: 650;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.ur-auth-form .btn:hover {
  transform: translateY(-1px);
}
.ur-auth-form .btn-primary {
  border-color: var(--ua-primary);
  background: linear-gradient(135deg, var(--ua-primary), #786cff);
  box-shadow: 0 9px 20px rgba(99, 91, 255, 0.18);
}
.ur-auth-form .btn-primary:hover {
  border-color: var(--ua-primary-dark);
  background: var(--ua-primary-dark);
  box-shadow: 0 12px 26px rgba(99, 91, 255, 0.25);
}
.ur-auth-form .btn-outline-primary {
  width: 100%;
  margin-top: 9px;
  border-color: var(--ua-border);
  color: var(--ua-ink);
  background: #fff;
}
.ur-auth-check {
  margin: 3px 0 18px !important;
  display: flex !important;
  align-items: flex-start;
  justify-content: flex-start !important;
  gap: 8px;
  color: var(--ua-muted) !important;
  font-size: 10.5px !important;
  line-height: 1.55;
  font-weight: 500 !important;
}
.ur-auth-check input {
  margin-top: 3px;
  accent-color: var(--ua-primary);
}
.ur-auth-check a {
  margin: 0 3px;
}
.ur-auth-switch {
  margin: 22px 0 0;
  color: var(--ua-muted);
  text-align: center;
  font-size: 11px;
}
.ur-auth-switch a {
  color: var(--ua-primary);
  font-weight: 650;
}
.ur-password-toggle {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 8px;
  width: 35px;
  height: 35px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 9px;
  color: #858da0;
  background: transparent;
}
.ur-password-toggle:hover {
  color: var(--ua-primary);
  background: #f3f2ff;
}
.ur-auth-back {
  position: absolute;
  z-index: 2;
  top: 25px;
  left: 28px;
  padding: 7px 10px;
  border-radius: 9px;
  color: var(--ua-muted);
  font-size: 10px;
}
.ur-auth-back:hover {
  color: var(--ua-primary);
  background: #f5f4ff;
}
body.ur-auth-page :focus-visible {
  outline: 3px solid rgba(99, 91, 255, 0.23);
  outline-offset: 2px;
}

@media (max-width: 900px) {
  .ur-auth-shell {
    grid-template-columns: 1fr;
    max-width: 640px;
  }
  .ur-auth-brand {
    min-height: 270px;
    padding: 32px;
  }
  .ur-auth-copy {
    margin: 35px 0 4px;
  }
  .ur-auth-copy:before {
    margin-bottom: 12px;
  }
  .ur-auth-copy h1 {
    font-size: 29px;
  }
  .ur-auth-copy p {
    font-size: 12px;
  }
  .ur-auth-points {
    display: none;
  }
  .ur-auth-content {
    padding: 48px 38px 40px;
  }
}
@media (max-width: 575px) {
  .ur-auth-wrap {
    min-height: 100vh;
    padding: 0;
    display: block;
  }
  .ur-auth-shell {
    min-height: 100vh;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .ur-auth-brand {
    min-height: 225px;
    padding: 24px;
  }
  .ur-auth-logo img {
    height: 35px;
    max-width: 150px;
  }
  .ur-auth-copy {
    margin-top: 30px;
  }
  .ur-auth-copy:before {
    display: none;
  }
  .ur-auth-copy h1 {
    margin-bottom: 9px;
    font-size: 24px;
  }
  .ur-auth-copy p {
    font-size: 11.5px;
    line-height: 1.65;
  }
  .ur-auth-content {
    padding: 52px 21px 30px;
  }
  .ur-auth-title h2 {
    font-size: 24px;
  }
  .ur-auth-back {
    top: 12px;
    left: 12px;
  }
  .ur-auth-form .row > [class*="col-"] {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
