/* verify.swiftdox.com in the v2 look (client.swiftdox.com/login/login.css + css/theme.css): the landing page
   (invalidRequest.php, CO results) and the CFS / GMP result page (cgVerifyPage.inc.php) */
/* v2 colours (client.swiftdox.com/css/theme.css) */
:root {
    --sd-brand: #2d6cb5; --sd-brand-dark: #1f4f8a; --sd-brand-tint: #eaf1fa; --sd-brand-line: #c5d6ec;
    --sd-ink: #1d2733; --sd-muted: #5d6b7a; --sd-faint: #8a96a3; --sd-line: #e3e8ee; --sd-panel: #fafbfd;
    --sd-ok: #1f7a4d; --sd-ok-tint: #e7f5ee; --sd-ok-line: #cbe8d8;
    --sd-warn: #9a6700; --sd-warn-ink: #5c4a00; --sd-warn-tint: #fff6e0; --sd-warn-line: #f3e0b0;
    --sd-bad: #8d2b2e; --sd-bad-ink: #6b1f22; --sd-bad-tint: #fbeeee; --sd-bad-line: #f0d3d4;
    --sd-nav: #1d4a80; --sd-nav-deep: #133459;
}
*, *::before, *::after { box-sizing: border-box; }
body { min-height: 100vh; margin: 0; background: #fff; color: var(--sd-ink);
    font-family: Roboto, "Helvetica Neue", Arial, sans-serif; font-size: .9375rem; line-height: 1.55; }
a { color: var(--sd-brand); text-decoration: none; }
a:hover { color: var(--sd-brand-dark); text-decoration: underline; }
.shell { display: flex; min-height: 100vh; }

/* brand panel (login.css .auth-brand) */
.brand { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
    width: 42%; max-width: 34rem; padding: 2.5rem 3rem; color: #fff; overflow: hidden;
    background: radial-gradient(120% 80% at 0% 0%, rgba(255,255,255,.12), transparent 60%), linear-gradient(160deg, var(--sd-nav), var(--sd-nav-deep)); }
.brand img { height: 2.25rem; width: auto; }
.eyebrow { display: inline-block; margin-bottom: .75rem; padding: .2rem .65rem; border-radius: 999px; background: rgba(255,255,255,.12);
    font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.brand h1 { font-size: 2rem; font-weight: 600; line-height: 1.2; letter-spacing: -.01em; margin: 0 0 .75rem; }
.brand .lead { font-size: 1rem; line-height: 1.6; color: rgba(255,255,255,.8); margin: 0; }
.points { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1rem; }
.points li { display: flex; gap: .875rem; align-items: flex-start; color: rgba(255,255,255,.85); }
.points i { display: grid; place-items: center; flex: none; width: 2.25rem; height: 2.25rem; border-radius: 8px; background: rgba(255,255,255,.12); color: #fff; font-size: 1.125rem; }
.points b { display: block; font-weight: 600; color: #fff; }
.brand-foot { font-size: .8125rem; color: rgba(255,255,255,.6); }

/* main column: drifting brand gradient, white card */
.main { flex: 1; display: flex; flex-direction: column; min-width: 0;
    background: linear-gradient(120deg, #e4edf9, #f4f7fc 30%, #dfe9f8 55%, #ece8f8 80%, #e2f1f3); background-size: 300% 300%;
    animation: drift 24s ease-in-out infinite; }
@keyframes drift { 0%, 100% { background-position: 0% 30%; } 50% { background-position: 100% 70%; } }
@media (prefers-reduced-motion: reduce) { .main { animation: none; } }
.main-body { flex: 1; display: flex; align-items: center; justify-content: center; padding: 2.5rem 1.5rem; }
.main-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem 1.25rem; padding: 1rem 1.5rem 1.5rem; font-size: .8125rem; color: var(--sd-faint); }
.main-foot a { color: var(--sd-muted); }
.card { width: 100%; max-width: 34rem; padding: 2.25rem 2.5rem; background: #fff; border: 1px solid rgba(29,74,128,.08); border-radius: 16px;
    box-shadow: 0 1px 2px rgba(16,38,66,.04), 0 12px 32px -8px rgba(16,38,66,.14); }
.card h2 { font-size: 1.625rem; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; margin: 0 0 .25rem; }
.sub { color: var(--sd-muted); margin: 0 0 1.5rem; }

/* issuing chamber (as on the certificate letterhead) */
.issuer { display: flex; flex-direction: column; align-items: center; gap: .125rem; text-align: center;
    margin: -.25rem 0 1.5rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--sd-line); }
.issuer img { max-width: min(16rem, 100%); max-height: 3.5rem; width: auto; height: auto; margin-bottom: .625rem; }
.issuer b { font-size: 1.0625rem; font-weight: 600; }
.issuer span { font-size: .875rem; color: var(--sd-muted); }
.issuer span i { margin: 0 .25rem 0 .75rem; color: var(--sd-faint); }
.issuer span i:first-child { margin-left: 0; }

/* status */
.status { display: flex; gap: 1rem; align-items: center; padding: 1rem 1.125rem; border: 1px solid; border-radius: 12px; margin-bottom: 1.5rem; }
.status i { font-size: 2.5rem; line-height: 1; }
.status b { display: block; font-size: 1.25rem; font-weight: 600; line-height: 1.3; }
.status span { font-size: .875rem; }
.status.ok { background: var(--sd-ok-tint); border-color: var(--sd-ok-line); color: var(--sd-ok); }
.status.bad { background: var(--sd-bad-tint); border-color: var(--sd-bad-line); color: var(--sd-bad-ink); }
.status.bad i { color: var(--sd-bad); }
.notice { display: flex; gap: .75rem; align-items: flex-start; padding: .75rem 1rem; border: 1px solid; border-radius: 8px; font-size: .875rem; margin-bottom: 1.25rem; }
.notice i { margin-top: .1rem; }
.notice.warn { background: var(--sd-warn-tint); border-color: var(--sd-warn-line); color: var(--sd-warn-ink); }

/* details */
.details { margin: 0; display: grid; grid-template-columns: 9.5rem 1fr; border-top: 1px solid var(--sd-line); }
.details dt, .details dd { margin: 0; padding: .75rem 0; border-bottom: 1px solid var(--sd-line); }
.details dt { font-size: .8125rem; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--sd-faint); padding-top: .85rem; }
.details dd { overflow-wrap: anywhere; }
.details dd small { display: block; color: var(--sd-muted); font-size: .875rem; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .875rem; }

/* form */
form { margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--sd-line); }
form.first { margin-top: 0; padding-top: 0; border-top: 0; }
label { display: block; font-size: .875rem; font-weight: 600; margin-bottom: .375rem; }
.row { display: flex; gap: .5rem; }
input { flex: 1; min-width: 0; padding: .625rem .875rem; font: inherit; color: var(--sd-ink); border: 1px solid #ced4da; border-radius: 8px; }
input:focus { outline: 0; border-color: var(--sd-brand); box-shadow: 0 0 0 .2rem rgba(45,108,181,.2); }
button { display: inline-flex; align-items: center; gap: .375rem; padding: .625rem 1.25rem; font: inherit; font-weight: 600; color: #fff;
    background: var(--sd-brand); border: 0; border-radius: 8px; cursor: pointer; }
button:hover { background: var(--sd-brand-dark); }
.hint { margin: .5rem 0 0; font-size: .8125rem; color: var(--sd-muted); }

@media (max-width: 991.98px) {
    .shell { flex-direction: column; }
    .brand { width: auto; max-width: none; padding: 1.25rem 1.5rem; }
    .brand-copy, .brand-foot { display: none; }
    .main-body { align-items: flex-start; padding-top: 2rem; }
}
@media (max-width: 575.98px) {
    .card { padding: 1.5rem 1.25rem; border-radius: 12px; }
    .details { grid-template-columns: 1fr; }
    .details dt { border-bottom: 0; padding-bottom: 0; }
    .details dd { padding-top: .125rem; }
}
