/* Premium studio access and password recovery pages. */

body.ok-access-body,
body.ok-reset-body {
  margin: 0;
  min-height: 100vh;
  color: #1f1f1f;
  font-family: var(--font-family-main, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
}

body.ok-access-body,
body.ok-access-body:not(.home) {
  background-color: #050814 !important;
  background:
    linear-gradient(rgba(6, 10, 22, .34), rgba(6, 10, 22, .34)),
    url("https://unsplash.com/photos/NI4LfVqFw4s/download?force=true&w=2200") center / cover fixed no-repeat !important;
}

body.ok-reset-body,
body.ok-reset-body:not(.home) {
  background-color: #050814 !important;
  background:
    linear-gradient(rgba(6, 10, 22, .34), rgba(6, 10, 22, .34)),
    url("https://unsplash.com/photos/mth8QPE4yM4/download?force=true&w=2200") center / cover fixed no-repeat !important;
}

.ok-access-page {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 54px);
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(6, 10, 22, .38), rgba(6, 10, 22, .18)),
    url("https://unsplash.com/photos/NI4LfVqFw4s/download?force=true&w=2200") center / cover no-repeat !important;
}

.ok-reset-page {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 54px);
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(6, 10, 22, .38), rgba(6, 10, 22, .18)),
    url("https://unsplash.com/photos/mth8QPE4yM4/download?force=true&w=2200") center / cover no-repeat !important;
}

.ok-access-page::before,
.ok-reset-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: rgba(5, 8, 18, .16);
}

.ok-access-page::after,
.ok-reset-page::after {
  content: none;
}

.ok-access-shell {
  width: min(980px, calc(100% - 48px));
  min-height: min(700px, calc(100vh - clamp(36px, 8vw, 108px)));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 1fr);
  border-radius: 0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 34px 110px rgba(0, 0, 0, .24);
}

.ok-access-studio {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 34px;
  padding: clamp(28px, 4vw, 56px);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(3, 7, 18, .42), rgba(3, 7, 18, .78)),
    url("https://unsplash.com/photos/mth8QPE4yM4/download?force=true&w=1600") center / cover no-repeat;
  color: #fff !important;
}

.ok-access-studio::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 0, 0, .62), rgba(0, 0, 0, .26));
}

.ok-access-studio::after {
  content: none;
}

.ok-access-brand,
.ok-access-studio-copy {
  position: relative;
  z-index: 1;
}

.ok-access-brand {
  width: max-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}

.ok-access-brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 0;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .18);
}

.ok-access-brand span {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.ok-access-brand strong,
.ok-access-brand small {
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .48);
}

.ok-access-brand strong {
  font-size: 15px;
  line-height: 1.1;
}

.ok-access-brand small {
  opacity: .78;
  font-size: 12px;
  font-weight: 700;
}

.ok-access-studio-copy {
  max-width: 640px;
  align-self: center;
  margin: auto 0;
}

.ok-access-studio-kicker {
  display: block;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, .86) !important;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  line-height: 1.35;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .52);
  text-transform: uppercase;
  -webkit-text-fill-color: rgba(255, 255, 255, .86) !important;
}

.ok-access-studio-copy > span,
.ok-reset-kicker {
  width: max-content;
  max-width: 100%;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 0;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.ok-access-studio-copy > .ok-access-studio-kicker {
  width: auto;
  min-height: 0;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  backdrop-filter: none;
}

body.ok-access-body .ok-access-studio,
body.ok-access-body .ok-access-studio *,
body.ok-access-body .ok-access-studio-copy > span,
body.ok-access-body .ok-access-studio-copy h1,
body.ok-access-body .ok-access-studio-copy h1 span,
body.ok-access-body .ok-access-studio-copy p {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

.ok-access-studio-copy h1 {
  max-width: 760px;
  margin: 0 0 24px;
  color: #fff !important;
  background: none !important;
  font-size: clamp(38px, 4.45vw, 64px);
  font-weight: 700;
  line-height: .94;
  letter-spacing: 0;
  text-shadow: 0 4px 26px rgba(0, 0, 0, .58);
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: #fff !important;
}

.ok-access-studio-copy h1 span {
  display: block;
}

.ok-access-studio-copy p {
  max-width: 610px;
  margin: 0;
  color: rgba(255, 255, 255, .94);
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.65;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .54);
}

.ok-access-card,
.ok-reset-card {
  min-width: 0;
  align-self: center;
  width: 100%;
  padding: clamp(24px, 4vw, 46px);
  border-radius: 0 !important;
  background: #fff !important;
}

.ok-access-card {
  border: 0 !important;
  outline: 0 !important;
  min-height: 700px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: none !important;
  transform: none !important;
  transition: none !important;
}

.ok-access-page[data-active-panel="forgot"] .ok-access-card {
  text-align: center;
}

.ok-access-page[data-active-panel="forgot"] .ok-access-card-head,
.ok-access-page[data-active-panel="forgot"] .ok-access-panels,
.ok-access-page[data-active-panel="forgot"] .ok-access-terms {
  width: 100%;
}

.ok-access-page[data-active-panel="forgot"] .ok-access-panels {
  min-height: 260px;
  display: grid;
  align-items: center;
}

.ok-access-page[data-active-panel="forgot"] .ok-access-panel {
  width: 100%;
}

.ok-access-body .ok-access-page .ok-access-shell .ok-access-card,
.ok-access-body .ok-access-page .ok-access-shell .ok-access-card:hover,
.ok-access-body .ok-access-page .ok-access-shell .ok-access-card:focus,
.ok-access-body .ok-access-page .ok-access-shell .ok-access-card:focus-within {
  border: 0 !important;
  outline: 0 !important;
  border-color: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  background: #fff !important;
}

.ok-reset-card:hover {
  transform: none !important;
}

.ok-access-card-head {
  margin-bottom: 18px;
}

.ok-access-card-head > span {
  color: #0b57d0;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.ok-access-card-head h2,
.ok-reset-card h1 {
  margin: 7px 0 7px;
  color: #1f1f1f;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0;
}

.ok-access-card-head p,
.ok-reset-card p {
  margin: 0;
  color: #5f6368;
  font-size: 14px;
  line-height: 1.58;
}

.ok-access-alert,
.ok-access-note,
.ok-access-closed,
.ok-reset-alert {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 0;
  font-size: 13px;
  line-height: 1.45;
}

.ok-access-alert--error,
.ok-reset-alert--error {
  border: 1px solid rgba(179, 45, 46, .22);
  background: #fff2f1;
  color: #8f1d1d;
}

.ok-access-alert--success,
.ok-reset-alert--success {
  border: 1px solid rgba(52, 168, 83, .24);
  background: #f0fff5;
  color: #137333;
}

.ok-access-note,
.ok-access-closed {
  border: 1px solid rgba(253, 214, 99, .55);
  background: #fff9e6;
  color: #7a4a00;
}

.ok-access-note strong,
.ok-access-note span,
.ok-access-closed strong,
.ok-access-closed p {
  display: block;
}

.ok-access-note strong,
.ok-access-closed strong {
  margin-bottom: 4px;
  color: #5f3b00;
  font-weight: 900;
}

.ok-access-closed p {
  margin: 0;
}

.ok-access-panel[hidden] {
  display: none !important;
}

.ok-access-panels {
  min-height: 414px;
}

.ok-access-google {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 15px;
  border: 1px solid #dadce0;
  border-radius: 0 !important;
  background: #fff;
  color: #1f1f1f;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.ok-access-google:hover,
.ok-access-google:focus {
  border-color: rgba(11, 87, 208, .42);
  box-shadow: 0 12px 30px rgba(60, 64, 67, .12);
}

.ok-access-divider {
  position: relative;
  margin: 16px 0;
  color: #80868b;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.ok-access-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #dadce0;
}

.ok-access-divider span {
  position: relative;
  padding: 0 10px;
  background: #fff;
}

.ok-access-form {
  display: grid;
  gap: 12px;
}

.ok-access-form label,
.ok-reset-form label {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.ok-access-form label > span,
.ok-reset-form label > span {
  color: #3c4043;
  font-size: 12px;
  font-weight: 900;
}

.ok-access-form input:not([type="checkbox"]),
.ok-reset-form input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #dadce0;
  border-radius: 0 !important;
  background: #fff;
  color: #1f1f1f;
  font: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.ok-access-form input:focus,
.ok-reset-form input:focus {
  border-color: #0b57d0;
  box-shadow: 0 0 0 3px rgba(11, 87, 208, .13);
}

.ok-access-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.ok-access-remember {
  display: inline-flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 8px !important;
  color: #5f6368;
  font-size: 13px;
  font-weight: 800;
}

.ok-access-remember input {
  width: 16px;
  height: 16px;
  margin: 0;
}

.ok-access-link,
.ok-access-switchline button {
  border: 0;
  background: transparent;
  color: #0b57d0;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  text-decoration: none;
}

.ok-access-submit,
.ok-reset-submit {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border: 1px solid transparent !important;
  border-radius: var(--radius-pill, 999px) !important;
  background:
    radial-gradient(circle at 20% 0, rgba(255, 255, 255, .18), transparent 34%),
    linear-gradient(115deg, #0b57d0 0%, #1a73e8 58%, #5b9cff 100%) !important;
  background-size: 140% 140% !important;
  color: #fff !important;
  font: inherit;
  font-size: 14px;
  font-weight: 720;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(26, 115, 232, .24);
  transition: background-position .28s ease, box-shadow .24s ease, transform .22s ease, border-color .25s ease;
}

.ok-access-submit:hover,
.ok-access-submit:focus,
.ok-reset-submit:hover,
.ok-reset-submit:focus {
  background:
    radial-gradient(circle at 30% 0, rgba(255, 255, 255, .22), transparent 38%),
    linear-gradient(115deg, #0b57d0 0%, #2b7de9 54%, #7fb2ff 100%) !important;
  background-position: 100% 50% !important;
  color: #fff !important;
  box-shadow: 0 16px 34px rgba(26, 115, 232, .3);
  transform: translateY(-2px);
}

.ok-access-submit:focus-visible,
.ok-reset-submit:focus-visible {
  outline: 0;
  box-shadow:
    0 16px 34px rgba(26, 115, 232, .3),
    0 0 0 4px rgba(11, 87, 208, .18);
}

.ok-reset-submit:disabled {
  cursor: not-allowed;
  background: #9aa0a6 !important;
  box-shadow: none !important;
  transform: none !important;
}

.ok-access-switchline {
  margin: 15px 0 0;
  color: #5f6368;
  font-size: 13px;
  text-align: center;
}

.ok-access-terms {
  margin: 20px 0 0;
  color: #80868b;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.ok-access-terms a,
.ok-reset-links a {
  color: #0b57d0;
  font-weight: 900;
  text-decoration: none;
}

.ok-reset-card {
  width: min(100%, 480px);
  border: 1px solid rgba(218, 220, 224, .82);
  border-radius: 0;
  box-shadow: 0 34px 100px rgba(60, 64, 67, .17);
}

.ok-reset-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.ok-reset-brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 0;
  background: #fff;
  box-shadow: 0 12px 28px rgba(60, 64, 67, .12);
}

.ok-reset-kicker {
  border-color: #a8c7fa;
  background: #e8f0fe;
  color: #0b57d0;
  backdrop-filter: none;
}

.ok-reset-form {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.ok-reset-links {
  margin: 18px 0 0;
  font-size: 13px;
}

@media (max-width: 980px) {
  .ok-access-shell {
    grid-template-columns: 1fr;
  }

  .ok-access-studio {
    min-height: 390px;
  }

  .ok-access-studio-copy {
    align-self: start;
  }
}

@media (max-width: 680px) {
  .ok-access-page,
  .ok-reset-page {
    min-height: 100svh;
    padding: 18px;
    place-items: center;
  }

  .ok-access-shell {
    width: min(100%, 480px);
    min-height: 0;
    display: block;
    border-radius: 0;
  }

  .ok-access-studio {
    display: none;
  }

  .ok-access-card,
  .ok-reset-card {
    min-height: auto;
    padding: 24px 20px;
  }

  .ok-access-row {
    display: grid;
    justify-items: start;
  }
}
