body:has(.r360-auth) {
  overflow-x: hidden;
  background: #eef6fa;
}

body:has(.r360-auth) .r360-site-header,
body:has(.r360-auth) .r360-site-footer {
  display: none;
}

body:has(.r360-auth) .r360-site-main {
  min-height: 100vh;
}

.r360-auth {
  min-height: 100vh;
  padding: clamp(0.8rem, 1.5vw, 1.3rem);
  background: #eef6fa;
}

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

.r360-auth__shell {
  display: grid;
  grid-template-columns: minmax(360px, 0.86fr) minmax(520px, 1.14fr);
  min-height: calc(100vh - clamp(1.6rem, 3vw, 2.6rem));
  overflow: hidden;
  border: 1px solid rgba(20, 63, 106, 0.08);
  border-radius: 8px;
  background: #f8fcfe;
  box-shadow: 0 18px 64px rgba(18, 55, 101, 0.12);
}

.r360-auth__aside {
  position: relative;
  display: grid;
  align-content: start;
  min-width: 0;
  padding: clamp(2.1rem, 5vw, 4.1rem) clamp(1.7rem, 5vw, 4.2rem) clamp(1.7rem, 4vw, 3rem);
  background: #f4fbfc;
}

.r360-auth__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  width: fit-content;
  color: #113967;
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.r360-auth__brand > img {
  display: block;
  width: 210px;
  height: 62px;
  object-fit: contain;
  object-position: left center;
  mix-blend-mode: multiply;
}

.r360-auth__brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 2px solid #008e79;
  border-radius: 50%;
  color: #008e79;
  background: #ffffff;
}

.r360-auth__brand-mark svg {
  width: 24px;
  height: 24px;
}

.r360-auth__brand strong {
  font-weight: 900;
}

.r360-auth__brand strong span,
.r360-auth__aside-copy h1 span {
  color: #009880;
}

.r360-auth__aside-copy {
  max-width: 430px;
  margin-top: clamp(2.8rem, 7vh, 5.2rem);
}

.r360-auth__aside-copy h1 {
  margin: 0;
  color: #102d5d;
  font-size: clamp(2.3rem, 4.1vw, 4rem);
  font-weight: 900;
  line-height: 1.08;
}

.r360-auth__aside-copy p {
  max-width: 365px;
  margin: 1.25rem 0 0;
  color: #51627f;
  font-size: 1rem;
  line-height: 1.62;
}

.r360-auth__illustration {
  width: min(100%, 420px);
  max-height: 360px;
  margin: clamp(1.4rem, 4vh, 2.5rem) auto 0;
  object-fit: contain;
  object-position: center;
}

.r360-auth__benefits {
  display: grid;
  gap: 1.2rem;
  margin: auto 0 0;
  padding: clamp(1.6rem, 3vw, 2.7rem) 0 0;
  list-style: none;
}

.r360-auth__benefits li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
}

.r360-auth__benefits li > span {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  color: #009880;
  background: #e2f5ef;
}

.r360-auth__benefits svg {
  width: 27px;
  height: 27px;
}

.r360-auth__benefits p {
  min-width: 0;
  margin: 0;
}

.r360-auth__benefits strong,
.r360-auth__benefits small {
  display: block;
}

.r360-auth__benefits strong {
  color: #102d5d;
  font-size: 0.95rem;
  line-height: 1.25;
}

.r360-auth__benefits small {
  margin-top: 0.28rem;
  color: #5a6983;
  font-size: 0.81rem;
  line-height: 1.45;
}

.r360-auth__main {
  display: grid;
  place-items: center;
  min-width: 0;
  padding: clamp(1.3rem, 4vw, 4rem);
  background: #ffffff;
}

.r360-auth__card {
  width: min(100%, 680px);
  padding: clamp(1.45rem, 3vw, 2.55rem);
  border: 1px solid rgba(20, 63, 106, 0.08);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 44px rgba(18, 55, 101, 0.08);
}

.r360-auth__heading {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
}

.r360-auth__heading-icon {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 50%;
  color: #008e79;
  background: #e7f7f1;
}

.r360-auth__heading-icon svg {
  width: 31px;
  height: 31px;
}

.r360-auth__kicker {
  display: block;
  color: #008e79;
  font-size: 0.77rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.r360-auth__heading h2 {
  margin: 0.18rem 0 0;
  color: #10245a;
  font-size: clamp(1.7rem, 2.5vw, 2.25rem);
  font-weight: 900;
  line-height: 1.12;
}

.r360-auth__heading p {
  margin: 0.42rem 0 0;
  color: #65738c;
  font-size: 0.95rem;
  line-height: 1.45;
}

.r360-auth__notice {
  margin-top: 1.35rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid #f3c5c9;
  border-radius: 8px;
  color: #9c2633;
  background: #fff4f5;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.4;
}

.r360-auth__notice--success {
  border-color: #b9e4d5;
  color: #08725f;
  background: #effaf6;
}

.r360-auth__notice-action {
  display: inline-flex;
  margin: 0.55rem 0 0;
  color: inherit;
  font-weight: 850;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.r360-auth__notice-action:hover,
.r360-auth__notice-action:focus-visible {
  color: #5e1720;
  outline: none;
}

.r360-auth__form {
  display: grid;
  gap: 1rem;
  margin-top: clamp(1.7rem, 3vw, 2.25rem);
}

.r360-auth__field {
  display: grid;
  gap: 0.46rem;
  color: #162c50;
  font-size: 0.87rem;
  font-weight: 800;
}

.r360-auth__field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.r360-auth__input-wrap {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 0.65rem;
  align-items: center;
  min-height: 56px;
  padding: 0 0.9rem;
  border: 1px solid #cbd6e5;
  border-radius: 8px;
  color: #60708b;
  background: #ffffff;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.r360-auth__input-wrap:focus-within {
  border-color: #008e79;
  box-shadow: 0 0 0 3px rgba(0, 142, 121, 0.12);
}

.r360-auth__input-wrap > svg {
  width: 21px;
  height: 21px;
  stroke-width: 1.8;
}

.r360-auth__input-wrap input,
.r360-auth__input-wrap select {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  padding: 0;
  border: 0;
  color: #1b3154;
  background: transparent;
  font: inherit;
  font-weight: 500;
  outline: none;
}

.r360-auth__input-wrap input::placeholder {
  color: #8490a4;
  opacity: 1;
}

.r360-auth__input-wrap--select {
  grid-template-columns: 22px minmax(0, 1fr);
}

.r360-auth__input-wrap--select select {
  appearance: auto;
  cursor: pointer;
}

.r360-auth__password-toggle {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #52647e;
  background: transparent;
  cursor: pointer;
}

.r360-auth__password-toggle:hover,
.r360-auth__password-toggle:focus-visible {
  color: #008e79;
  background: #e7f7f1;
  outline: none;
}

.r360-auth__password-toggle svg {
  width: 20px;
  height: 20px;
}

.r360-auth__check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: #65738c;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.45;
}

.r360-auth__check input {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  margin: 0;
  accent-color: #008e79;
}

.r360-auth__form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.r360-auth__form-row a,
.r360-auth__switch a {
  color: #008e79;
  font-weight: 800;
  text-decoration: none;
}

.r360-auth__form-row a:hover,
.r360-auth__form-row a:focus-visible,
.r360-auth__switch a:hover,
.r360-auth__switch a:focus-visible {
  color: #006f5f;
  text-decoration: underline;
  outline: none;
}

.r360-auth__submit {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #008e79;
  border-radius: 8px;
  color: #ffffff;
  background: #008e79;
  box-shadow: 0 12px 24px rgba(0, 142, 121, 0.19);
  font: inherit;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.r360-auth__submit:hover,
.r360-auth__submit:focus-visible {
  background: #006f5f;
  box-shadow: 0 15px 28px rgba(0, 111, 95, 0.23);
  outline: none;
  transform: translateY(-1px);
}

.r360-auth__switch {
  margin: 1.35rem 0 0;
  color: #5f6f89;
  font-size: 0.88rem;
  text-align: center;
}

.r360-auth__security {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin: 1.25rem 0 0;
  color: #748199;
  font-size: 0.76rem;
  line-height: 1.35;
  text-align: center;
}

.r360-auth__security svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 980px) {
  .r360-auth__shell {
    grid-template-columns: 1fr;
  }

  .r360-auth__aside {
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 1.5rem;
    padding: 2rem;
  }

  .r360-auth__aside-copy {
    margin-top: 0;
  }

  .r360-auth__aside-copy h1 {
    font-size: 2.3rem;
  }

  .r360-auth__illustration {
    grid-column: 1 / -1;
    max-height: 250px;
    margin-top: 1rem;
  }

  .r360-auth__benefits {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
    padding-top: 1.25rem;
  }

  .r360-auth__benefits li {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 0.55rem;
  }

  .r360-auth__benefits li > span {
    width: 42px;
    height: 42px;
  }

  .r360-auth__benefits svg {
    width: 22px;
    height: 22px;
  }

  .r360-auth__main {
    padding: 2rem;
  }
}

@media (max-width: 640px) {
  .r360-auth {
    padding: 0;
  }

  .r360-auth__shell {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    border: 0;
    border-radius: 0;
  }

  .r360-auth__aside {
    display: contents;
  }

  .r360-auth__brand {
    align-self: flex-start;
    order: 1;
    margin: 1.1rem 1.25rem 0;
    font-size: 1.45rem;
  }

  .r360-auth__brand-mark {
    width: 36px;
    height: 36px;
  }

  .r360-auth__aside-copy,
  .r360-auth__benefits {
    display: none;
  }

  .r360-auth__illustration {
    display: block;
    order: 3;
    width: min(calc(100% - 2.5rem), 340px);
    max-height: 190px;
    margin: 0.4rem auto 1.25rem;
  }

  .r360-auth__main {
    order: 2;
    padding: 0.75rem 1.1rem 0;
  }

  .r360-auth__card {
    padding: 1.25rem;
    box-shadow: none;
  }

  .r360-auth__heading {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 0.75rem;
  }

  .r360-auth__heading-icon {
    width: 52px;
    height: 52px;
  }

  .r360-auth__heading-icon svg {
    width: 26px;
    height: 26px;
  }

  .r360-auth__heading h2 {
    font-size: 1.5rem;
  }

  .r360-auth__field-grid {
    grid-template-columns: 1fr;
  }

  .r360-auth__form-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }
}
