/* Direct Ghasedak identity page; intentionally separate from the messaging demo styles. */
.identity-app {
  --auth-text:#1c3439;--auth-muted:#788d90;--auth-border:#e2e9e7;
  --auth-accent:#087f75;--auth-soft:#e9f6f1;
  min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:22px;padding:36px 18px 18px;color:var(--auth-text);
  background:radial-gradient(ellipse 580px 420px at 14% 9%,#c2f1e52e,transparent 73%),
             radial-gradient(ellipse 640px 460px at 90% 91%,#b1d5ed30,transparent 75%),#f6f9f8;
  font-family:Tahoma,"Segoe UI",Arial,sans-serif;
}
.identity-app * {box-sizing:border-box}
.identity-card {width:min(100%,468px);padding:34px 33px 25px;background:#fff;border:1px solid var(--auth-border);border-radius:24px;box-shadow:0 22px 90px #1e464212}
.identity-brand {display:flex;align-items:center;justify-content:center;gap:12px;margin:0 0 31px}
.identity-brand-icon {height:49px;width:49px;border-radius:17px;background:linear-gradient(140deg,#35c5ab,#087a79);color:#fff;display:grid;place-items:center;box-shadow:0 9px 25px #09807436}
.identity-brand-icon svg{transform:rotate(-10deg)}
.identity-brand h1{font-size:26px;line-height:1.25;font-weight:800;margin:0}
.identity-brand p{font-size:11px;line-height:1.7;margin:3px 0 0;color:var(--auth-muted)}
.identity-switch{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:5px;background:#f3f6f5;border-radius:13px;margin-bottom:25px}
.identity-switch button{border:0;border-radius:9px;background:transparent;color:#73898a;font-weight:700;font-size:13px;height:41px}
.identity-switch button.current{background:#fff;color:var(--auth-text);box-shadow:0 2px 10px #24423a0b}
.identity-intro{text-align:center;margin-bottom:24px}
.identity-intro h2{font-size:19px;letter-spacing:-.4px;margin:0 0 8px;font-weight:800}
.identity-intro p{font-size:11px;line-height:2.2;color:var(--auth-muted);margin:0 auto;max-width:390px}
.identity-field{margin:0 0 17px}
.identity-field>label,.identity-field-label{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#3c5257;font-size:12px;font-weight:700;margin-bottom:8px}
.identity-input-wrap{display:flex;align-items:center;gap:10px;height:48px;padding:0 14px;background:#fbfcfc;border:1px solid var(--auth-border);border-radius:12px;color:#7a9496;transition:border-color .15s}
.identity-input-wrap:focus-within,.identity-verify-row input:focus{border-color:#19a78d;outline:2px solid #b8e9db70;outline-offset:0}
.identity-input-wrap input{flex:1;width:100%;min-width:0;background:transparent;border:0;color:var(--auth-text);font-size:13px;outline:0!important;text-align:left}
.identity-input-wrap input::placeholder,.identity-verify-row input::placeholder{color:#a6b6b6}
.identity-eye{border:0;background:transparent;color:#7c9899;display:grid;place-items:center;width:28px;height:31px;padding:0}
.identity-verify-row{display:flex;gap:7px;align-items:stretch;width:100%;min-width:0}
.identity-verify-row input{min-width:0;border:1px solid var(--auth-border);border-radius:11px;background:#fbfcfc;color:var(--auth-text);height:46px;padding:0 10px;font-size:12px;outline:0;text-align:center}
.identity-verify-row .identity-contact-input{flex:1.8;width:0;text-align:left}
.identity-verify-row .identity-code-input{flex:.9;width:0}
.identity-verify-row .identity-send-code{width:75px;flex:none;padding:0 7px;border:1px solid #ccebe1;border-radius:11px;background:var(--auth-soft);color:var(--auth-accent);font-weight:800;font-size:10px;white-space:nowrap}
.identity-verify-row button:hover:enabled{background:#d7f1e8}
.identity-verified{color:#09846a;font-weight:700;display:inline-flex;gap:5px;align-items:center;font-size:11px}
.identity-notice,.identity-waiting{display:flex;align-items:flex-start;gap:8px;border-radius:11px;padding:10px 12px;font-size:11px;line-height:2;margin:9px 0 14px}
.identity-notice{color:#995e1c;background:#fff5e5}
.identity-waiting{color:#846e3b;background:#fbf7ec}
.identity-notice svg,.identity-waiting svg{flex:none;margin-top:3px}
.identity-main-button{margin-top:10px;width:100%;min-height:47px;background:var(--auth-accent);border:1px solid var(--auth-accent);border-radius:12px;color:#fff;font-weight:800;font-size:13px;display:flex;align-items:center;justify-content:center;gap:8px;transition:filter .15s}
.identity-main-button:enabled:hover{filter:brightness(.93)}
.identity-main-button:disabled{opacity:.55}
.identity-plain-link{display:block;margin:15px auto 0;background:transparent;border:0;color:#638583;font-size:11px;padding:5px 7px}
.identity-plain-link:hover{text-decoration:underline}
.identity-footer{display:flex;align-items:center;justify-content:center;gap:7px;color:#728985;font-size:10px;margin:24px 0 4px}
.identity-footer svg{color:#0a947b}
.identity-preview-link{display:block;text-align:center;margin:16px 0 0;color:#789395;font-size:10px;text-decoration:none}
.identity-preview-link:hover{text-decoration:underline}
.identity-bottom-note{font-size:10px;color:#95a6a6;letter-spacing:1px;text-align:center;direction:ltr}
.identity-complete{text-align:center;display:flex;align-items:center;flex-direction:column;gap:12px;padding:13px 2px}
.identity-complete svg{color:#07967c}
.identity-complete strong{font-size:15px}
.identity-complete p{font-size:12px;line-height:2;color:var(--auth-muted)}
.identity-consent{display:flex;align-items:center;gap:10px;min-height:44px;font-size:12px;line-height:1.8;color:var(--auth-text);cursor:pointer}
.identity-consent input{flex:none;width:20px;height:20px;accent-color:var(--auth-accent)}
.identity-password-policy{font-size:12px;line-height:1.8;color:var(--auth-muted);margin:-8px 0 16px}
.identity-app button:focus-visible,.identity-app input:focus-visible,.identity-preview-link:focus-visible{outline:2px solid #009c86;outline-offset:2px}
@media(max-width:540px){
  .identity-app{justify-content:flex-start;padding:21px 12px 25px;gap:11px}
  .identity-card{border-radius:19px;padding:26px 16px 22px}
  .identity-brand{margin-bottom:25px}
  .identity-brand h1{font-size:23px}
  .identity-verify-row{gap:5px}
  .identity-verify-row input{padding:0 6px;font-size:11px}
  .identity-verify-row .identity-contact-input{flex:1.6}
  .identity-verify-row .identity-code-input{flex:1}
  .identity-verify-row .identity-send-code{width:64px;font-size:10px}
}
@media(prefers-reduced-motion:reduce){.identity-app *{transition:none!important}}
