/* Treatly Glass — getting in (welcome, log-in and sign-up). Loaded after glass-app.css. */

/* ---------- getting in, the big-app way ----------
   A phone: one full-screen column, the form in the middle.
   A laptop: the brand, a line and a fan of glass task cards on the left;
   the form on the right, on a pane of glass. */

.g-ob {
  display: block;
  padding: 0;
  place-items: stretch;
}
.g-ob-bg {
  background:
    radial-gradient(60% 45% at 15% 20%, rgba(242, 167, 195, 0.14), transparent 70%),
    radial-gradient(50% 40% at 85% 85%, rgba(142, 201, 242, 0.12), transparent 70%),
    #040406;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.g-ob-side {
  display: none;
}
.g-ob-panel {
  position: absolute;
  inset: 0;
  width: 100%;
  max-height: none;
  border-radius: 0;
  padding: calc(var(--safe-t) + 10px) 24px calc(var(--safe-b) + 12px);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  background: none;
  box-shadow: none;
  transform: none;
}
.g-ob-top {
  flex: none;
  height: 44px;
}
.g-ob-body {
  flex: 1;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 0 24px;
}
.g-ob-foot {
  flex: none;
  display: flex;
  justify-content: center;
  padding: 14px 0 4px;
}
.g-ob-mark {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'Poppins', var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-3);
}
.g-ob-mark .gi {
  color: var(--ink-3);
}

/* the log-in */
.g-ob-login {
  gap: 12px;
}
.g-ob-login-logo {
  align-self: center;
  margin-bottom: 18px;
  color: #fff;
}
h1.g-ob-login-title {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.g-ob-float {
  position: relative;
  display: block;
}
.g-ob-float input {
  width: 100%;
  height: 60px;
  padding: 24px 64px 8px 17px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  outline: 0;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  transition:
    border-color 0.2s,
    background 0.2s;
}
.g-ob-float input:focus {
  border-color: rgba(242, 167, 195, 0.75);
  background: rgba(255, 255, 255, 0.08);
}
.g-ob-float > span {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-3);
  pointer-events: none;
  transition:
    top 0.18s,
    font-size 0.18s,
    color 0.18s;
}
.g-ob-float input:focus + span,
.g-ob-float input:not(:placeholder-shown) + span {
  top: 17px;
  font-size: 12px;
  color: var(--ink-2);
}
.g-ob-float .g-ob-eye {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
}
.g-ob-login .g-ob-go {
  min-height: 52px;
  margin-top: 6px;
  border-radius: 999px;
}
.g-ob-login .g-ob-go:disabled {
  opacity: 0.4;
}
.g-ob-forgot {
  margin-top: 4px;
  color: #fff;
}
.g-ob-more {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 30px;
}
.g-ob-more .g-ob-btn {
  min-height: 52px;
  border-radius: 999px;
}
.g-ob-outline {
  color: #9fd3ff;
  background: transparent;
  box-shadow: inset 0 0 0 1.5px rgba(142, 201, 242, 0.55);
}
.g-ob-outline:hover {
  background: rgba(142, 201, 242, 0.08);
}
.g-ob-login .g-ob-fine {
  margin-top: 6px;
}

/* ---------- a laptop: two halves ---------- */
@media (min-width: 900px) {
  .g-ob {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    align-items: stretch;
    justify-items: stretch;
  }
  .g-ob-side {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  .g-ob-panel {
    position: relative;
    inset: auto;
    padding: 28px 56px 20px;
    background: rgba(255, 255, 255, 0.035);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    -webkit-backdrop-filter: blur(30px) saturate(140%);
    backdrop-filter: blur(30px) saturate(140%);
  }
  .g-ob-login-logo {
    display: none;
  }
  .g-ob-body {
    justify-content: center;
  }
}

/* the left half */
.g-ob-hero-side {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 34px;
  padding: 40px;
}
.g-ob-brand .gi {
  width: 40px;
  height: 40px;
}
.g-ob-brand {
  position: absolute;
  z-index: 2;
  left: 40px;
  top: 34px;
  display: flex;
  align-items: center;
  gap: 3.5px;
  color: #fff;
  font-family: 'Poppins', var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.g-ob-line {
  max-width: 540px;
  margin: 0;
  text-align: center;
  font-size: clamp(34px, 3.4vw, 50px);
  line-height: 1.22;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.g-ob-line em {
  font-style: normal;
  background: linear-gradient(100deg, #f2a7c3 0%, #b9a7f5 40%, #8ec9f2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* a fan of three glass task cards, treats drifting inside */
.g-ob-collage {
  position: relative;
  width: 420px;
  height: 360px;
}
.g-ob-card {
  position: absolute;
  top: 40px;
  left: 50%;
  width: 190px;
  height: 260px;
  margin-left: -95px;
  padding: 18px 16px;
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-top-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55);
  animation: gObFloat 6s ease-in-out infinite;
}
.g-ob-card i {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 90px;
  height: 90px;
  margin: -45px 0 0 -45px;
  border-radius: 40%;
  background: var(--c);
  filter: blur(18px);
  opacity: 0.8;
}
.g-ob-card b,
.g-ob-card span,
.g-ob-card small,
.g-ob-card em,
.g-ob-card u {
  position: relative;
}
.g-ob-card b {
  font-family: 'Poppins', var(--font-display);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}
.g-ob-card span {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.g-ob-card span.is-hot {
  align-self: flex-start;
  padding: 0 9px;
  border-radius: 10px;
  color: #fff;
  background: #ff3b30;
  box-shadow: 0 0 22px rgba(255, 59, 48, 0.7);
}
.g-ob-card small {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.42);
}
.g-ob-card em {
  margin-top: 26px;
  font-family: Caveat, cursive;
  font-size: 26px;
  font-style: normal;
  font-weight: 700;
  color: #ffd2e3;
  text-shadow: 0 0 10px rgba(242, 167, 195, 0.8);
  transform: rotate(-6deg);
}
.g-ob-card u {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  text-decoration: none;
  color: #0d2a1b;
  background: var(--sage);
  box-shadow: 0 0 20px rgba(143, 216, 176, 0.5);
}
.g-ob-card.c1 {
  transform: translateX(-120px) rotate(-9deg) scale(0.9);
  animation-delay: -2s;
  opacity: 0.85;
}
.g-ob-card.c3 {
  transform: translateX(120px) rotate(9deg) scale(0.9);
  animation-delay: -4s;
  opacity: 0.85;
}
.g-ob-card.c2 {
  z-index: 2;
  width: 210px;
  height: 290px;
  margin-left: -105px;
  top: 26px;
  background: rgba(30, 30, 36, 0.55);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
@keyframes gObFloat {
  50% {
    translate: 0 -8px;
  }
}
.g-ob-pop {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.92);
  color: #17171a;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  animation: gObFloat 5s ease-in-out infinite;
}
.g-ob-pop.p1 {
  left: 40px;
  top: 6px;
  animation-delay: -1s;
}
.g-ob-pop.p2 {
  left: 6px;
  top: 200px;
  padding: 0;
  font-size: 46px;
  background: none;
  box-shadow: none;
  filter: drop-shadow(0 10px 18px rgba(255, 60, 120, 0.45));
  animation-delay: -3s;
}
.g-ob-pop.p3 {
  right: -6px;
  top: 150px;
  font-size: 13px;
  color: #0d2a1b;
  background: var(--sage);
  animation-delay: -2.5s;
}
@media (prefers-reduced-motion: reduce) {
  .g-ob-card,
  .g-ob-pop {
    animation: none;
  }
}

/* Sign in with Apple: Apple's white button on a dark screen (HIG) */
.g-ob-more .g-ob-apple {
  background: #fff;
  color: #000;
  box-shadow: none;
}
.g-ob-more .g-ob-apple:hover {
  background: #f2f2f2;
}
.g-ob-applelogo {
  margin-top: -3px;
}

[data-provider][hidden] {
  display: none !important;
}

/* log-in rhythm: every field and button is 56 tall with 12 between,
   and each quiet link sits centred in the gap it owns */
.g-ob-login .g-ob-float input {
  height: 56px;
  padding-top: 22px;
}
.g-ob-login .g-ob-go,
.g-ob-login .g-ob-more .g-ob-btn {
  min-height: 56px;
  height: 56px;
  margin-top: 0;
}
.g-ob-login .g-ob-forgot {
  margin-top: 0;
}
.g-ob-login .g-ob-more {
  margin-top: 0;
}

/* the 6 code boxes: plainly boxes, with a clear rim and a blinking cursor in
   the one you're on (they were near-invisible on a dim phone screen) */
.g-ob-cell {
  background: rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 1px 0.5px rgba(255, 255, 255, 0.35),
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.32);
  color: #fff;
}
.g-ob-cell.is-here {
  background: rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 0 0 2px #fff,
    0 0 0 4px rgba(255, 255, 255, 0.12);
}
.g-ob-cell.is-here:empty::after {
  content: '';
  width: 2px;
  height: 26px;
  border-radius: 1px;
  background: #fff;
  animation: gObCaret 1s steps(2, start) infinite;
}
@keyframes gObCaret {
  to { opacity: 0; }
}
