:root { --brand: #1a204b; --brand-dark: #111638; --background: #f4f5f9; --surface: #fff; --text: #171a2f; --muted: #666a7d; --line: #dfe1e9; --danger: #a23333; }
* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }
body { color: var(--text); background: var(--background); font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.eyebrow { margin: 0 0 8px; color: var(--brand); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.lookup-page { display: grid; min-height: 100vh; place-items: center; padding: 24px; background: radial-gradient(circle at top left, rgba(26,32,75,.15), transparent 38%), linear-gradient(135deg, #eef0f8, #faf9f5); }
.lookup-card { width: min(100%, 470px); padding: 42px; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 14px 45px rgba(26,32,75,.1); }
.lookup-logo { display: block; width: 92px; height: auto; margin-bottom: 24px; }
.lookup-card h1 { margin: 0 0 10px; font-size: 38px; letter-spacing: -.04em; }
.lookup-form { display: grid; margin-top: 26px; gap: 8px; }
.lookup-form label { font-size: 13px; font-weight: 800; }
.lookup-form input { width: 100%; padding: 12px; border: 1px solid #cfd2df; border-radius: 10px; outline: none; }
.lookup-form input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(26,32,75,.14); }
.lookup-form button, .primary-button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; margin-top: 6px; padding: 11px 16px; color: #fff; background: var(--brand); border: 0; border-radius: 10px; font-weight: 800; cursor: pointer; }
.credential-page { min-height: 100vh; }
.credential-header { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 20px; padding: 0 max(24px, calc((100vw - 1240px)/2)); background: #fff; border-bottom: 1px solid var(--line); }
.credential-brand { display: inline-flex; align-items: center; gap: 11px; }
.credential-brand img { display: block; width: 82px; height: auto; }
.credential-brand span { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.credential-status { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; font-size: 13px; font-weight: 800; }
.credential-status span { display: grid; width: 20px; height: 20px; place-items: center; color: #fff; border-radius: 50%; }
.credential-status.valid { color: #12633e; background: #e5f7ec; }.credential-status.valid span { background: #178451; }
.credential-status.inactive { color: #8a3030; background: #fdeaea; }.credential-status.inactive span { background: var(--danger); }
.credential-status.loading { color: var(--muted); background: #eff0f5; }.credential-status.loading span { color: var(--muted); background: #dfe1e9; }
.credential-hero { padding: 54px max(24px, calc((100vw - 1240px)/2)) 38px; color: #fff; background: linear-gradient(120deg, var(--brand-dark), #262e68); }
.credential-hero .eyebrow { color: #cfd3f4; }.credential-hero h1 { max-width: 850px; margin: 0 0 12px; font-size: clamp(30px,5vw,50px); line-height: 1.08; letter-spacing: -.04em; }.credential-hero p:last-child { margin: 0; color: #daddf1; }.credential-hero strong { color: #fff; }
.credential-layout { display: grid; width: min(1240px, calc(100% - 48px)); margin: 32px auto 48px; align-items: start; gap: 28px; grid-template-columns: minmax(0,1.55fr) minmax(330px,.75fr); }
.credential-preview-card { display: grid; min-height: 560px; overflow: hidden; place-items: center; padding: 24px; background: #dfe1e9; border: 1px solid #d6d8e1; border-radius: 18px; box-shadow: 0 16px 45px rgba(26,32,75,.11); }
.credential-preview-card iframe { width: 100%; height: min(72vh, 720px); background: #fff; border: 0; box-shadow: 0 8px 24px rgba(15,18,46,.15); }
.credential-sidebar { display: grid; gap: 16px; }.credential-panel { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 6px 22px rgba(26,32,75,.05); }
.verification-panel { display: flex; gap: 14px; }.verification-icon { display: grid; flex: 0 0 auto; width: 42px; height: 42px; place-items: center; color: #fff; background: #178451; border-radius: 50%; font-size: 21px; font-weight: 900; }.verification-icon.inactive { background: var(--danger); }
.panel-label { margin: 0 0 3px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }.verification-panel h2, .credential-details h2, .revocation-panel h2 { margin: 0 0 6px; font-size: 18px; }.verification-panel p:last-child, .revocation-panel p:last-child { margin-bottom: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.primary-button { width: 100%; margin: 0; }.credential-actions { display: grid; gap: 9px; grid-template-columns: 1fr 1fr; }.secondary-button, .linkedin-button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 11px 15px; color: var(--text); background: #fff; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; font-weight: 800; cursor: pointer; }.linkedin-button { grid-column: 1/-1; color: #fff; background: #0a66c2; border-color: #0a66c2; }
.credential-details dl { display: grid; margin: 18px 0 0; gap: 14px; }.credential-details dl div { display: grid; gap: 4px; padding-bottom: 13px; border-bottom: 1px solid #ececf1; }.credential-details dt { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }.credential-details dd { margin: 0; font-size: 14px; font-weight: 700; overflow-wrap: anywhere; }.credential-id { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px !important; font-weight: 500 !important; }
.credential-unavailable, .state-card { display: grid; place-content: center; text-align: center; }.credential-unavailable { min-height: 500px; padding: 40px; }.state-card { width: min(720px, calc(100% - 48px)); min-height: 280px; margin: 32px auto; padding: 40px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }.state-icon { display: grid; width: 56px; height: 56px; margin: 0 auto 18px; place-items: center; color: #fff; border-radius: 50%; font-size: 28px; font-weight: 900; }.state-icon.error { background: var(--danger); }.spinner { width: 42px; height: 42px; margin: 0 auto 18px; border: 4px solid #e1e3ec; border-top-color: var(--brand); border-radius: 50%; animation: spin .8s linear infinite; }@keyframes spin { to { transform: rotate(360deg); } }
.mobile-pdf-preview { width: 100%; min-height: 420px; color: var(--text); background: #fff; border-radius: 12px; }.mobile-pdf-preview p { max-width: 360px; margin: 0 auto 20px; color: var(--muted); line-height: 1.55; }.mobile-pdf-preview .primary-button { width: min(100%, 280px); margin: 0 auto; }.pdf-document-icon { display: grid; width: 68px; height: 82px; margin: 0 auto 20px; place-items: center; color: #fff; background: var(--brand); border-radius: 7px 7px 14px 7px; box-shadow: 8px 8px 0 #dfe1e9; font-size: 17px; font-weight: 900; letter-spacing: .08em; }
.revocation-panel { border-color: #efc3c3; }.revocation-panel > p { line-height: 1.55; }footer { padding: 25px; color: var(--muted); background: #fff; border-top: 1px solid var(--line); text-align: center; font-size: 12px; }
@media (max-width: 1100px) { .credential-layout { grid-template-columns: 1fr; }.credential-preview-card { min-height: 420px; }.credential-sidebar { grid-row: 1; }.credential-preview-card { grid-row: 2; } }
@media (max-width: 520px) { .lookup-card { padding: 30px 22px; }.lookup-card h1 { font-size: 32px; }.credential-header { min-height: 68px; padding-inline: 18px; }.credential-brand img { width: 72px; }.credential-brand span { display: none; }.credential-status { padding: 7px 9px; font-size: 12px; }.credential-hero { padding: 38px 18px 30px; }.credential-layout { width: calc(100% - 24px); margin-top: 18px; gap: 16px; }.credential-preview-card { min-height: 260px; padding: 10px; }.credential-preview-card iframe { height: 55vh; }.credential-panel { padding: 18px; } }
