.vibes-auth-page {
  margin: 0;
  min-height: 100vh;
  background: #F5F6F4;
  color: #171717;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.vibes-auth-page * {
  box-sizing: border-box;
}

.vibes-auth-page a {
  color: inherit;
}

.vibes-auth {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(360px, 46%) 1fr;
  background: #F5F6F4;
}

.vibes-auth__brand {
  position: relative;
  overflow: hidden;
  background: #050505;
  color: #FFFFFF;
  padding: 42px 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  isolation: isolate;
}

.vibes-auth__brand::before {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: #22D313;
  filter: blur(3px);
  right: -230px;
  top: -170px;
  z-index: -2;
}

.vibes-auth__brand::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 25%, rgba(34, 211, 19, .20), transparent 34%), linear-gradient(145deg, transparent 32%, rgba(255, 255, 255, .05) 32% 33%, transparent 33% 55%, rgba(255, 255, 255, .04) 55% 56%, transparent 56%);
  z-index: -1;
}

.vibes-auth__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 26px;
  text-decoration: none;
}

.vibes-auth__logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #22D313;
  display: grid;
  place-items: center;
  color: #050505;
  font-weight: 950;
  transform: rotate(-7deg);
}

.vibes-auth__brand-copy {
  max-width: 540px;
  padding-bottom: 8vh;
}

.vibes-auth__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #22D313;
}

.vibes-auth__eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 6px rgba(34, 211, 19, .13);
}

.vibes-auth__brand-title {
  font-size: clamp(42px, 5vw, 76px);
  line-height: .95;
  margin: 20px 0 22px;
  max-width: 650px;
}

.vibes-auth__brand-text {
  font-size: 18px;
  line-height: 1.65;
  color: #F5F6F4;
  max-width: 500px;
}

.vibes-auth__proof {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.vibes-auth__proof-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #F5F6F4;
  font-size: 14px;
}

.vibes-auth__proof-icon {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #22D313;
}

.vibes-auth__brand-foot {
  font-size: 13px;
  color: #6D6D6D;
}

.vibes-auth__main {
  padding: 28px 42px;
  display: flex;
  flex-direction: column;
}

.vibes-auth__topbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 42px;
  font-size: 14px;
  color: #6D6D6D;
}

.vibes-auth__top-link {
  font-weight: 800;
  color: #171717;
  margin-left: 7px;
  text-decoration: none;
}

.vibes-auth__top-link:hover {
  text-decoration: underline;
}

.vibes-auth__panel-wrap {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 26px 0 48px;
}

.vibes-auth__panel {
  width: min(100%, 500px);
}

.vibes-auth__mobile-logo {
  display: none;
}

.vibes-auth__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  color: #6D6D6D;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

.vibes-auth__back:hover {
  color: #171717;
}

.vibes-auth__title {
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.05;
  margin: 0 0 12px;
}

.vibes-auth__subtitle {
  font-size: 16px;
  line-height: 1.6;
  color: #6D6D6D;
  margin: 0 0 30px;
}

.vibes-auth__form {
  display: grid;
  gap: 20px;
}

.vibes-auth__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.vibes-auth__field {
  display: grid;
  gap: 8px;
  margin: 0;
}

.vibes-auth__label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.vibes-auth__label {
  font-weight: 800;
  font-size: 14px;
  margin: 0;
}

.vibes-auth__label-link {
  font-size: 13px;
  font-weight: 800;
  color: #12940A;
  text-decoration: none;
}

.vibes-auth__control {
  position: relative;
}

.vibes-auth__input {
  width: 100%;
  height: 52px;
  border: 1px solid #E7E8E5;
  border-radius: 14px;
  background: #FFFFFF;
  color: #171717;
  padding: 0 15px;
  outline: none;
  transition: .18s border, .18s box-shadow;
}

.vibes-auth__input:hover {
  border-color: #E7E8E5;
}

.vibes-auth__input:focus {
  border-color: #12940A;
  box-shadow: 0 0 0 4px rgba(34, 211, 19, .14);
}

.vibes-auth__input[aria-invalid="true"],
.vibes-auth__field.has-error .vibes-auth__input {
  border-color: #ED2F2A;
  box-shadow: 0 0 0 4px rgba(237, 47, 42, .10);
}

.vibes-auth__password-input {
  padding-right: 56px;
}

.vibes-auth__password-toggle {
  position: absolute;
  right: 8px;
  top: 6px;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  border-radius: 10px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #6D6D6D;
  padding: 0;
}

.vibes-auth__password-toggle:hover {
  background: #F5F6F4;
  color: #171717;
}

.vibes-auth__help,
.vibes-auth__hint {
  font-size: 13px;
  line-height: 1.45;
  color: #6D6D6D;
}

.vibes-auth__error,
.vibes-auth__field .invalid-feedback,
.vibes-auth__field .help-block {
  font-size: 13px;
  color: #ED2F2A;
  font-weight: 700;
}

.vibes-auth__check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: #6D6D6D;
}

.vibes-auth__check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #12940A;
}

.vibes-auth__button {
  min-height: 54px;
  border: 0;
  border-radius: 15px;
  background: #22D313;
  color: #050505;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  box-shadow: 0 10px 24px rgba(34, 211, 19, .20);
  transition: .18s transform, .18s background;
  text-decoration: none;
  width: 100%;
}

.vibes-auth__button:hover {
  background: #22D313;
  transform: translateY(-1px);
}

.vibes-auth__button:active {
  transform: translateY(0);
}

.vibes-auth__button:focus-visible,
.vibes-auth__secondary:focus-visible,
.vibes-auth__password-toggle:focus-visible,
.vibes-auth__back:focus-visible,
.vibes-auth__top-link:focus-visible {
  outline: 3px solid rgba(34, 211, 19, .35);
  outline-offset: 3px;
}

.vibes-auth__button[disabled] {
  cursor: not-allowed;
  opacity: .65;
  transform: none;
}

.vibes-auth__secondary {
  min-height: 50px;
  border: 1px solid #E7E8E5;
  border-radius: 15px;
  background: #FFFFFF;
  color: #171717;
  font-weight: 850;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
}

.vibes-auth__divider {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #6D6D6D;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 800;
}

.vibes-auth__divider::before,
.vibes-auth__divider::after {
  content: "";
  height: 1px;
  background: #E7E8E5;
  flex: 1;
}

.vibes-auth__inline-note,
.vibes-auth__message {
  background: #F5F6F4;
  border: 1px solid #22D313;
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.5;
  color: #12940A;
  margin-bottom: 18px;
}

.vibes-auth__message--error,
.vibes-auth__message--danger {
  background: #FFFFFF;
  border-color: #ED2F2A;
  color: #ED2F2A;
}

.vibes-auth__requirements {
  display: grid;
  gap: 8px 16px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
  color: #6D6D6D;
  font-size: 13px;
}

.vibes-auth__requirements li {
  display: flex;
  gap: 8px;
  align-items: center;
}

.vibes-auth__requirements li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #E7E8E5;
}

.vibes-auth__requirements li.is-valid {
  color: #12940A;
}

.vibes-auth__requirements li.is-valid::before {
  background: #22D313;
}

.vibes-auth__status-icon {
  width: 74px;
  height: 74px;
  border-radius: 24px;
  background: #22D313;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  box-shadow: 0 15px 40px rgba(34, 211, 19, .24);
  transform: rotate(-4deg);
}

.vibes-auth__status-actions {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.vibes-auth__error-code {
  font-size: 96px;
  line-height: .8;
  font-weight: 950;
  color: #22D313;
  margin: 0 0 28px;
  text-shadow: 7px 7px 0 #050505;
}

.vibes-auth__actions-inline {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 12px;
  margin-top: 30px;
}

.vibes-auth__legal {
  text-align: center;
  font-size: 12px;
  color: #6D6D6D;
  margin-top: 22px;
  line-height: 1.5;
}

.vibes-auth__file {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  align-items: center;
}

.vibes-auth__avatar-preview {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  object-fit: cover;
  border: 1px solid #E7E8E5;
  background: #FFFFFF;
}

.vibes-auth__file-input {
  width: 100%;
  min-height: 44px;
}

@media (max-width: 860px) {
  .vibes-auth {
    display: block;
  }

  .vibes-auth__brand {
    display: none;
  }

  .vibes-auth__main {
    padding: 22px 20px;
    min-height: 100vh;
  }

  .vibes-auth__topbar {
    display: none;
  }

  .vibes-auth__panel-wrap {
    display: block;
    padding: 0;
  }

  .vibes-auth__panel {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    padding-bottom: 36px;
  }

  .vibes-auth__mobile-logo {
    display: inline-flex;
    margin-bottom: 54px;
    color: #050505;
  }

  .vibes-auth__title {
    font-size: 38px;
  }

  .vibes-auth__subtitle {
    margin-bottom: 26px;
  }

  .vibes-auth__row,
  .vibes-auth__actions-inline {
    grid-template-columns: 1fr;
  }

  .vibes-auth__input {
    height: 54px;
  }

  .vibes-auth__button {
    min-height: 56px;
  }

  .vibes-auth__error-code {
    font-size: 82px;
  }
}

@media (max-width: 420px) {
  .vibes-auth__main {
    padding: 18px 16px;
  }

  .vibes-auth__mobile-logo {
    margin-bottom: 42px;
  }

  .vibes-auth__title {
    font-size: 34px;
  }

  .vibes-auth__subtitle {
    font-size: 15px;
  }

  .vibes-auth__form {
    gap: 17px;
  }
}
