/* =========================================================================
   dnsinfo.live — UAT5 theme  (2026-06-24)
   Blue + Teal contrast. Blue stays the primary/brand colour
   (logo, primary CTA, focus, links); a MUTED amber is the contrast accent,
   used as fills (Rate button, signup lure, tip icons, status highlight) — not
   as small body text, so it pops without hurting readability. No gradients.
   Layered over style.css; structure/IDs unchanged.
   ========================================================================= */

:root {
    --bg:            #f6f7f9;
    --surface:       #ffffff;
    --border:        #e7e9ef;
    --border-strong: #d7dbe4;
    --text:          #1b2333;
    --text-soft:     #454e60;
    --muted:         #8a93a3;

    /* primary = Royal Blue */
    --primary:       #0866ff;
    --primary-dark:  #0052cc;
    --primary-soft:  #eff6ff;
    --primary-border:#bfdbfe;

    /* contrast accent = Royal Blue */
    --accent:        #0866ff;
    --accent-dark:   #0052cc;
    --accent-soft:   #eff6ff;
    --accent-border: #bfdbfe;

    --ok:            #16a34a;
    --err:           #dc2626;
    --radius:        10px;
    --radius-sm:     5px;
    --shadow:        0 1px 2px rgba(16,24,40,.04), 0 1px 3px rgba(16,24,40,.06);
}

/* ---------- Base ---------- */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    background-color: var(--bg) !important;
    color: var(--text) !important;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { color: var(--text); letter-spacing: -.01em; }
a       { color: var(--primary); }
a:hover { color: var(--primary-dark); }
.btn-link { color: var(--primary) !important; }

/* ---------- Inputs (focus ring = primary blue) ---------- */
input.form-control, select.form-control {
    height: 48px !important;
    border-radius: var(--radius-sm) !important;
    border: 1px solid var(--border-strong) !important;
    background: #fff !important;
    color: var(--text) !important;
    font-weight: 500 !important;
    box-shadow: none !important;
    transition: border-color .15s ease, box-shadow .15s ease;
}
input.form-control:focus, select.form-control:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(39,71,196,.15) !important;
    outline: 0;
}
input.form-control::placeholder { color: #aab1bf; font-weight: 400; }

/* ---------- Primary (Check) button = blue ---------- */
.btn-info {
    background: linear-gradient(135deg, #0866ff 0%, #0052cc 100%) !important;
    border-color: #0052cc !important;
    color: #fff !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(8, 102, 255, .25) !important;
    transition: all .15s ease;
}
.btn-info:hover, .btn-info:focus { background: linear-gradient(135deg, #0052cc 0%, #003d99 100%) !important; border-color: #003d99 !important; box-shadow: 0 6px 16px rgba(8, 102, 255, .35) !important; transform: translateY(-1px); }
.btn-info:not(:disabled):not(.disabled):active:focus { box-shadow: 0 0 0 3px rgba(8, 102, 255, .25) !important; }
.btn-info.disabled, .btn-info:disabled { background: #93a2e0 !important; border-color: #93a2e0 !important; }

/* ---------- Rate button = Brand Gradient ---------- */
a.ratebutton {
    background: linear-gradient(135deg, #0866ff 0%, #0052cc 100%) !important;
    color: #ffffff !important;
    border: 1px solid #0052cc !important;
    box-shadow: 0 4px 14px rgba(8, 102, 255, .25) !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    padding: 11px 24px !important;
    transition: all .15s ease;
}
a.ratebutton:hover { background: linear-gradient(135deg, #0052cc 0%, #003d99 100%) !important; border-color: #003d99 !important; transform: translateY(-2px); }

/* ---------- Cards ---------- */
.card {
    background: var(--surface) !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius) !important;
    box-shadow: var(--shadow) !important;
    overflow: hidden;
}
.card-header {
    background: #fff !important;
    border-bottom: 1px solid var(--border) !important;
    padding: 14px 18px !important;
}
.card-header.bg-secondary, .card-header.bg-secondary.text-white {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
    color: #ffffff !important;
}
.card-title, h2 { font-size: 18px !important; font-weight: 700 !important; }
.card-body { padding: 18px !important; }
.accordion .card { margin-top: 8px; }

/* ---------- Tables — light neutral headers, blue-tinted ---------- */
.table { background: transparent !important; margin-bottom: 0; }
.table-responsive {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
}
.table.table-bordered, .table-bordered td, .table-bordered th { border-color: var(--border) !important; }
.table thead th,
.secondary-1 thead th,
.secondary-2 thead th {
    background: #eef1fb !important;
    color: #2a3a72 !important;
    font-weight: 600 !important;
    font-size: 12.5px !important;
    text-transform: uppercase;
    letter-spacing: .4px;
    border-bottom: 1px solid var(--primary-border) !important;
}
.table td { background: #fff !important; color: var(--text) !important; border-color: var(--border) !important; }
#dmarc_record_table td, #ptr_record_table td, #result_table td,
#soa_record_table td, #spf_record_table td { font-weight: 500 !important; }
td.main-record { font-weight: 600 !important; }
#trace_result_tbody td { color: var(--text-soft) !important; }
/* 2026-06-25: small unit suffix on TTL values (TTL is in seconds). */
.ttl-u { font-size: .9em; color: var(--muted); margin-left: 3px; }

/* ---------- Clipboard + misc ---------- */
.btn-clipboard { color: var(--muted) !important; }
.btn-clipboard:hover { color: var(--primary) !important; }
.bi-clipboard { color: var(--primary) !important; }
.report_time, div#client_table { color: var(--text-soft) !important; }
.text-success, .bi-check2 { color: var(--ok) !important; }
.text-warning { color: #d97706 !important; }
.footer.bg-light { background: #fff !important; border-top: 1px solid var(--border); }

/* ---------- Helpful Tips (amber icons = contrast accent) ---------- */
.tips h3 { font-size: 15px !important; color: var(--text) !important; }
.tips p  { font-size: 13.5px !important; color: var(--text-soft) !important; }
.tip-item svg { color: var(--accent) !important; }

/* ========================================================================
   Website Status panel
   ======================================================================== */
.ss-badge {
    font-size: 11.5px; font-weight: 700; padding: 3px 10px;
    border-radius: 999px; letter-spacing: .3px;
    background: #eef1f6; color: var(--text-soft);
}
.ss-badge-ok   { background: #e7f6ec; color: #15803d; }
.ss-badge-err  { background: #fdecec; color: #b91c1c; }
.ss-badge-warn { background: #fdf2e3; color: #b45309; }
.ss-badge-load { background: var(--primary-soft); color: var(--primary-dark); }
.ss-badge-idle { background: #eef1f6; color: var(--muted); }

.site-status-card .card-body { padding: 0 !important; }
.ss-placeholder { padding: 16px 18px; font-size: 13.5px; color: var(--text-soft); line-height: 1.55; }
.ss-loading     { padding: 16px 18px; font-size: 13.5px; color: var(--primary-dark); font-weight: 600; }
.ss-error       { padding: 16px 18px; font-size: 13.5px; color: var(--err); font-weight: 600; }

.ss-list { list-style: none; margin: 0; padding: 2px 0; }
.ss-item { display: flex; flex-direction: column; padding: 13px 18px; border-bottom: 1px solid #f0f2f6; }
.ss-item:last-child { border-bottom: 0; }
.ss-label { font-size: 11px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.ss-value { font-size: 14.5px; font-weight: 600; color: var(--text); word-break: break-word; line-height: 1.4; }
.ss-muted    { color: var(--muted); font-weight: 500; font-size: 12.5px; }
.ss-ok-text  { color: var(--ok); }
.ss-err-text { color: var(--err); }
.ss-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; vertical-align: middle; }
.ss-dot-ok  { background: var(--ok);  box-shadow: 0 0 0 3px rgba(22,163,74,.14); }
.ss-dot-err { background: var(--err); box-shadow: 0 0 0 3px rgba(220,38,38,.14); }
.ss-dot-warn{ background: #d97706;    box-shadow: 0 0 0 3px rgba(217,119,6,.16); }

/* signup lure — full TEAL block, white text, prominent heading-size button */
/* signup lure — Royal Blue gradient block */
.ss-cta {
    margin: 14px 14px 16px;
    padding: 18px 16px 20px;
    background: linear-gradient(135deg, #0866ff 0%, #1e40af 100%);
    border: 1px solid #1d4ed8;
    border-radius: 12px;
    font-size: 14.5px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.55;
    box-shadow: 0 6px 18px rgba(8,102,255,.22);
}
.ss-cta-link {
    display: block;
    margin-top: 15px;
    padding: 12px 14px;
    background: #ffffff;
    color: #0866ff !important;
    text-align: center;
    border: 1.5px solid #ffffff;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    white-space: normal;
    box-shadow: 0 2px 6px rgba(0,0,0,.08);
    transition: all .15s ease;
}
.ss-cta-link:hover { background: #eff6ff; color: #0052cc !important; text-decoration: none; transform: translateY(-1px); box-shadow: 0 4px 10px rgba(0,0,0,.12); }


/* ========================================================================
   Deliverability Check menu (idle state, pre-search)
   ======================================================================== */
.dc-list { list-style: none; margin: 0; padding: 4px 0; }
.dc-item {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 16px !important; border-bottom: 1px solid #f0f2f6;
    cursor: pointer; transition: background .12s ease;
}
.dc-item:last-child { border-bottom: 0; }
.dc-item:hover, .dc-item-open, .dc-item.dc-active { background: #eff6ff !important; }
.dc-ico {
    flex: 0 0 36px; width: 36px; height: 36px; border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    background: #eff6ff; color: #0866ff; font-size: 15px;
    border: 1px solid #dbeafe;
}
.dc-txt { flex: 1 1 auto; display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.dc-txt b { font-size: 14px; color: var(--text); font-weight: 700; white-space: nowrap; }
.dc-txt small { font-size: 12px; color: var(--text-soft); white-space: nowrap; }
.dc-go { flex: 0 0 auto; font-size: 12.5px; font-weight: 700; color: #0866ff; white-space: nowrap; }
.dc-pill {
    flex: 0 0 auto; font-size: 9.5px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase;
    padding: 1px 7px; border-radius: 999px;
    background: #eff6ff; color: #0866ff; border: 1px solid #bfdbfe;
}
.dc-txt .dc-pill { align-self: flex-start; margin-top: 4px; }
.dc-note { padding: 0 16px 6px; }
.dc-pronote {
    margin-top: 8px; padding: 12px 14px;
    background: #eff6ff; border: 1px solid #bfdbfe;
    border-radius: 8px; font-size: 12.5px; color: #1e3a8a; line-height: 1.5;
}
.dc-signup { display: inline-block; margin-top: 6px; font-weight: 700; color: var(--accent-dark); text-decoration: none; }
.dc-signup:hover { text-decoration: underline; }
.dc-foot { padding: 12px 16px 15px; border-top: 1px solid #f0f2f6; font-size: 11.5px; color: var(--muted); line-height: 1.5; }

/* 2026-06-25: Custom record-type dropdown. The native <select> option list is drawn by
   the OS and its highlight colour can't be themed (showed a system blue, not our indigo).
   So the native <select name="type"> is hidden (kept for form value + all JS .val() reads)
   and this themed listbox is rendered in sync. Highlight uses var(--primary) to match the
   Check button exactly. */
.cs-native { display: none !important; }
.cs-wrap { position: relative; }
.cs-trigger {
    width: 100%; text-align: left; background: #fff;
    border: 1px solid #ccd2e0; border-radius: 5px;
    padding: 0 32px 0 14px; font-size: 16px; font-weight: 600; color: var(--text);
    cursor: pointer; display: flex; align-items: center; justify-content: space-between;
    transition: border-color .12s ease, box-shadow .12s ease;
}
.cs-trigger:hover { border-color: var(--primary); }
.cs-trigger:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(39, 71, 196, .15); }
/* 2026-06-30: locked state — set when an IPv4/IPv6 is entered (PTR only, no dropdown). */
.cs-wrap.cs-disabled .cs-trigger {
    background: #eef1f6; color: #6b7280; cursor: not-allowed;
    border-color: #d6dbe6; box-shadow: none;
}
.cs-wrap.cs-disabled .cs-caret { opacity: .35; }
.cs-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs-caret {
    flex: 0 0 auto; width: 0; height: 0; margin-left: 10px;
    border-left: 5px solid transparent; border-right: 5px solid transparent;
    border-top: 6px solid #6b7280; transition: transform .15s ease;
}
.cs-open .cs-caret { transform: rotate(180deg); }
.cs-panel {
    position: absolute; z-index: 60; top: calc(100% + 6px); left: 0; right: 0;
    margin: 0; padding: 6px; list-style: none; background: #fff;
    border: 1px solid #e3e7f0; border-radius: 10px;
    box-shadow: 0 12px 30px rgba(20, 30, 60, .16);
    display: none;   /* 2026-06-25: no forced max-height/scroll — show all options like the native list did */
}
.cs-open .cs-panel { display: block; }
.cs-option {
    /* 2026-06-25: match the native option list — 16px, regular weight (only the highlight colour is themed) */
    padding: 8px 12px; border-radius: 5px; font-size: 16px; font-weight: 400; color: var(--text);
    cursor: pointer; white-space: nowrap;
}
.cs-option.cs-active { background: var(--primary); color: #fff; }

/* 2026-06-25: on the two-column (desktop) layout, push "Key Features" down so it begins
   roughly level with the Helpful Tips card header in the right column. Initial-visit only
   (#about-dns-details is hidden once results render). Tunable. */
/* 2026-06-25: short per-record-type info block on result pages (JS-driven, replaces the
   long static FAQ for users; the FAQ stays in the HTML for SEO). */
.record-info { margin-top: 24px; }   /* base spacing; JS overrides margin-top on desktop to align with Helpful Tips */
.record-info h1 { font-size: 24px; font-weight: 700; margin-bottom: 16px; }
.record-info h2 { font-size: 17px; font-weight: 700; color: var(--text); margin: 20px 0 8px; }
.record-info p  { font-size: 16px; line-height: 1.6; color: var(--text); margin-bottom: 12px; }
.record-info p:last-child { margin-bottom: 0; }
.record-info code { color: var(--primary-dark); background: var(--primary-soft); padding: 1px 6px; border-radius: 4px; font-size: 13.5px; }

@media (min-width: 992px) {
    #about-dns-details { margin-top: 48px; }
    /* #record-info top margin is set dynamically by JS (alignRecordInfoToTips) so the heading
       lines up with the Helpful Tips card header for any record type / result size. */
}

/* ===== Feedback modal — theme palette + positioned over the trace result (JS sets margin-top),
   so it no longer covers the domain name and the main result table. ===== */
#myModal .modal-dialog,
#otpModal .modal-dialog {
    margin: 30px auto !important;
    max-width: 520px !important;
}
#myModal .modal-content,
#otpModal .modal-content {
    background: #ffffff !important;
    border: none !important;
    border-radius: 16px !important;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(15, 23, 42, 0.08) !important;
    overflow: hidden !important;
}
#myModal .modal-header,
#otpModal .modal-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
    color: #ffffff !important;
    padding: 16px 22px !important;
    border-bottom: 1px solid #334155 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}
#myModal .modal-title,
#otpModal .modal-title {
    color: #f8fafc !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    margin: 0 !important;
    letter-spacing: -.01em !important;
}
#myModal .modal-header .close,
#otpModal .modal-header .close,
#myModal .modal-header button.close,
#otpModal .modal-header button.close {
    color: #94a3b8 !important;
    text-shadow: none !important;
    opacity: 0.85 !important;
    font-size: 26px !important;
    font-weight: 300 !important;
    line-height: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    background: transparent !important;
    transition: all .15s ease !important;
}
#myModal .modal-header .close:hover,
#otpModal .modal-header .close:hover,
#myModal .modal-header button.close:hover,
#otpModal .modal-header button.close:hover {
    color: #ffffff !important;
    opacity: 1 !important;
    transform: scale(1.1);
}
#myModal .modal-body,
#otpModal .modal-body {
    padding: 24px !important;
    background: #ffffff !important;
}
#myModal .modal-body label,
#otpModal .modal-body label {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    margin-bottom: 6px !important;
    display: block !important;
}
#myModal .modal-body .form-control,
#otpModal .modal-body .form-control {
    border-radius: 8px !important;
    border: 1.5px solid #cbd5e1 !important;
    font-size: 14px !important;
    box-shadow: none !important;
    transition: all .15s ease !important;
}
#myModal .modal-body .form-control:focus,
#otpModal .modal-body .form-control:focus {
    border-color: #0866ff !important;
    box-shadow: 0 0 0 3px rgba(8, 102, 255, 0.15) !important;
}
#myModal .modal-footer,
#otpModal .modal-footer {
    padding: 14px 24px !important;
    background: #f8fafc !important;
    border-top: 1px solid #e2e8f0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 10px !important;
}

#add_feedback,
#myModal .btn-primary,
#otpModal .btn-info,
#otp_send_btn,
#otp_verify_btn,
.modal-footer .btn-primary {
    background: linear-gradient(135deg, #0866ff 0%, #0052cc 100%) !important;
    border: none !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    padding: 9px 20px !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(8, 102, 255, 0.25) !important;
    transition: all .15s ease !important;
    cursor: pointer !important;
}
#add_feedback:hover,
#myModal .btn-primary:hover,
#otpModal .btn-info:hover,
#otp_send_btn:hover,
#otp_verify_btn:hover,
.modal-footer .btn-primary:hover {
    background: linear-gradient(135deg, #0052cc 0%, #003d99 100%) !important;
    box-shadow: 0 6px 16px rgba(8, 102, 255, 0.35) !important;
    transform: translateY(-1px);
    color: #ffffff !important;
}
#myModal .btn-default,
.modal-footer .btn-default {
    background: #ffffff !important;
    color: #475569 !important;
    border: 1.5px solid #cbd5e1 !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    padding: 8px 18px !important;
    border-radius: 8px !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
    transition: all .15s ease !important;
    cursor: pointer !important;
}
#myModal .btn-default:hover,
.modal-footer .btn-default:hover {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border-color: #94a3b8 !important;
}

/* Rating Stars */
.rating {
    display: flex !important;
    flex-direction: row-reverse !important;
    justify-content: flex-end !important;
    gap: 4px !important;
}
.rating > input { display: none !important; }
.rating > label {
    position: relative !important;
    width: auto !important;
    font-size: 26px !important;
    color: #cbd5e1 !important;
    cursor: pointer !important;
    transition: color .15s ease !important;
    margin: 0 !important;
    line-height: 1 !important;
}
.rating > label::before {
    content: "\2605" !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    opacity: 0 !important;
    color: #f59e0b !important;
    transition: opacity .15s ease !important;
}
.rating > label:hover:before,
.rating > label:hover ~ label:before {
    opacity: 1 !important;
    color: #f59e0b !important;
}
.rating > input:checked ~ label:before {
    opacity: 1 !important;
    color: #f59e0b !important;
}
.rating:hover > input:checked ~ label:before {
    opacity: .35 !important;
}
#myModal .rating > label { color: #cbd5e1 !important; }
#myModal .rating > label::before { color: #f59e0b !important; }

#otpModal .otp-lead      { color: var(--text-soft); font-size: 14px; line-height: 1.5; margin-bottom: 16px; }
#otpModal .btn-block     { display: block; width: 100%; padding: 11px; font-size: 15px; margin-top: 8px; }
#otpModal .otp-code-input{ letter-spacing: .45em; text-align: center; font-size: 22px; font-weight: 700; padding-left: .45em; }
#otpModal .otp-resend    { text-align: center; margin-top: 14px; font-size: 13px; }
#otpModal .otp-resend a, #otpModal .otp-resend button  { color: var(--primary); background: none; border: none; padding: 0; font-size: inherit; font-family: inherit; cursor: pointer; text-decoration: none; }
#otpModal .otp-resend a:hover, #otpModal .otp-resend button:hover { text-decoration: underline; }

.ss-cta-in b { display: block; font-size: 15px; }
.ss-cta-in .ss-cta-email { display: block; font-weight: 600; margin-top: 4px; word-break: break-all; }
.ss-cta-in small { display: block; margin-top: 8px; opacity: .92; }

.site-headrow { position: relative; display: flex; align-items: center; justify-content: center; }
.site-auth { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); }
.auth-signin { display: inline-block; padding: 8px 18px; border: 1.5px solid var(--primary); color: var(--primary); border-radius: 5px; font-weight: 600; font-size: 14px; text-decoration: none; transition: background .15s, color .15s; }
.auth-signin:hover { background: var(--primary); color: #fff; text-decoration: none; }
.auth-menu { position: relative; display: inline-block; }
.auth-user {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    padding: 7px 16px !important;
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 24px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    cursor: pointer !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05) !important;
    transition: all .2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.auth-user:hover {
    background: #eff6ff !important;
    color: #0866ff !important;
    border-color: #93c5fd !important;
    box-shadow: 0 4px 12px rgba(8, 102, 255, 0.18) !important;
    transform: translateY(-1px);
}
.auth-user .auth-btn-icon { color: #0866ff !important; }
.auth-user .caret { color: #64748b !important; font-size: 11px !important; margin-left: 2px !important; }
.auth-dd { position: absolute; right: 0; top: calc(100% + 6px); min-width: 170px; background: #fff; border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 12px 30px rgba(20,30,60,.16); padding: 6px; display: none; z-index: 60; }
.auth-menu.open .auth-dd { display: block; }
.auth-dd a { display: block; padding: 9px 12px; border-radius: 5px; color: var(--text); text-decoration: none; font-size: 14px; }
.auth-dd a:hover { background: var(--primary-soft); color: var(--primary-dark); }


.app-header { background: #fff; border-bottom: 1px solid var(--border); }
.app-headrow { position: relative; display: flex; align-items: center; justify-content: center; padding: 14px 15px; }
.app-headrow .auth-signin, .app-headrow .auth-menu { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); }

.auth-body { background: var(--bg); }
.auth-shell { max-width: 460px; margin: 6vh auto; padding: 0 16px; text-align: center; }
.auth-logo { display: inline-block; margin-bottom: 22px; }
.auth-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow); padding: 30px 28px; text-align: left; }
.auth-h1 { font-size: 22px; font-weight: 700; margin: 0 0 8px; }
.auth-lead { color: var(--text-soft); font-size: 14px; line-height: 1.5; margin-bottom: 18px; }
.auth-card label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.auth-card .btn-block { display: block; width: 100%; padding: 12px; font-size: 15px; margin-top: 14px; }
.auth-alt { text-align: center; margin-top: 14px; font-size: 13px; }
.auth-alt a, .auth-foot a { color: var(--primary); }
.auth-foot { text-align: center; margin-top: 18px; font-size: 13px; }
.param-groups { display: flex; flex-direction: column; gap: 14px; margin-bottom: 6px; }
.param-group h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .4px; color: var(--muted); margin: 0 0 8px; }
.param-soon { background: var(--accent-soft); color: var(--accent-dark); font-size: 10px; padding: 1px 7px; border-radius: 999px; text-transform: none; letter-spacing: 0; margin-left: 6px; }
.param-opt { display: flex; align-items: flex-start; gap: 10px; padding: 8px 10px; border: 1px solid var(--border); border-radius: 5px; margin-bottom: 6px; cursor: pointer; font-weight: 400; }
.param-opt input { margin-top: 3px; }
.param-opt span { display: flex; flex-direction: column; }
.param-opt b { font-size: 14px; }
.param-opt small { color: var(--muted); font-size: 12px; }

.dash-main { padding: 28px 15px 60px; max-width: 1100px; }
.dash-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; flex-wrap: wrap; gap: 10px; }
.dash-head h1 { font-size: 24px; font-weight: 700; margin: 0; }
.dash-add { padding: 9px 16px !important; font-size: 14px; text-decoration: none; }
.dash-cards { display: flex; gap: 14px; margin-bottom: 26px; flex-wrap: wrap; }
.dash-stat { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 16px 20px; min-width: 140px; box-shadow: var(--shadow); }
.dash-stat-n { font-size: 26px; font-weight: 700; color: var(--primary); }
.dash-stat-l { font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; }
.dash-h2 { font-size: 16px; font-weight: 700; margin: 22px 0 12px; }
.dash-empty { background: #fff; border: 1px dashed var(--border-strong); border-radius: 10px; padding: 34px; text-align: center; }
.dash-empty p { color: var(--text-soft); margin-bottom: 14px; }
.dash-host { font-weight: 600; }
.param-chip { display: inline-block; background: var(--primary-soft); color: var(--primary-dark); font-size: 11.5px; padding: 2px 8px; border-radius: 999px; margin: 2px 3px 2px 0; text-transform: capitalize; }
.dash-soon { margin-top: 30px; }

/* ===== 2026-06-25: z-index fix (home header dropdown above the right column) ===== */
header { position: relative; z-index: 50; }
.site-auth { z-index: 1200; }
.auth-dd { z-index: 1200; }

/* ===== app shell (signin / dashboard / profile) ===== */
.app-main { padding: 26px 0 60px; }
@media (min-width: 1200px) {
    .container.app-main,
    .app-main.container {
        max-width: 1360px !important;
    }
}
@media (min-width: 1400px) {
    .container.app-main,
    .app-main.container {
        max-width: 1420px !important;
    }
}
.app-logo img { display: block; }

/* ===== promo right-rail (signin + dashboard) ===== */
.promo-aside .promo-card { margin-bottom: 16px; }
.promo-carousel {
    background: linear-gradient(135deg, #0866ff 0%, #1e40af 100%) !important;
    border: 1px solid #1d4ed8 !important;
    color: #fff;
    padding: 22px 20px 18px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(8, 102, 255, .22) !important;
    border-radius: 14px !important;
}
.promo-track { display: grid; align-items: start; }
.promo-slide { grid-area: 1 / 1; opacity: 0; transition: opacity .5s ease; pointer-events: none; }
.promo-slide.is-active { opacity: 1; pointer-events: auto; }
.promo-eyebrow {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.16);
    border: 1px solid rgba(56, 189, 248, 0.35);
    padding: 2px 8px;
    border-radius: 12px;
    display: inline-block;
}
.promo-slide h3 { font-size: 18px; font-weight: 700; margin: 10px 0 8px; color: #fff; }
.promo-slide p { font-size: 13.5px; line-height: 1.5; opacity: .95; margin: 0 0 14px; color: #eff6ff; }
.promo-cta {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    color: #0866ff !important;
    font-weight: 700;
    font-size: 13px;
    padding: 7px 16px;
    border-radius: 20px;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: all .15s ease;
}
.promo-cta:hover {
    background: #eff6ff;
    color: #0052cc !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    text-decoration: none;
}
.promo-dots { display: flex; gap: 6px; margin-top: 14px; }
.promo-dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.35); transition: all .2s; }
.promo-dots span.is-active { background: #fff; width: 18px; border-radius: 4px; }

/* secondary accent, used sparingly */
.ss-dot-active { background: var(--primary); box-shadow: 0 0 0 3px rgba(8,102,255,.16); }
.dash-stat-n.stat-accent { color: var(--primary); }
.btn-accent { display: inline-block; background: var(--primary) !important; border: 1px solid var(--primary) !important; color: #fff !important; font-weight: 600; border-radius: var(--radius-sm); padding: 9px 16px; text-decoration: none; }
.btn-accent:hover { background: var(--primary-dark) !important; border-color: var(--primary-dark) !important; color: #fff !important; }

/* ===== profile / account ===== */
.prof-main { max-width: 980px; }
.prof-identity { display: flex; align-items: center; gap: 16px; margin: 6px 0 24px; }
.prof-avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; flex: 0 0 auto; }
.prof-id-text h1 { font-size: 24px; font-weight: 700; margin: 0; }
.prof-id-sub { font-size: 13px; color: var(--text-soft); margin-top: 4px; }
.prof-verified { color: var(--ok); font-weight: 600; font-size: 12px; }
.prof-plan { background: var(--primary-soft); color: var(--primary-dark); font-size: 11px; font-weight: 600; padding: 2px 9px; border-radius: 999px; margin-left: 4px; }
.prof-nav a { display: block; padding: 9px 12px; border-radius: 5px; color: var(--text-soft); text-decoration: none; font-size: 14px; font-weight: 500; margin-bottom: 2px; }
.prof-nav a:hover { background: #fff; color: var(--text); }
.prof-nav a.is-active { background: var(--primary-soft); color: var(--primary-dark); font-weight: 600; }
.prof-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 20px 22px; margin-bottom: 18px; box-shadow: var(--shadow); }
.prof-card h2 { font-size: 16px; font-weight: 700; margin: 0 0 14px; }
.prof-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 11px 0; border-top: 1px solid var(--border); }
.prof-row:first-of-type { border-top: 0; padding-top: 0; }
.prof-row label { font-size: 13px; font-weight: 600; color: var(--text-soft); margin: 0; min-width: 130px; }
.prof-val { font-size: 14px; color: var(--text); text-align: right; }
.prof-soon { font-size: 11px; color: var(--muted); background: #f1f3f7; padding: 1px 7px; border-radius: 999px; margin-left: 6px; }
.prof-link { color: var(--primary); margin-left: 10px; font-weight: 600; font-size: 13px; }
.prof-plan-box { display: flex; align-items: center; justify-content: space-between; gap: 14px; background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; }
.prof-plan-name { font-size: 16px; font-weight: 700; }
.prof-usage { margin-top: 12px; font-size: 13px; }
.prof-danger h2 { color: var(--err); }
.btn-danger-outline { display: inline-block; border: 1.5px solid var(--err); color: var(--err) !important; background: #fff; font-weight: 600; font-size: 13px; padding: 8px 14px; border-radius: 5px; text-decoration: none; }
.btn-danger-outline:hover { background: var(--err); color: #fff !important; }

@media (max-width: 991.98px){
    .prof-row { flex-direction: column; align-items: flex-start; }
    .prof-val { text-align: left; }
    .prof-nav { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
    .prof-nav a { margin-bottom: 0; }
}

/* smooth reveal when the Site Status panel replaces the menu */
.site-status-card.ss-reveal { animation: ssFade .25s ease; }
@keyframes ssFade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* animated "•••" placeholder shown while a value is still loading */
.ss-dots { display: inline-block; color: var(--muted); letter-spacing: 2px; animation: ssDots 1.1s ease-in-out infinite; }
@keyframes ssDots { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }


.site-status-card,
#site_status_card,
#deliv_check_card,
aside .site-status-card,
aside #site_status_card,
aside #deliv_check_card,
.site-status-card .card-body,
#site_status_card .card-body {
    overflow: visible !important;
}
.ss-item { position: relative; }
.ss-tip-wrap { position: static; display: inline; }
.ss-tip {
    display: inline-flex; align-items: center; justify-content: center;
    width: 14px; height: 14px; margin-left: 5px; padding: 0;
    border: 1px solid var(--muted); border-radius: 50%;
    background: transparent; color: var(--muted);
    font-size: 9px; font-weight: 700; line-height: 1; cursor: pointer; vertical-align: middle;
}
.ss-tip:hover, .ss-tip-wrap.open .ss-tip { border-color: var(--accent); color: var(--accent); }
.ss-tip-pop {
    display: none; position: absolute; z-index: 1050;
    left: 12px; right: 12px; width: auto; max-width: none;
    top: calc(100% + 6px); bottom: auto;
    padding: 10px 14px;
    background: #eff6ff; color: #1e3a8a;
    border: 1px solid #bfdbfe; border-radius: 8px;
    font-size: 12px; font-weight: 400; line-height: 1.5; letter-spacing: normal; text-transform: none;
    box-shadow: 0 8px 24px rgba(16,24,40,.16);
    pointer-events: auto;
}
.ss-tip-pop::before {
    content: ''; position: absolute;
    top: -5px; bottom: auto;
    left: var(--arrow-x, 28px); right: auto;
    width: 9px; height: 9px; background: #eff6ff;
    border-top: 1px solid #bfdbfe; border-left: 1px solid #bfdbfe;
    border-right: none; border-bottom: none;
    transform: rotate(45deg);
}
.ss-tip-pop.pop-above {
    top: auto; bottom: calc(100% + 6px);
}
.ss-tip-pop.pop-above::before {
    top: auto; bottom: -5px;
    border-top: none; border-left: none;
    border-right: 1px solid #bfdbfe; border-bottom: 1px solid #bfdbfe;
    transform: rotate(45deg);
}
.ss-tip-pop b { color: #0866ff; font-weight: 700; }
.ss-tip-wrap.open .ss-tip-pop { display: block; animation: ssTipIn .15s ease-out; }
@keyframes ssTipIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========================================================================
   2026-06-25 (uat5aj): signin layout polish, signed-in status-carousel,
   dashboard per-site pause/resume/delete controls
   ======================================================================== */

/* signin form elements sizing & spacing */
#step_email, #step_code, #step_params { text-align: left; }
#step_email label, #step_code label { text-align: left; }
#step_email label, #step_email .form-control, #step_email .btn-block,
#step_code label, #step_code .otp-code-input, #step_code .auth-btnrow,
#step_params .btn-block, .auth-input-wrapper {
    width: 100%; max-width: 100%;
    margin-left: 0; margin-right: 0; box-sizing: border-box;
}
.auth-card .otp-code-input {
    display: block; text-align: center; letter-spacing: .4em; padding-left: .4em;
    font-size: 22px; font-weight: 700;
}
/* Verify + Resend share one row */
.auth-btnrow { display: flex; gap: 10px; margin-top: 16px; }
.auth-btnrow #verify_btn { flex: 1; padding: 12px; font-size: 15px; margin-top: 0; }
.btn-resend {
    white-space: nowrap; padding: 12px 16px; font-size: 14px; font-weight: 600;
    background: #fff; color: var(--primary); border: 1px solid var(--primary-border);
    border-radius: var(--radius-sm);
}
.btn-resend:hover:not(:disabled) { background: var(--primary-soft); color: var(--primary-dark); }
.btn-resend:disabled { color: var(--muted); border-color: var(--border); cursor: not-allowed; opacity: .8; }
/* reserve the message slot so showing/clearing it never shifts the form down */
#auth_msg { min-height: 46px; }
#auth_msg .alert { margin-bottom: 0; }

/* signed-in: rotating carousel inside the Site Status card (replaces the
   "You're signed in" block) — let the inner .promo-carousel render its green box */
.ss-cta-promo {
    background: transparent !important; border: 0 !important; box-shadow: none !important;
    padding: 0 !important; margin: 14px 14px 16px;
}
.ss-cta-promo .promo-carousel { border-radius: var(--radius); }

/* dashboard — per-site action buttons + inline delete confirm */
.dash-table { width: 100% !important; table-layout: auto; }
.dash-table th, .dash-actions { white-space: nowrap; }
.dash-table td.dash-actions {
    text-align: right !important;
    white-space: nowrap !important;
    padding: 8px 10px !important;
}
.dash-actbtns {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
}
.dash-confirm {
    display: inline-flex !important;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 5px;
    white-space: nowrap;
}
.dash-confirm.d-none {
    display: none !important;
}
.dash-confirm-q {
    display: inline-block;
    margin: 0 4px 0 0;
    font-size: 12px;
    font-weight: 600;
    color: var(--err, #ef4444);
    white-space: nowrap;
}
.btn-row {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    padding: 4px 10px;
    margin: 0 2px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    cursor: pointer;
    background: #fff;
    color: var(--text-soft, #475569);
    border: 1px solid var(--border-strong, #cbd5e1);
    border-radius: var(--radius-sm, 6px);
    transition: background .12s ease, color .12s ease, border-color .12s ease;
    white-space: nowrap;
}
.btn-row:hover:not(:disabled) { background: #f1f5f9; color: var(--text, #0f172a); }
.btn-row:disabled { opacity: .55; cursor: not-allowed; }
.btn-row-del { color: var(--err); border-color: #f1c6c6; }
.btn-row-del:hover:not(:disabled) { background: #fdecec; }
.btn-row-yes { color: #fff; background: var(--err); border-color: var(--err); }
.btn-row-yes:hover:not(:disabled) { background: #b91c1c; }

/* dashboard — square icon-only action buttons (Edit / Pause-Resume / Delete) */
.icon-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; padding: 0; margin: 0 3px; cursor: pointer;
    background: #fff; color: var(--text-soft); vertical-align: middle;
    border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
    transition: background .12s ease, color .12s ease, border-color .12s ease;
}
.icon-btn svg { width: 16px; height: 16px; display: block; }
.icon-btn:hover:not(:disabled) { background: #f1f5f9; }
.icon-btn:disabled { opacity: .5; cursor: not-allowed; }
.icon-edit { color: var(--primary); border-color: var(--primary-border); }
.icon-edit:hover:not(:disabled) { background: var(--primary-soft); }
.icon-del { color: var(--err); border-color: #f1c6c6; }
.icon-del:hover:not(:disabled) { background: #fdecec; }

/* smaller value text in the table; Site column value stays larger at 16px */
.dash-table td { font-size: 13.5px; vertical-align: middle; }
.dash-table td.dash-host { font-size: 16px; font-weight: 600; }
.dash-status { font-size: 13px; }

/* inline monitoring-parameter editor row */
.dash-edit-row > td { background: #f8fafc; }
.dash-edit { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 16px; padding: 4px 2px; }
.dash-edit-t { font-size: 12.5px; font-weight: 600; color: var(--text-soft); }
.dash-edit label { display: inline-flex; align-items: center; gap: 5px; margin: 0; font-size: 12.5px; font-weight: 500; cursor: pointer; }
.dash-edit-save { color: #fff; background: var(--ok); border-color: var(--ok); }
.dash-edit-save:hover:not(:disabled) { background: #15803d; }

/* dashboard — Health & expiry + alert history (2026-06-26) */
.dash-stat-n.stat-warn { color: #b45309; }
.dash-trends-h { margin-top: 28px; }
.health-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.health-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow); padding: 14px 16px; }
.health-host { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 10px; word-break: break-all; }
.uptime-strip { display: flex; flex-wrap: wrap; gap: 3px; min-height: 14px; margin-bottom: 13px; }
.up-dot { width: 9px; height: 14px; border-radius: 2px; background: #cbd5e1; display: inline-block; }
.up-ok { background: var(--ok); }
.up-warn { background: #f59e0b; }
.up-down { background: var(--err); }
.up-na { background: #cbd5e1; }
.health-none { font-size: 12px; color: var(--muted); }
.health-rows { display: flex; flex-direction: column; gap: 7px; }
.health-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.hr-l { color: var(--muted); font-weight: 500; }
.hr-v { font-weight: 600; color: var(--text); }
.hr-muted { color: var(--text-soft); font-weight: 500; font-size: 12px; }
.exp-green { color: var(--ok); }
.exp-amber { color: #b45309; }
.exp-red { color: var(--err); }
.exp-na { color: var(--muted); }
.dash-alerts .alert-change { font-size: 13px; color: var(--text); padding: 2px 0; }
.dash-alerts .alert-change::before { content: "• "; color: var(--accent); }
.dash-noalerts { padding: 14px 2px; }

.dc-item { position: relative; }
.dc-cover { position: absolute; inset: 0; z-index: 2; }
.dc-item.dc-pro { cursor: pointer; }
.dc-item-open { background: #eff6ff !important; border-bottom-color: transparent; }
.dc-cta-row { list-style: none; margin: 0; padding: 0; border: 0; background: transparent; }
.ss-cta-dc { margin: 6px 14px 13px; padding: 13px 14px 15px; font-size: 13px; }
.ss-cta-dc .ss-cta-link { margin-top: 11px; padding: 9px 12px; font-size: 15px; }
.sec-ico { width: 22px; height: 22px; margin-right: 11px; vertical-align: -5px; flex: none; overflow: visible; }
.sec-ico path, .sec-ico circle, .sec-ico rect, .sec-ico line, .sec-ico polyline, .sec-ico polygon, .sec-ico ellipse { stroke: url(#secGrad); fill: none; }
.dc-ico .sec-ico { width: 18px; height: 18px; margin: 0; vertical-align: 0; }
.promo-card .card-body { padding: 0 !important; }

/* ===== Modern Signin Page Experience ===== */
.signin-container-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
    overflow: hidden;
    height: 100%;
}
.signin-card-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    margin: 0 !important;
}
.signin-form-pane {
    flex: 1 1 50% !important;
    min-width: 300px !important;
    padding: 44px 40px !important;
    background: #ffffff !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    box-sizing: border-box !important;
}
.signin-features-pane {
    flex: 1 1 50% !important;
    min-width: 300px !important;
    padding: 44px 40px !important;
    background: #f8fafc !important;
    border-left: 1px solid #e2e8f0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
}
.signin-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #eff6ff;
    color: #0866ff;
    border: 1px solid #bfdbfe;
    font-size: 11.5px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 16px;
    align-self: flex-start;
}
.auth-h1 {
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 8px !important;
    letter-spacing: -.02em !important;
}
.auth-lead {
    font-size: 14px !important;
    color: #64748b !important;
    line-height: 1.55 !important;
    margin-bottom: 22px !important;
}
.auth-label {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
    display: block;
}
.auth-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.auth-input-icon {
    position: absolute;
    left: 14px;
    color: #94a3b8;
    pointer-events: none;
    z-index: 2;
}
.auth-input {
    height: 48px !important;
    border-radius: 10px !important;
    border: 1.5px solid #cbd5e1 !important;
    padding-left: 42px !important;
    font-size: 15px !important;
    font-weight: 500;
    color: #0f172a !important;
    background: #ffffff !important;
    transition: all .15s ease;
}
.auth-input:focus {
    border-color: #0866ff !important;
    box-shadow: 0 0 0 3px rgba(8, 102, 255, 0.14) !important;
}
.auth-submit-btn {
    height: 48px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    background: linear-gradient(135deg, #0866ff 0%, #0052cc 100%) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(8, 102, 255, 0.3) !important;
    transition: all .15s ease;
}
.auth-submit-btn:hover {
    background: linear-gradient(135deg, #0052cc 0%, #003d99 100%) !important;
    box-shadow: 0 6px 18px rgba(8, 102, 255, 0.4) !important;
    transform: translateY(-1px);
    color: #ffffff !important;
}
.auth-trust-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #f1f5f9;
    flex-wrap: wrap;
    gap: 8px;
}
.trust-item {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Features Side Pane */
.features-pane-title {
    font-size: 18px;
    font-weight: 750;
    color: #0f172a;
    margin-bottom: 6px;
    letter-spacing: -.01em;
}
.features-pane-subtitle {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 22px;
}
.signin-benefit-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.signin-benefit-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.benefit-icon-chip {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #0866ff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.benefit-text h4 {
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 3px;
}
.benefit-text p {
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.45;
    margin: 0;
}
.signin-quote-box {
    margin-top: 22px;
    padding: 14px 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}
.quote-stars {
    color: #f59e0b;
    font-size: 13px;
    margin-bottom: 4px;
    letter-spacing: 2px;
}
.quote-text {
    font-size: 12px;
    color: #475569;
    font-style: italic;
    line-height: 1.45;
    margin: 0;
}

/* Code verification state */
.auth-btnrow {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}
.btn-resend {
    background: #f1f5f9 !important;
    color: #334155 !important;
    border: 1px solid #cbd5e1 !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    padding: 10px 16px !important;
    transition: all .15s ease;
}
.btn-resend:hover:not(:disabled) {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}

/* Header in Signin / App Shell */
.app-header {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.app-headrow {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 15px !important;
}
.auth-signin-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    padding: 7px 16px !important;
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 24px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    text-decoration: none !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05) !important;
    transition: all .2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.auth-signin-btn:hover {
    background: #eff6ff !important;
    color: #0866ff !important;
    border-color: #93c5fd !important;
    box-shadow: 0 4px 12px rgba(8, 102, 255, 0.18) !important;
    transform: translateY(-1px);
    text-decoration: none !important;
}
.auth-signin-btn .auth-btn-icon {
    color: #0866ff;
}

/* Responsive Tablet & Mobile */
@media (max-width: 991.98px) {
    .promo-aside {
        margin-top: 1.5rem;
    }
}
@media (max-width: 767.98px) {
    .signin-form-pane {
        padding: 26px 20px;
    }
    .signin-features-pane {
        border-left: 0;
        border-top: 1px solid #e2e8f0;
        padding: 26px 20px;
    }
    .app-logo img {
        max-height: 38px;
        width: auto;
    }
    .auth-signin-btn {
        padding: 6px 12px !important;
        font-size: 12px !important;
    }
}

/* Auth How-it-works micro-flow & promo overrides */
.auth-how-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    margin-top: 24px;
}
.how-box-title {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.how-steps-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}
.how-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}
.how-step-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #eff6ff;
    color: #0866ff;
    font-weight: 700;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #bfdbfe;
    margin-bottom: 6px;
}
.how-step span {
    font-size: 11px;
    font-weight: 600;
    color: #334155;
    line-height: 1.25;
}
.how-step-arrow {
    color: #cbd5e1;
    font-size: 14px;
    font-weight: 700;
    margin-top: -14px;
}

.sidebar-card,
aside .sidebar-card,
aside .card:not(.promo-carousel):not(#promo_carousel) {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05) !important;
}

.promo-carousel,
#promo_carousel,
.ss-cta-promo .promo-carousel,
.promo-card.promo-carousel,
aside .promo-carousel,
aside #promo_carousel {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
    border: 1px solid #334155 !important;
    border-radius: 14px !important;
    color: #ffffff !important;
    padding: 20px 18px 16px !important;
    overflow: hidden !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18) !important;
    margin-top: 14px !important;
    margin-bottom: 0 !important;
    display: block !important;
}

.promo-carousel .promo-eyebrow,
.promo-slide .promo-eyebrow,
.promo-eyebrow {
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: .6px !important;
    text-transform: uppercase !important;
    color: #38bdf8 !important;
    background: rgba(56, 189, 248, 0.15) !important;
    border: 1px solid rgba(56, 189, 248, 0.35) !important;
    padding: 2px 8px !important;
    border-radius: 12px !important;
    display: inline-block !important;
    margin-bottom: 8px !important;
    line-height: 1.4 !important;
    opacity: 1 !important;
}

.promo-carousel h3,
.promo-slide h3,
#promo_carousel h3 {
    font-size: 17px !important;
    font-weight: 750 !important;
    margin: 4px 0 8px !important;
    color: #ffffff !important;
    line-height: 1.3 !important;
}

.promo-carousel p,
.promo-slide p,
#promo_carousel p {
    font-size: 13px !important;
    line-height: 1.5 !important;
    color: #94a3b8 !important;
    margin: 0 0 14px !important;
    opacity: 1 !important;
}

.promo-carousel .promo-cta,
.promo-slide .promo-cta,
.promo-cta {
    display: inline-block !important;
    background: #0866ff !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 12.5px !important;
    padding: 7px 18px !important;
    border-radius: 20px !important;
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(8, 102, 255, 0.35) !important;
    transition: all .2s ease !important;
}

.promo-carousel .promo-cta:hover,
.promo-slide .promo-cta:hover,
.promo-cta:hover {
    background: #0052cc !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(8, 102, 255, 0.5) !important;
    text-decoration: none !important;
}

.promo-carousel .promo-dots,
.promo-dots {
    display: flex !important;
    gap: 6px !important;
    margin-top: 14px !important;
    align-items: center !important;
}

.promo-carousel .promo-dots span,
.promo-dots span {
    width: 7px !important;
    height: 7px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.25) !important;
    transition: all .25s ease !important;
    display: inline-block !important;
    cursor: pointer !important;
}

.promo-carousel .promo-dots span.is-active,
.promo-dots span.is-active {
    background: #38bdf8 !important;
    width: 18px !important;
    border-radius: 4px !important;
}

