/* Sign-in and registration screens: a brand panel beside the form on desktop, a brand header over a sheet on a phone.
   Our own palette only (brand blue, red base stripe); no oil-company name or artwork. Shared by Views/Account/Login.cshtml
   and the registration wizard (Support/Pages/Subscriptions). */
.da {
    --da-brand: #123c8c; --da-brand-hi: #1d56c4; --da-brand-lo: #0b2864; --da-red: #e3262b; --da-red-hi: #ff6b6f;
    --da-primary: #066fd1; --da-ink: #141a24; --da-muted: #566074; --da-faint: #8a93a5; --da-line: #e3e7ee; --da-field: #d5dbe5;
    --da-good: #1b6b2b; --da-good-soft: #e8f5eb; --da-bad: #b02525; --da-bad-soft: #fcebeb;
    min-height: 100vh; display: grid; grid-template-columns: minmax(420px, 600px) 1fr; background: #fff; color: var(--da-ink);
    font-family: "IBM Plex Sans", system-ui, sans-serif; -webkit-font-smoothing: antialiased;
}
.da * { font-family: inherit; }
.da a { color: var(--da-primary); text-decoration: none; font-weight: 500; }
.da a:hover { text-decoration: underline; }
.da-brand {
    position: relative; overflow: hidden; color: #fff; padding: 56px 56px 72px; display: flex; flex-direction: column;
    background: radial-gradient(120% 80% at 0% 0%, var(--da-brand-hi) 0%, var(--da-brand) 45%, var(--da-brand-lo) 100%);
}
.da-brand::before {
    content: ""; position: absolute; right: -180px; top: -120px; width: 520px; height: 520px; border-radius: 50%;
    border: 56px solid rgba(255, 255, 255, .05);
}
.da-brand::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: var(--da-red); }
.da .da-mark { display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: 17px; position: relative; color: #fff; text-decoration: none; }
.da-mark img { width: 44px; height: 44px; border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.da-hero { margin-top: auto; display: flex; flex-direction: column; gap: 20px; position: relative; }
.da-hero h2 { color: #fff; margin: 0; font-size: 44px; line-height: 50px; font-weight: 600; letter-spacing: -.02em; }
.da-hero h2 em { font-style: normal; color: var(--da-red-hi); }
.da-hero p { margin: 0; font-size: 17px; line-height: 26px; color: rgba(255, 255, 255, .78); max-width: 440px; }
.da-points { display: flex; flex-direction: column; gap: 12px; margin: 8px 0 0; padding: 0; list-style: none; }
.da-points li { display: flex; gap: 12px; align-items: center; font-size: 15px; color: rgba(255, 255, 255, .9); }
.da-points li span {
    width: 28px; height: 28px; border-radius: 8px; background: rgba(255, 255, 255, .12); display: grid; place-items: center;
    font-size: 13px; font-weight: 600; flex: none;
}
.da-points li.is-done span { background: rgba(255, 255, 255, .9); color: var(--da-brand); }
.da-points li.is-now span { background: var(--da-red); }
.da-stamp { position: absolute; left: 56px; bottom: 28px; font-size: 12px; color: rgba(255, 255, 255, .55); }

.da-form { display: flex; flex-direction: column; padding: 40px clamp(24px, 6vw, 96px); background: #fff; }
.da-top { display: flex; justify-content: flex-end; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--da-muted); }
.da-inner { width: 100%; max-width: 440px; margin: auto 0; padding: 32px 0; display: flex; flex-direction: column; gap: 20px; }
.da-inner.is-wide { max-width: 600px; }
.da h1 { margin: 0; font-size: 32px; line-height: 40px; font-weight: 600; letter-spacing: -.015em; }
.da-sub { margin: 6px 0 0; font-size: 15px; line-height: 22px; color: var(--da-muted); }
.da-btn {
    height: 48px; border-radius: 12px; border: 1px solid var(--da-field); background: #fff; display: flex; align-items: center;
    justify-content: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--da-ink) !important;
    box-shadow: 0 1px 2px rgba(20, 26, 36, .05); text-decoration: none !important; transition: border-color .15s, box-shadow .15s;
}
.da-btn:hover { border-color: #b7c0cf; box-shadow: 0 2px 6px rgba(20, 26, 36, .08); }
.da-btn:focus-visible, .da-cta:focus-visible, .da-in:focus, .da-in:focus-within { outline: none; border-color: var(--da-primary); box-shadow: 0 0 0 4px rgba(6, 111, 209, .14); }
.da-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.da-or { display: flex; align-items: center; gap: 12px; color: var(--da-faint); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.da-or::before, .da-or::after { content: ""; flex: 1; height: 1px; background: var(--da-line); }
.da-f { display: flex; flex-direction: column; gap: 6px; }
.da-f > label, .da-f > .da-label { font-size: 13px; font-weight: 500; display: flex; justify-content: space-between; gap: 8px; }
.da-in {
    height: 48px; width: 100%; box-sizing: border-box; border: 1px solid var(--da-field); border-radius: 12px; padding: 0 14px;
    font-size: 15px; background: #fff; color: var(--da-ink);
}
.da-in::placeholder { color: var(--da-faint); }
.da-in[readonly] { background: #f8fafc; color: var(--da-muted); }
.da-in.is-mono { font-family: "IBM Plex Mono", ui-monospace, monospace; }
.da-group { display: flex; align-items: center; padding: 0; }
.da-group input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; padding: 0 14px; font-size: 15px; outline: none; color: inherit; }
.da-group .da-pfx { color: var(--da-muted); border-right: 1px solid var(--da-line); padding: 0 10px 0 14px; }
.da-group button { border: 0; background: none; color: var(--da-muted); font-size: 13px; padding: 0 14px; height: 100%; cursor: pointer; }
.da-hint { font-size: 12.5px; color: var(--da-muted); }
.da-hint.is-ok { color: var(--da-good); font-weight: 500; }
.da-error { padding: 10px 14px; border-radius: 10px; background: var(--da-bad-soft); color: var(--da-bad); font-size: 14px; }
.da-note { padding: 10px 14px; border-radius: 10px; background: #e7f1fc; color: #0b3f75; font-size: 14px; }
.da-chk { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 20px; cursor: pointer; }
.da-chk input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--da-primary); }
.da-cta {
    height: 52px; border-radius: 12px; border: 0; background: var(--da-red); color: #fff !important; font-size: 16px; font-weight: 600;
    display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 36px; cursor: pointer;
    box-shadow: 0 8px 20px -8px rgba(227, 38, 43, .6); text-decoration: none !important;
}
.da-cta.is-blue { background: var(--da-primary); box-shadow: 0 8px 20px -8px rgba(6, 111, 209, .6); }
.da-cta:disabled { opacity: .55; cursor: default; }
.da-legal { font-size: 13px; line-height: 19px; color: var(--da-muted); margin: 0; }
.da-center { text-align: center; font-size: 14px; color: var(--da-muted); }
.da-langs { display: inline-flex; padding: 4px; border-radius: 999px; background: #f1f4f8; gap: 2px; }
.da-lang { display: flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--da-muted) !important; text-decoration: none !important; }
.da-lang.is-on { background: #fff; color: var(--da-ink) !important; box-shadow: 0 1px 3px rgba(20, 26, 36, .12); }
.da-lang svg { width: 20px; height: 14px; border-radius: 2px; flex: none; }
.da-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; list-style: none; margin: 0; padding: 0; }
.da-steps li { display: flex; flex-direction: column; gap: 8px; font-size: 12.5px; font-weight: 500; color: var(--da-faint); }
.da-steps li::before { content: ""; height: 4px; border-radius: 4px; background: var(--da-line); }
.da-steps .is-done::before { background: var(--da-brand); }
.da-steps .is-now::before { background: var(--da-red); }
.da-steps .is-done, .da-steps .is-now { color: var(--da-ink); }
.da-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.da-grid .is-full { grid-column: 1 / -1; }
.da-card { border: 1px solid var(--da-line); border-radius: 14px; padding: 14px 16px; display: flex; align-items: center; gap: 12px; font-size: 14px; background: #f8fafc; }
.da-card small { display: block; color: var(--da-muted); font-size: 13px; }
.da-card button { margin-left: auto; border: 0; background: none; color: var(--da-primary); font-weight: 500; font-size: 13px; cursor: pointer; }
.da-tick { width: 28px; height: 28px; border-radius: 50%; background: var(--da-good-soft); color: var(--da-good); display: grid; place-items: center; font-size: 14px; font-weight: 700; flex: none; }
.da-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.da-foot .da-back { border: 0; background: none; color: var(--da-primary); font-weight: 500; font-size: 15px; cursor: pointer; padding: 0; }
.da-progress { height: 6px; border-radius: 6px; background: var(--da-line); overflow: hidden; }
.da-progress span { display: block; height: 100%; background: var(--da-brand); transition: width .3s; }
.da-wait { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 48px 0; color: var(--da-muted); }
.da-spin { width: 36px; height: 36px; border-radius: 50%; border: 4px solid var(--da-line); border-top-color: var(--da-brand); animation: da-spin 1s linear infinite; }
@keyframes da-spin { to { transform: rotate(360deg); } }

/* Phone: the brand panel becomes a header and the form a sheet over it. */
@media (max-width: 900px) {
    .da { grid-template-columns: 1fr; background: #f6f8fb; }
    .da-brand { padding: 20px 20px 44px; }
    .da-brand::before { display: none; }
    .da-brand::after { bottom: 14px; height: 5px; }
    .da-mark { font-size: 14px; }
    .da-mark img { width: 32px; height: 32px; border-radius: 9px; }
    .da-hero { margin-top: 18px; gap: 4px; }
    .da-hero h2 { font-size: 24px; line-height: 30px; letter-spacing: -.01em; }
    .da-hero p { font-size: 14px; line-height: 20px; }
    .da-points, .da-stamp { display: none; }
    .da-form { margin-top: -14px; position: relative; border-radius: 20px 20px 0 0; padding: 24px 20px 28px; }
    .da-top { justify-content: center; order: 2; padding-top: 8px; }
    .da-inner { margin: 0; padding: 0; gap: 16px; max-width: none; }
    .da h1 { font-size: 22px; line-height: 28px; }
    .da-grid { grid-template-columns: 1fr; }
}
