/* Login: one light indigo tint from the card's top-left corner, flat squares
   in the page's top-right corner, a near-grey 7px frame, a soft wide shadow. */
.login { position: relative; min-height: 100vh; display: grid; place-items: center; padding: 40px 20px; background: #fbfbfd; overflow: hidden; }

.login .tiles {
  position: absolute; top: -14px; right: -14px; display: grid;
  grid-template-columns: repeat(4, 72px); grid-auto-rows: 72px; gap: 3px;
  -webkit-mask-image: radial-gradient(circle at 100% 0%, #000 30%, transparent 78%);
  mask-image: radial-gradient(circle at 100% 0%, #000 30%, transparent 78%);
}
.login .tiles i { border: 1px solid #e8e8ee; border-radius: 10px; background: #fff; }
.login .tiles i.x { border-color: transparent; background: none; }

.gcard {
  position: relative; z-index: 2; width: min(340px, 100%); padding: 30px 28px 24px; border-radius: 16px;
  background: radial-gradient(120% 70% at 0% 0%, rgba(49, 46, 129, .08) 0%, rgba(255, 255, 255, 0) 55%), #fff;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, .035), 0 0 0 7px #f3f5f8,
              0 40px 110px -24px rgba(15, 23, 42, .13), 0 12px 40px -10px rgba(15, 23, 42, .05);
}
.gcard h1 { font-size: 21px; font-weight: 600; text-align: center; letter-spacing: -.015em; color: #0b0b12; margin-bottom: 24px; }

.gl { display: flex; justify-content: space-between; align-items: baseline; font-weight: 500; font-size: 13px; color: #18181f; margin-bottom: 7px; }
.gl .lnk { font-weight: 400; font-size: 13px; }

.gi { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 12px; border-radius: 9px; background: #fff; border: 1px solid #e4e4ea; margin-bottom: 14px; }
.gi { transition: border-color .2s ease, box-shadow .2s ease; }
.gi:hover { border-color: #c9c9d6; }
.gi:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); }
.gi svg.ico { width: 17px; height: 17px; color: #9a9aa6; }
.gi input { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: none; font-size: 14px; color: #2a2a33; }

.gnote { margin: -4px 0 14px; padding: 10px 12px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); font-size: 13px; }
.gchk { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #3a3a44; margin: 2px 0 20px; cursor: pointer; }
.gerr { margin: -6px 0 14px; color: var(--danger); font-size: 13px; }

.gbtn { width: 100%; height: 42px; border: 0; border-radius: 9px; background: var(--accent); color: #fff; font-weight: 600; font-size: 14.5px; }
.gbtn:disabled { opacity: .7; cursor: default; }
/* Decision 25: same as the primary pill */
.gbtn { transition: background-color .12s ease, transform .08s ease; }
.gbtn:not(:disabled):hover { background: #29266e; }
.gbtn:not(:disabled):active { background: #221f5e; transform: scale(.97); }
@media (prefers-reduced-motion: reduce) {
  .gi, .gbtn { transition: none; }
  .gbtn:not(:disabled):active { transform: none; }
}
.gsep { height: 1px; background: #ececf1; margin: 20px 0 14px; }
.gfoot { text-align: center; font-size: 13px; color: #6b6b78; }
.gfoot a { color: #0b0b12; font-weight: 600; }
