/* =========================================================
   PhotoLink — Satu akun (login & daftar gabungan)
   ========================================================= */
.ax { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); min-height: 100vh; min-height: 100dvh; }

/* ---------- Kiri: identitas ---------- */
.ax-brand { position: relative; display: flex; align-items: center; padding: 56px 7%; overflow: hidden; border-right: 1px solid var(--divider); isolation: isolate; }
.ax-brand::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 55% at 0% 0%, rgba(47, 107, 234, .14), transparent 70%),
    radial-gradient(55% 50% at 100% 100%, rgba(74, 163, 255, .1), transparent 70%);
}
html:not([data-theme="light"]) .ax-brand::before {
  background:
    radial-gradient(60% 55% at 0% 0%, rgba(47, 107, 234, .26), transparent 70%),
    radial-gradient(50% 45% at 100% 0%, rgba(245, 181, 68, .1), transparent 70%),
    radial-gradient(55% 50% at 100% 100%, rgba(106, 76, 245, .14), transparent 70%);
}
.ax-brand-in { width: 100%; max-width: 520px; margin: 0 auto; }
.ax-brand .eyebrow { margin: 40px 0 16px; }
.ax-title { margin: 0; font-size: clamp(34px, 4.2vw, 52px); line-height: 1.04; letter-spacing: -.045em; font-weight: 800; }
.ax-title em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--blue2); letter-spacing: -.02em; }
.ax-lead { margin: 16px 0 26px; max-width: 46ch; color: var(--muted); font-size: 16px; line-height: 1.6; }

.ax-apps { display: grid; gap: 10px; }
.ax-app {
  display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; border-radius: 18px; text-align: left;
  background: var(--panel); border: 1.5px solid var(--line); color: var(--text); cursor: pointer;
  transition: border-color .2s, box-shadow .2s, transform .15s var(--ease);
}
.ax-app:hover { border-color: var(--line2); transform: translateY(-1px); }
.ax-app:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.ax-app.on { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft), 0 12px 28px -18px rgba(47, 107, 234, .6); }
.ax-app-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex: none; color: #fff; }
.ax-app-ic svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ax-app-ic.pl { background: linear-gradient(145deg, #3b7bff, #2f6bea 60%, #2457c9); }
.ax-app-ic.er { background: linear-gradient(145deg, #2a2a31, #121214); border: 1px solid rgba(255, 255, 255, .08); color: #4aa3ff; }
.ax-app-t { flex: 1; min-width: 0; display: grid; gap: 1px; }
.ax-app-t strong { font-size: 16px; letter-spacing: -.02em; }
.ax-app-t small { font-size: 13px; color: var(--muted); }
.ax-app-ok { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; flex: none; border: 1.5px solid var(--line2); color: transparent; transition: background .2s, border-color .2s, color .2s; }
.ax-app-ok svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ax-app.on .ax-app-ok { background: var(--blue); border-color: var(--blue); color: #fff; }
.ax-dest { margin: 12px 2px 0; font-size: 13px; color: var(--dim); }
.ax-dest b { color: var(--text); }
.ax-points { list-style: none; margin: 28px 0 0; padding: 18px 0 0; border-top: 1px solid var(--divider); display: grid; gap: 8px; }
.ax-points li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.ax-points svg { width: 16px; height: 16px; fill: none; stroke: var(--green, #22c55e); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Kanan: form ---------- */
.ax-side { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 56px 7%; }
.ax-card { width: 100%; max-width: 440px; padding: 22px; border-radius: 24px; background: var(--panel); border: 1px solid var(--line); box-shadow: 0 24px 60px -36px var(--shadow); }
.ax-tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 14px; background: var(--panel2); border: 1px solid var(--line); margin-bottom: 18px; }
.ax-tabs button { position: relative; z-index: 1; height: 40px; border-radius: 10px; font-size: 14.5px; font-weight: 650; color: var(--muted); transition: color .2s; }
.ax-tabs button.active { color: var(--text); }
.ax-tabs button:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.ax-pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 10px; background: var(--panel); box-shadow: 0 2px 8px var(--shadow), inset 0 0 0 1px var(--line); transition: transform .3s var(--ease); }
.ax-tabs.is-daftar .ax-pill { transform: translateX(100%); }
.ax-form { display: grid; gap: 14px; animation: fadeUp .3s var(--ease) both; }
.ax-form[hidden] { display: none; }
.ax-head h2 { margin: 0; font-size: 21px; letter-spacing: -.03em; }
.ax-head p { margin: 4px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.ax-form .form-grid { gap: 12px; }
.ax-form .btn-primary { margin-top: 2px; gap: 8px; }
.ax-form .btn-primary svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ax-switch { margin: 0; text-align: center; font-size: 13.5px; color: var(--muted); }
.ax-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; font-size: 12.5px; color: var(--dim); }
.ax-links a { color: var(--muted); }
.ax-links a:hover { color: var(--text); text-decoration: underline; }
.page-unified .field input:-webkit-autofill { -webkit-text-fill-color: var(--text); -webkit-box-shadow: 0 0 0 1000px var(--bg2) inset; transition: background-color 9999s ease-out 0s; }

/* ---------- EditRoom: info & FAQ (dibaca Google) ---------- */
.ax-more { border-top: 1px solid var(--divider); padding: 56px 22px calc(48px + var(--safe-b)); }
.ax-more-in { max-width: 760px; margin: 0 auto; }
.ax-more h2 { margin: 0 0 10px; font-size: clamp(22px, 3vw, 28px); letter-spacing: -.03em; }
.ax-more-lead { margin: 0 0 28px; color: var(--muted); line-height: 1.65; }
.ax-more h3 { margin: 0 0 8px; font-size: 17px; }
.ax-more details { border-top: 1px solid var(--line2); }
.ax-more details:last-of-type { border-bottom: 1px solid var(--line2); }
.ax-more summary { list-style: none; cursor: pointer; padding: 16px 32px 16px 0; position: relative; font-weight: 600; }
.ax-more summary::-webkit-details-marker { display: none; }
.ax-more summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; }
.ax-more details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.ax-more details p { margin: -4px 0 16px; color: var(--muted); line-height: 1.6; }

/* ---------- Responsif ---------- */
@media (max-width: 960px) {
  .ax { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .ax-brand { border-right: 0; padding: 28px 18px 8px; }
  .ax-brand .eyebrow { margin: 24px 0 10px; }
  .ax-title { font-size: clamp(28px, 7.5vw, 40px); }
  .ax-lead { margin: 10px 0 16px; font-size: 15px; }
  .ax-apps { grid-template-columns: 1fr 1fr; gap: 8px; }
  .ax-app { padding: 12px; gap: 10px; border-radius: 16px; }
  .ax-app-ic { width: 38px; height: 38px; border-radius: 12px; }
  .ax-app-ic svg { width: 20px; height: 20px; }
  .ax-app-t strong { font-size: 14.5px; }
  .ax-app-t small { font-size: 11.5px; line-height: 1.3; }
  .ax-app-ok { display: none; }
  .ax-points { display: none; }
  .ax-side { padding: 18px 16px calc(36px + var(--safe-b)); }
  .ax-card { padding: 18px; border-radius: 22px; }
}
@media (max-width: 400px) {
  .ax-form .form-grid { grid-template-columns: 1fr; }
  .ax-app-t small { display: none; }
}
