/* Graphic Design Eye — Sign In (login.html)
   Uses the shared tokens (styles.css) and components (ui.css: .gde-btn, .gde-field, .gde-field__control).
   Layout: a dark brand panel on the left (same dark green as the invoice and email heroes) and the form on the right.
   Phones: the form only, with the logo on top. */

.gde-page-auth { min-height: 100dvh; background: var(--page); }
.gde-auth { display: grid; grid-template-columns: minmax(380px, 46%) minmax(0, 1fr); min-height: 100dvh; }

/* ---------- Brand panel ---------- */
.gde-auth__brand {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  padding: 40px clamp(32px, 4vw, 64px); overflow: hidden; isolation: isolate; color: #fff;
  background:
    radial-gradient(620px 340px at 100% 0, rgba(121, 235, 85, .26), transparent 70%),
    radial-gradient(520px 320px at 0 110%, rgba(70, 107, 209, .22), transparent 70%),
    linear-gradient(150deg, #142019 0, #0f1511 62%);
}
.gde-auth__brand::after {
  content: ""; position: absolute; z-index: -1; right: -40px; top: 90px; width: 360px; height: 300px;
  background-image: radial-gradient(rgba(255, 255, 255, .14) 1.2px, transparent 1.3px); background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(closest-side, #000, transparent); mask-image: radial-gradient(closest-side, #000, transparent);
  pointer-events: none;
}
/* the brand lockup: 52px logo, bold white name, soft grey "LLC · Your Creative Workspace" line */
.gde-auth__logo { display: inline-flex; align-items: center; gap: 14px; color: inherit; text-decoration: none; }
.gde-auth__logo img { flex: none; width: 52px; height: 52px; }
.gde-auth__logo span { display: grid; gap: 4px; line-height: 1.15; }
.gde-auth__logo strong { font-size: 21px; font-weight: 700; letter-spacing: -.015em; color: #fff; }
.gde-auth__logo small { font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, .62); }
.gde-auth__logo--mobile { display: none; }
.gde-auth__logo--mobile img { width: 48px; height: 48px; }
.gde-auth__logo--mobile strong { font-size: 19px; color: var(--ink); }
.gde-auth__logo--mobile small { font-size: 12px; color: var(--muted); }

.gde-auth__pitch { max-width: 460px; }
.gde-auth__eyebrow { margin: 0 0 14px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.gde-auth__pitch h2 { margin: 0; font-size: clamp(30px, 2.4vw + 10px, 42px); font-weight: 700; line-height: 1.12; letter-spacing: -.03em; }
.gde-auth__points { display: grid; gap: 20px; margin: 34px 0 0; padding: 0; list-style: none; }
.gde-auth__points li { display: flex; gap: 14px; align-items: flex-start; }
.gde-auth__points li > span:last-child { display: grid; gap: 3px; font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .68); }
.gde-auth__points strong { font-size: 15px; font-weight: 600; color: #fff; }
.gde-auth__pi { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: rgba(121, 235, 85, .14); border: 1px solid rgba(121, 235, 85, .3); color: var(--brand); }
.gde-auth__pi .gde-icon { width: 18px; height: 18px; }
.gde-auth__secure { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; color: rgba(255, 255, 255, .6); }
.gde-auth__secure .gde-icon { width: 16px; height: 16px; color: var(--brand); }

/* ---------- Form side ---------- */
.gde-auth__main { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; padding: 40px 24px 28px; }
.gde-auth__card { width: min(440px, 100%); padding: 36px 36px 30px; background: #fff; border: 1px solid var(--line-panel); border-radius: 24px; box-shadow: 0 24px 60px -36px rgba(15, 21, 17, .35); }
.gde-auth__head h1 { margin: 0; font-size: 30px; font-weight: 700; letter-spacing: -.025em; color: var(--ink); line-height: 1.15; }
.gde-auth__head { margin-bottom: 26px; }
.gde-auth__head p { margin: 8px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--text-2); }


.gde-auth__alert { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 16px; padding: 11px 14px; border-radius: 12px; background: var(--st-revision-bg); color: var(--st-revision-fg); font-size: 13.5px; line-height: 1.45; }
.gde-auth__alert[hidden] { display: none; }
.gde-auth__alert .gde-icon { flex: none; margin-top: 2px; }

.gde-auth__form { display: grid; gap: 18px; }
.gde-auth__label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.gde-auth__input { position: relative; display: flex; align-items: center; }
.gde-auth__input > .gde-icon { position: absolute; left: 14px; color: var(--muted-2); pointer-events: none; }
.gde-auth__input .gde-field__control { padding-left: 42px; }
.gde-auth__input .gde-field__control[type="password"], .gde-auth__input #login-password { padding-right: 48px; }
.gde-auth__reveal { position: absolute; right: 6px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 9px; background: none; color: var(--muted); cursor: pointer; }
.gde-auth__reveal:hover { background: var(--surface-2); color: var(--ink); }
.gde-auth__caps { margin: 0; font-size: 12.5px; font-weight: 500; color: var(--st-on-hold-fg); }
.gde-auth__caps[hidden] { display: none; }

.gde-auth__link { font-size: 13px; font-weight: 600; color: var(--brand-strong); text-decoration: none; }
.gde-auth__link:hover { text-decoration: underline; }

.gde-auth__remember { position: relative; display: inline-flex; align-items: center; gap: 10px; width: max-content; font-size: 13.5px; color: var(--text-2); cursor: pointer; user-select: none; }
.gde-auth__remember input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.gde-auth__box { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid #cfd4cb; background: #fff; color: transparent; transition: background-color .15s var(--ease), border-color .15s var(--ease); }
.gde-auth__box .gde-icon { width: 13px; height: 13px; stroke-width: 3; }
.gde-auth__remember input:checked + .gde-auth__box { background: var(--brand-strong); border-color: var(--brand-strong); color: #fff; }
.gde-auth__remember input:focus-visible + .gde-auth__box { box-shadow: var(--focus); }

.gde-auth__submit { height: 50px; margin-top: 4px; font-size: 15px; }
.gde-auth__submit .gde-icon { transition: transform .2s var(--ease); }
.gde-auth__submit:hover:not(:disabled) .gde-icon { transform: translateX(3px); }
.gde-auth__spinner { display: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: gde-auth-spin .7s linear infinite; }
.gde-auth__submit.gde-is-busy .gde-auth__spinner { display: inline-block; }
.gde-auth__submit.gde-is-busy .gde-icon { display: none; }
@keyframes gde-auth-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .gde-auth__spinner { animation-duration: 2s; } .gde-auth__submit .gde-icon { transition: none; } }

.gde-auth__alt { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line-2); text-align: center; font-size: 13.5px; color: var(--text-2); }

.gde-auth__foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-size: 12.5px; color: var(--muted); }
.gde-auth__foot a { color: var(--muted); text-decoration: none; }
.gde-auth__foot a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- Tablet: narrower brand panel ---------- */
@media (max-width: 1099.98px) {
  .gde-auth { grid-template-columns: minmax(320px, 42%) minmax(0, 1fr); }
  .gde-auth__points li > span:last-child { font-size: 13.5px; }
}
/* ---------- Phones and small tablets: form only ---------- */
@media (max-width: 860px) {
  .gde-auth { grid-template-columns: 1fr; }
  .gde-auth__brand { display: none; }
  .gde-auth__main { justify-content: flex-start; padding: 28px 16px 24px; }
  .gde-auth__logo--mobile { display: inline-flex; margin-bottom: 26px; }
  .gde-auth__card { padding: 26px 20px 22px; border-radius: 20px; }
  .gde-auth__head h1 { font-size: 26px; }
}

/* ---------- Forgot password (forgot-password.html) ---------- */
.gde-auth__badge { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; border-radius: 14px; background: #eaf8e4; border: 1px solid #d2efc6; color: var(--brand-strong); }
.gde-auth__badge .gde-icon { width: 22px; height: 22px; }
.gde-auth__badge--ok { background: var(--brand-strong); border-color: var(--brand-strong); color: #fff; }
.gde-auth__done h1 { margin: 0; font-size: 30px; font-weight: 700; letter-spacing: -.025em; color: var(--ink); line-height: 1.15; }
.gde-auth__done p { margin: 10px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--text-2); overflow-wrap: anywhere; }
.gde-auth__done strong { color: var(--ink); font-weight: 600; }
.gde-auth__done:focus { outline: none; }
.gde-auth__done[hidden], #forgot-step[hidden] { display: none; }
.gde-auth__muted { font-size: 13.5px !important; }
.gde-auth__link-btn { padding: 0; border: 0; background: none; font: inherit; font-weight: 600; cursor: pointer; }
.gde-auth__back { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 860px) { .gde-auth__done h1 { font-size: 26px; } }

/* ---------- Laravel additions ---------- */
/* Success notice (for example after a password change). */
.gde-auth__alert--ok { background: #eaf8e4; color: var(--st-approved-fg); }

