:root {
  color-scheme: light;
  font-family: "Manrope", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body.yanora-auth-page {
  color: #102f33;
  background: #faf9f4;
  -webkit-font-smoothing: antialiased;
}

.yanora-auth-page a {
  color: inherit;
  text-decoration: none;
}

.yanora-auth-shell {
  position: relative;
  width: 100%;
  min-height: 100dvh;
  overflow: hidden;
  background:
    radial-gradient(circle at 7% 105%, rgba(195, 255, 42, 0.22), transparent 29%),
    radial-gradient(circle at 93% 103%, rgba(20, 143, 124, 0.19), transparent 32%),
    linear-gradient(150deg, #fffefa 0%, #f8faf5 60%, #f4faf5 100%);
}

.yanora-auth-header {
  display: flex;
  height: 96px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 48px;
  border-bottom: 1px solid rgba(16, 47, 51, 0.075);
}

.yanora-auth-brand {
  display: flex;
  width: 260px;
  height: 70px;
  align-items: center;
  overflow: hidden;
}

.yanora-auth-brand img {
  display: block;
  width: 260px;
  height: auto;
}

.yanora-auth-layout {
  display: grid;
  min-height: calc(100dvh - 96px);
  grid-template-columns: minmax(430px, 0.88fr) minmax(540px, 1.12fr);
  gap: clamp(24px, 4.5vw, 74px);
  align-items: center;
  padding: 30px clamp(40px, 6vw, 94px) 46px;
}

.yanora-auth-card {
  width: 100%;
  max-width: 570px;
  justify-self: end;
}

.yanora-auth-copy {
  margin-bottom: 26px;
}

.yanora-auth-eyebrow {
  margin: 0 0 12px;
  color: #258c3f;
  font-family: "Onest", Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.yanora-auth-copy h1 {
  margin: 0;
  color: #102f33;
  font-family: "Onest", Arial, sans-serif;
  font-size: clamp(42px, 3.8vw, 60px);
  font-weight: 300;
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.yanora-auth-copy > p:last-child {
  max-width: 470px;
  margin: 17px 0 0;
  color: #6a797c;
  font-size: 15px;
  line-height: 1.5;
}

.yanora-auth-form {
  display: grid;
  gap: 15px;
}

.yanora-auth-fields-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.yanora-auth-field {
  display: grid;
  min-width: 0;
  gap: 8px;
}

.yanora-auth-field label,
.yanora-auth-label-row label {
  color: #27484a;
  font-size: 13px;
  font-weight: 600;
}

.yanora-auth-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.yanora-auth-label-row a {
  color: #4b8e43;
  font-size: 12px;
  font-weight: 600;
}

.yanora-auth-field input {
  width: 100%;
  height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(16, 47, 51, 0.14);
  border-radius: 12px;
  outline: none;
  color: #102f33;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 7px 20px rgba(38, 70, 60, 0.045);
  font: 500 15px/1 "Manrope", Arial, sans-serif;
  backdrop-filter: blur(9px);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.yanora-auth-field input::placeholder {
  color: #9aa5a5;
}

.yanora-auth-field input:focus {
  border-color: rgba(89, 177, 48, 0.64);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 4px rgba(165, 229, 53, 0.13), inset 0 1px 0 #fff;
}

.yanora-password-wrap {
  position: relative;
}

.yanora-password-wrap input {
  padding-right: 94px;
}

.yanora-password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  min-height: 38px;
  padding: 0 10px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 8px;
  color: #42735e;
  background: rgba(228, 244, 218, 0.62);
  font: 600 11px/1 "Manrope", Arial, sans-serif;
  cursor: pointer;
}

.yanora-password-hint {
  color: #82908f;
  font-size: 11px;
}

.yanora-password-hint[data-ready="true"] {
  color: #28843f;
}

.yanora-auth-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #71807f;
  font-size: 12px;
  line-height: 1.42;
  cursor: pointer;
}

.yanora-auth-consent input {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin: 1px 0 0;
  accent-color: #62bc31;
}

.yanora-auth-status {
  min-height: 19px;
  margin: -2px 0;
  color: #6d7b7d;
  font-size: 12px;
  font-weight: 500;
}

.yanora-auth-status:empty {
  visibility: hidden;
}

.yanora-auth-status[data-type="error"] {
  color: #b34134;
}

.yanora-auth-status[data-type="success"] {
  color: #27803f;
}

.yanora-auth-submit {
  display: flex;
  width: 100%;
  height: 56px;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border: 0;
  border-radius: 12px;
  color: #15342d;
  background: linear-gradient(108deg, #c7ff2a, #a6ec1f 70%, #8edc25);
  box-shadow: 0 12px 28px rgba(133, 198, 28, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.68);
  font: 600 15px/1 "Manrope", Arial, sans-serif;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.yanora-auth-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 15px 31px rgba(133, 198, 28, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

.yanora-auth-submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

.yanora-auth-submit.is-loading span {
  animation: yanora-auth-arrow 800ms ease-in-out infinite alternate;
}

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

.yanora-auth-switch a {
  color: #287f41;
  font-weight: 600;
}

.yanora-auth-visual {
  position: relative;
  display: grid;
  width: 100%;
  max-width: 690px;
  height: clamp(520px, calc(100dvh - 172px), 650px);
  min-height: 520px;
  place-items: center;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 28px;
  color: white;
  background:
    radial-gradient(circle at 50% 48%, rgba(193, 255, 49, 0.18), transparent 18%),
    radial-gradient(circle at 92% 3%, rgba(194, 255, 45, 0.42), transparent 34%),
    radial-gradient(circle at 4% 103%, rgba(92, 208, 102, 0.48), transparent 37%),
    linear-gradient(145deg, #092f3a 0%, #07595b 51%, #158b71 100%);
  box-shadow: 0 24px 60px rgba(13, 78, 72, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  isolation: isolate;
}

.yanora-auth-visual::before,
.yanora-auth-visual::after {
  position: absolute;
  content: "";
  border-radius: 50%;
  pointer-events: none;
}

.yanora-auth-visual::before {
  top: -190px;
  left: -140px;
  width: 410px;
  height: 410px;
  background: rgba(190, 255, 49, 0.1);
  box-shadow: 0 0 110px rgba(190, 255, 49, 0.16);
  filter: blur(2px);
}

.yanora-auth-visual::after {
  right: -210px;
  bottom: -245px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 74px rgba(255, 255, 255, 0.026), 0 0 0 148px rgba(255, 255, 255, 0.017);
}

.yanora-molecule-scene {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.yanora-molecule-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(220, 255, 203, 0.16);
  border-radius: 50%;
  pointer-events: none;
}

.yanora-molecule-orbit::after {
  position: absolute;
  top: 50%;
  right: -5px;
  width: 9px;
  height: 9px;
  content: "";
  border: 2px solid rgba(255, 255, 255, 0.62);
  border-radius: 50%;
  background: #bfff32;
  box-shadow: 0 0 0 7px rgba(191, 255, 50, 0.08), 0 0 22px rgba(191, 255, 50, 0.65);
}

.yanora-molecule-orbit--inner {
  width: 300px;
  height: 300px;
  animation: yanora-molecule-orbit 17s linear infinite;
}

.yanora-molecule-orbit--outer {
  width: 470px;
  height: 470px;
  border-color: rgba(220, 255, 203, 0.1);
  animation: yanora-molecule-orbit-reverse 28s linear infinite;
}

.yanora-molecule-orbit--outer::after {
  top: 10%;
  right: 65px;
  width: 6px;
  height: 6px;
  border-width: 1px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.05), 0 0 18px rgba(255, 255, 255, 0.45);
}

.yanora-molecule-links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.yanora-molecule-links path {
  fill: none;
  stroke: rgba(207, 255, 185, 0.22);
  stroke-width: 1.2;
  stroke-dasharray: 3 9;
  stroke-linecap: round;
  animation: yanora-molecule-flow 12s linear infinite;
}

.yanora-molecule-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 172px;
  height: 172px;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 48px;
  background:
    linear-gradient(145deg, rgba(248, 255, 240, 0.22), rgba(177, 255, 72, 0.08)),
    rgba(4, 65, 67, 0.58);
  box-shadow:
    0 28px 70px rgba(1, 38, 42, 0.33),
    0 0 0 12px rgba(255, 255, 255, 0.035),
    inset 0 1px 0 rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(18px) saturate(135%);
  animation: yanora-molecule-core-float 5.5s ease-in-out infinite;
}

.yanora-molecule-core::before {
  position: absolute;
  inset: 8px;
  content: "";
  border: 1px solid rgba(207, 255, 145, 0.18);
  border-radius: 39px;
  pointer-events: none;
}

.yanora-molecule-core-glow {
  position: absolute;
  inset: 28px;
  border-radius: 50%;
  background: rgba(191, 255, 50, 0.16);
  box-shadow: 0 0 64px rgba(191, 255, 50, 0.32);
  animation: yanora-molecule-pulse 3.8s ease-in-out infinite;
}

.yanora-molecule-core svg {
  position: relative;
  z-index: 1;
  width: 116px;
  height: 116px;
  overflow: visible;
}

.yanora-molecule-core path {
  fill: none;
  stroke: rgba(234, 255, 227, 0.95);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 9px rgba(191, 255, 50, 0.48));
}

.yanora-molecule-core circle {
  fill: #bfff32;
  stroke: rgba(255, 255, 255, 0.86);
  stroke-width: 2;
  filter: drop-shadow(0 0 8px rgba(191, 255, 50, 0.64));
}

.yanora-molecule-node {
  position: absolute;
  display: flex;
  min-width: 184px;
  min-height: 72px;
  align-items: center;
  gap: 12px;
  padding: 12px 15px 12px 12px;
  border: 1px solid rgba(255, 255, 255, 0.31);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.19), rgba(255, 255, 255, 0.075)),
    rgba(7, 73, 72, 0.33);
  box-shadow: 0 16px 34px rgba(1, 38, 42, 0.17), inset 0 1px 0 rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(18px) saturate(125%);
  animation: yanora-molecule-node-float 5s ease-in-out infinite;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.yanora-molecule-node:hover {
  border-color: rgba(203, 255, 115, 0.58);
  background:
    linear-gradient(135deg, rgba(236, 255, 217, 0.24), rgba(255, 255, 255, 0.1)),
    rgba(7, 73, 72, 0.4);
  box-shadow: 0 20px 42px rgba(1, 38, 42, 0.23), 0 0 28px rgba(190, 255, 48, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.yanora-molecule-node > div {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.yanora-molecule-node strong {
  font-family: "Onest", Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.025em;
  white-space: nowrap;
}

.yanora-molecule-node small {
  color: rgba(236, 255, 246, 0.61);
  font-size: 10px;
  white-space: nowrap;
}

.yanora-molecule-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(224, 255, 213, 0.35);
  border-radius: 13px;
  color: #c8ff42;
  background: rgba(218, 255, 202, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.yanora-molecule-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.yanora-molecule-icon--text {
  font-family: "Onest", Arial, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: -0.05em;
}

.yanora-molecule-node--ads {
  top: 7%;
  left: 2%;
  animation-delay: -0.4s;
}

.yanora-molecule-node--seo {
  top: 7%;
  right: 2%;
  animation-delay: -2.7s;
}

.yanora-molecule-node--marketing {
  top: 44%;
  right: -1%;
  animation-delay: -1.5s;
}

.yanora-molecule-node--analytics {
  right: 8%;
  bottom: 6%;
  animation-delay: -3.5s;
}

.yanora-molecule-node--ai {
  bottom: 7%;
  left: 1%;
  animation-delay: -4.3s;
}

.yanora-auth-steps {
  display: grid;
  gap: 10px;
  margin: 38px 0;
  padding: 0;
  list-style: none;
}

.yanora-auth-steps li {
  display: flex;
  min-height: 105px;
  align-items: center;
  gap: 20px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.yanora-auth-steps li > span {
  color: #c8ff42;
  font-family: "Onest", Arial, sans-serif;
  font-size: 28px;
  font-weight: 300;
}

.yanora-auth-steps li div {
  display: grid;
  gap: 4px;
}

.yanora-auth-steps strong {
  font-family: "Onest", Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
}

.yanora-auth-steps small {
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
}

.yanora-auth-page a:focus-visible,
.yanora-auth-page button:focus-visible,
.yanora-auth-page input:focus-visible {
  outline: 3px solid rgba(148, 220, 51, 0.5);
  outline-offset: 3px;
}

@keyframes yanora-auth-arrow {
  from { transform: translateX(0); }
  to { transform: translateX(5px); }
}

@keyframes yanora-molecule-orbit {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes yanora-molecule-orbit-reverse {
  from { transform: translate(-50%, -50%) rotate(360deg); }
  to { transform: translate(-50%, -50%) rotate(0deg); }
}

@keyframes yanora-molecule-flow {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -120; }
}

@keyframes yanora-molecule-core-float {
  0%, 100% { transform: translate(-50%, calc(-50% - 5px)); }
  50% { transform: translate(-50%, calc(-50% + 5px)); }
}

@keyframes yanora-molecule-pulse {
  0%, 100% { transform: scale(0.9); opacity: 0.58; }
  50% { transform: scale(1.12); opacity: 1; }
}

@keyframes yanora-molecule-node-float {
  0%, 100% { transform: translate3d(0, -4px, 0); }
  50% { transform: translate3d(0, 5px, 0); }
}

@media (max-width: 1080px) {
  .yanora-auth-layout {
    grid-template-columns: minmax(380px, 0.92fr) minmax(450px, 1.08fr);
    gap: 28px;
    padding: 28px 34px 38px;
  }

  .yanora-auth-visual {
    min-height: 610px;
  }

  .yanora-molecule-scene {
    min-height: 574px;
  }

  .yanora-molecule-node {
    min-width: 172px;
  }
}

@media (max-width: 860px) {
  .yanora-auth-field input {
    font-size: 16px;
  }

  .yanora-auth-shell {
    overflow: visible;
  }

  .yanora-auth-header {
    height: 82px;
    padding: 8px 22px;
  }

  .yanora-auth-brand,
  .yanora-auth-brand img {
    width: 215px;
  }

  .yanora-auth-layout {
    min-height: 0;
    grid-template-columns: 1fr;
    padding: 40px 22px 30px;
  }

  .yanora-auth-card,
  .yanora-auth-visual {
    max-width: 660px;
    justify-self: center;
  }

  .yanora-auth-visual {
    min-height: 570px;
  }

  .yanora-molecule-scene {
    min-height: 534px;
  }
}

@media (max-width: 560px) {
  .yanora-auth-header {
    height: 72px;
    padding: 7px 14px;
  }

  .yanora-auth-brand,
  .yanora-auth-brand img {
    width: 176px;
  }

  .yanora-auth-layout {
    padding: 30px 14px 22px;
  }

  .yanora-auth-copy h1 {
    font-size: clamp(39px, 11.7vw, 54px);
  }

  .yanora-auth-fields-row {
    grid-template-columns: 1fr;
  }

  .yanora-auth-visual {
    min-height: 520px;
    padding: 12px;
    border-radius: 22px;
  }

  .yanora-molecule-scene {
    min-height: 494px;
  }

  .yanora-molecule-orbit--inner {
    width: 220px;
    height: 220px;
  }

  .yanora-molecule-orbit--outer {
    width: 350px;
    height: 350px;
  }

  .yanora-molecule-core {
    width: 132px;
    height: 132px;
    border-radius: 38px;
  }

  .yanora-molecule-core::before {
    border-radius: 30px;
  }

  .yanora-molecule-core svg {
    width: 92px;
    height: 92px;
  }

  .yanora-molecule-node {
    min-width: 148px;
    min-height: 60px;
    gap: 8px;
    padding: 9px 10px 9px 9px;
    border-radius: 15px;
  }

  .yanora-molecule-icon {
    width: 36px;
    height: 36px;
    border-radius: 11px;
  }

  .yanora-molecule-icon svg {
    width: 18px;
    height: 18px;
  }

  .yanora-molecule-node strong {
    font-size: 12px;
  }

  .yanora-molecule-node small {
    font-size: 8px;
  }

  .yanora-molecule-node--ads,
  .yanora-molecule-node--seo {
    top: 4%;
  }

  .yanora-molecule-node--marketing {
    top: 42%;
    right: -1%;
  }

  .yanora-molecule-node--analytics,
  .yanora-molecule-node--ai {
    bottom: 4%;
  }

  .yanora-auth-steps {
    margin: 30px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
