/* CARTOUCHE ID: clean, centered, "Sign in with X"-style screens. */
:root { --idc-blue: #2f49e0; --idc-line: #e3e3e8; --idc-bg: #f5f5f7; }
body.idp { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--idc-bg); font: 400 16px/1.5 var(--font); color: var(--ink); }
.idp-top { display: flex; align-items: center; gap: 10px; padding: 22px 28px; }
.idp-top svg { width: 30px; height: 20px; }
.idp-top b { font-size: 15px; letter-spacing: .02em; }
.idp-main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 24px; }
.idp-card { width: 100%; max-width: 420px; background: #fff; border: 1px solid var(--idc-line); border-radius: 20px; padding: 40px 36px; box-shadow: 0 1px 2px rgba(0,0,0,.03); }
.idp-card .mark { width: 44px; height: 30px; margin-bottom: 18px; }
.idp-card h1 { font-size: 22px; font-weight: 700; letter-spacing: -.01em; margin: 0 0 6px; }
.idp-card p.sub { color: var(--ink-2); font-size: 14.5px; margin: 0 0 24px; line-height: 1.5; }
.idp-app { display: flex; align-items: center; gap: 10px; background: var(--idc-bg); border-radius: 12px; padding: 10px 14px; margin-bottom: 22px; }
.idp-app i { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg,#ff7a00,#b05cff,#2f49e0); flex: none; }
.idp-app span { font-size: 14px; font-weight: 600; }
.idp-field { display: block; margin-bottom: 14px; }
.idp-field span { display: block; font-size: 13px; color: var(--ink-2); margin-bottom: 6px; }
.idp-field input { width: 100%; box-sizing: border-box; height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--idc-line); font: inherit; background: #fff; }
.idp-field input:focus { outline: none; border-color: var(--idc-blue); box-shadow: 0 0 0 3px rgba(47,73,224,.14); }
.idp-code { letter-spacing: .3em; text-align: center; font: 600 20px ui-monospace, monospace; }
.idp-btn { width: 100%; height: 46px; border: 0; border-radius: 10px; background: var(--idc-blue); color: #fff; font: 600 15px/1 var(--font); cursor: pointer; margin-top: 4px; }
.idp-btn:disabled { opacity: .55; cursor: default; }
.idp-btn.ghost { background: #fff; color: var(--ink); border: 1px solid var(--idc-line); margin-top: 10px; }
.idp-link { background: none; border: 0; color: var(--idc-blue); font: 500 14px var(--font); cursor: pointer; padding: 0; }
.idp-row { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; font-size: 14px; }
.idp-msg { min-height: 20px; font-size: 13.5px; color: #c0392b; margin: 10px 0 0; }
.idp-who { display: flex; align-items: center; gap: 10px; background: var(--idc-bg); border-radius: 12px; padding: 10px 14px; margin-bottom: 20px; }
.idp-who .av { width: 34px; height: 34px; border-radius: 50%; background: var(--idc-blue); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; flex: none; }
.idp-who span { font-size: 14px; }
.idp-scopes { list-style: none; margin: 0 0 22px; padding: 0; font-size: 14px; color: var(--ink-2); display: grid; gap: 8px; }
.idp-scopes li { padding-left: 20px; position: relative; }
.idp-scopes li::before { content: "✓"; position: absolute; left: 0; color: var(--idc-blue); font-weight: 700; }
.idp-foot { text-align: center; padding: 20px; font-size: 12.5px; color: var(--ink-3); }
.idp-foot a { color: var(--ink-2); text-decoration: none; }

/* ---- embeddable "Sign in with CARTOUCHE ID" button, shown here and copy-pasted by devs ---- */
.cid-btn { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px 0 12px; border-radius: 10px; background: #fff; border: 1px solid #dadce0; font: 600 14px/1 var(--font); color: #1f1f1f; text-decoration: none; cursor: pointer; }
.cid-btn:hover { box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.cid-btn svg { width: 22px; height: 15px; }
.cid-btn.dark { background: #111; color: #fff; border-color: #111; }
