/* ============================================================
   Onboarding intro modal — "Let's get you started".
   Independent post-signup welcome modal (NOT part of the demo).
   Full-screen backdrop; pixel-matched to the React prototype.
   ============================================================ */

#sd-intro-backdrop {
    position: fixed;
    inset: 0;
    z-index: 100001; /* above everything, incl. dashboard header */
    background: rgba(10, 10, 10, 0.5);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'sd-avenir', 'Nunito', system-ui, sans-serif;
    animation: sdIntroBackdropIn 0.25s ease both;
}
@keyframes sdIntroBackdropIn { from { opacity: 0; } to { opacity: 1; } }

.sd-intro-card {
    width: 480px;
    background: #FFFFFF;
    border-radius: 24px;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    position: relative;
    animation: sdIntroIn 0.4s cubic-bezier(0.34, 1.15, 0.64, 1) both;
}
@keyframes sdIntroIn { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: scale(1); } }

.sd-intro-close {
    position: absolute; top: 16px; right: 16px;
    width: 36px; height: 36px; border-radius: 50%;
    border: none; background: transparent; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    z-index: 2; transition: background 0.15s;
}
.sd-intro-close:hover { background: #F4F4F5; }
.sd-intro-close .material-symbols-outlined { font-size: 24px !important; color: #525252; }

.sd-intro-top { padding: 56px 44px 0; text-align: center; }
.sd-intro-logo { display: flex; justify-content: center; margin-bottom: 40px; }
.sd-intro-logo img { height: 34px; width: auto; display: block; }
.sd-intro-title { font-weight: 800; font-size: 26px; color: #0A0A0A; line-height: 1.2; margin-bottom: 16px; }
.sd-intro-body { font-weight: 400; font-size: 16px; color: #404040; line-height: 1.55; max-width: 400px; margin: 0 auto; }
.sd-intro-spacer { height: 40px; }

/* Abstract stacked cards */
.sd-intro-cards { padding: 0 44px; position: relative; height: 180px; }
.sd-intro-cardrow { position: absolute; display: flex; align-items: center; border-radius: 12px; }
.sd-intro-card-dot { border-radius: 50%; flex-shrink: 0; }
.sd-intro-card-bars { flex: 1; display: flex; flex-direction: column; }
.sd-intro-card-tag { border-radius: 6px; padding: 4px 10px; font-weight: 600; font-size: 11px; }

.sd-intro-actions { padding: 32px 44px 40px; text-align: center; }
.sd-intro-cta {
    width: 100%; height: 50px;
    background: #008062; border: none; border-radius: 14px;
    cursor: pointer; font-weight: 600; font-size: 16px; color: #FFFFFF;
    margin-bottom: 16px; font-family: inherit; transition: background 0.15s;
}
.sd-intro-cta:hover { background: #006B52; }
.sd-intro-skip { background: none; border: none; cursor: pointer; font-weight: 500; font-size: 15px; color: #525252; font-family: inherit; transition: color 0.15s; }
.sd-intro-skip:hover { color: #0A0A0A; }

/* ── Dark mode ──────────────────────────────────────────── */
[data-theme="dark"] .sd-intro-card { background: var(--common-background); }
[data-theme="dark"] .sd-intro-title { color: var(--sd-neutral-900); }
[data-theme="dark"] .sd-intro-body { color: var(--sd-neutral-500); }
[data-theme="dark"] .sd-intro-close .material-symbols-outlined { color: var(--sd-neutral-500); }
[data-theme="dark"] .sd-intro-close:hover { background: var(--sd-neutral-200); }
[data-theme="dark"] .sd-intro-skip { color: var(--sd-neutral-500); }
[data-theme="dark"] .sd-intro-skip:hover { color: var(--sd-neutral-900); }
