/* ==========================================================================
   Snowpage Events – Dashboard CSS (Light Theme)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --sp-bg:          #f5f7fa;
    --sp-surface:     #ffffff;
    --sp-surface-2:   #f8fafc;
    --sp-border:      #e2e8f0;
    --sp-border-lt:   #f1f5f9;
    --sp-primary:     #3b82f6;
    --sp-primary-lt:  #eff6ff;
    --sp-primary-dk:  #2563eb;
    --sp-accent:      #8b5cf6;
    --sp-green:       #10b981;
    --sp-green-lt:    #ecfdf5;
    --sp-red:         #ef4444;
    --sp-red-lt:      #fef2f2;
    --sp-yellow:      #f59e0b;
    --sp-yellow-lt:   #fffbeb;
    --sp-text:        #0f172a;
    --sp-text-2:      #475569;
    --sp-text-3:      #94a3b8;
    --sp-sidebar-w:   256px;
    --sp-radius:      10px;
    --sp-radius-sm:   6px;
    --sp-shadow:      0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
    --sp-shadow-md:   0 4px 16px rgba(0,0,0,.08);
    --sp-font:        'Inter', system-ui, -apple-system, sans-serif;
}

html, body { height: 100%; }
/* Force override any WP theme styles */
body.sp-dashboard { background: var(--sp-bg) !important; color: var(--sp-text) !important; font-family: var(--sp-font) !important; }
body { font-family: var(--sp-font); background: var(--sp-bg); color: var(--sp-text); font-size: 14px; line-height: 1.6; }
a { color: var(--sp-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

/* ── Layout ─────────────────────────────────────────────────────────────── */
#sp-dashboard-root { display: flex; min-height: 100vh; }

/* ── Sidebar ────────────────────────────────────────────────────────────── */
.sp-sidebar {
    width: var(--sp-sidebar-w);
    background: #ffffff;
    border-right: 1px solid var(--sp-border);
    display: flex; flex-direction: column;
    position: fixed; top: 0; left: 0; height: 100vh;
    z-index: 100; overflow-y: auto;
}

.sp-sidebar-logo {
    padding: 1.25rem 1.25rem 1rem;
    border-bottom: 1px solid var(--sp-border-lt);
}
.sp-sidebar-logo a { display: flex; align-items: center; gap: .5rem; text-decoration: none; }
.sp-logo-icon  { font-size: 1.4rem; }
.sp-logo-text  { font-size: 1rem; font-weight: 800; color: var(--sp-text); letter-spacing: -.02em; }

.sp-sidebar-user {
    display: flex; align-items: center; gap: .75rem;
    padding: .85rem 1.25rem;
    border-bottom: 1px solid var(--sp-border-lt);
}
.sp-user-avatar {
    width: 36px; height: 36px; border-radius: 50%;
    background: linear-gradient(135deg, var(--sp-primary), var(--sp-accent));
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: .85rem; flex-shrink: 0;
}
.sp-user-name  { font-weight: 600; font-size: .88rem; color: var(--sp-text); }
.sp-user-plan  { font-size: .75rem; color: var(--sp-text-3); }

.sp-sidebar-nav { padding: .75rem .75rem; flex: 1; }
.sp-nav-section { margin-bottom: 1.25rem; }
.sp-nav-section-label {
    font-size: .68rem; font-weight: 700; letter-spacing: .08em;
    text-transform: uppercase; color: var(--sp-text-3);
    padding: 0 .5rem; margin-bottom: .35rem;
}
.sp-sidebar-nav a {
    display: flex; align-items: center; gap: .6rem;
    padding: .5rem .75rem; border-radius: var(--sp-radius-sm);
    color: var(--sp-text-2); font-size: .88rem; font-weight: 500;
    text-decoration: none; transition: all .12s;
    margin-bottom: .1rem;
}
.sp-sidebar-nav a:hover { background: var(--sp-bg); color: var(--sp-text); text-decoration: none; }
.sp-sidebar-nav a.active { background: var(--sp-primary-lt); color: var(--sp-primary); font-weight: 600; }
.sp-sidebar-nav a.active .sp-nav-icon { filter: none; }
.sp-nav-icon { font-size: 1rem; width: 20px; text-align: center; flex-shrink: 0; }
.sp-nav-badge {
    margin-left: auto; background: var(--sp-red); color: #fff;
    font-size: .65rem; font-weight: 700; padding: .1rem .4rem;
    border-radius: 999px; min-width: 18px; text-align: center;
}

.sp-sidebar-footer {
    padding: .75rem 1.25rem 1rem;
    border-top: 1px solid var(--sp-border-lt);
}
.sp-sidebar-footer a {
    display: flex; align-items: center; gap: .5rem;
    font-size: .82rem; color: var(--sp-text-3); text-decoration: none;
    padding: .35rem 0; transition: color .12s;
}
.sp-sidebar-footer a:hover { color: var(--sp-text); }

/* ── Topbar ─────────────────────────────────────────────────────────────── */
.sp-topbar {
    position: sticky; top: 0; z-index: 50;
    background: #ffffff; border-bottom: 1px solid var(--sp-border);
    padding: .75rem 1.75rem;
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem;
}
.sp-topbar-left { display: flex; align-items: center; gap: .75rem; }
.sp-breadcrumb { display: flex; align-items: center; gap: .35rem; font-size: .85rem; }
.sp-breadcrumb a { color: var(--sp-text-3); text-decoration: none; }
.sp-breadcrumb a:hover { color: var(--sp-primary); }
.sp-breadcrumb span { color: var(--sp-text-3); }
.sp-breadcrumb strong { color: var(--sp-text); font-weight: 600; }
.sp-topbar-right { display: flex; align-items: center; gap: .75rem; }

/* ── Main Content ───────────────────────────────────────────────────────── */
.sp-main-content { margin-left: var(--sp-sidebar-w); flex: 1; display: flex; flex-direction: column; min-height: 100vh; }
.sp-content-inner { padding: 1.75rem; max-width: 1100px; width: 100%; flex: 1; }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.sp-btn {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .5rem 1rem; border-radius: var(--sp-radius-sm);
    font-family: var(--sp-font); font-size: .85rem; font-weight: 600;
    cursor: pointer; border: none; text-decoration: none;
    transition: all .12s; white-space: nowrap; line-height: 1.4;
}
.sp-btn:hover { text-decoration: none; }
.sp-btn-primary  { background: var(--sp-primary);    color: #fff; }
.sp-btn-primary:hover  { background: var(--sp-primary-dk); }
.sp-btn-secondary { background: var(--sp-bg); border: 1px solid var(--sp-border); color: var(--sp-text-2); }
.sp-btn-secondary:hover { background: var(--sp-border-lt); color: var(--sp-text); }
.sp-btn-danger   { background: var(--sp-red-lt); color: var(--sp-red); border: 1px solid #fecaca; }
.sp-btn-danger:hover { background: #fee2e2; }
.sp-btn-success  { background: var(--sp-green-lt); color: var(--sp-green); border: 1px solid #a7f3d0; }
.sp-btn-upgrade  { background: linear-gradient(135deg, #7c3aed, #4f46e5); color: #fff; }
.sp-btn-upgrade:hover { opacity: .9; box-shadow: 0 4px 12px rgba(124,58,237,.3); }
.sp-btn-sm       { padding: .3rem .7rem; font-size: .78rem; }
.sp-btn-lg       { padding: .65rem 1.4rem; font-size: .95rem; border-radius: var(--sp-radius); }
.sp-btn-full     { width: 100%; justify-content: center; }
.sp-btn[disabled]{ opacity: .5; cursor: not-allowed; }
.sp-btn-icon     { padding: .4rem; border-radius: var(--sp-radius-sm); }

/* ── Cards ──────────────────────────────────────────────────────────────── */
.sp-card {
    background: #ffffff;
    border: 1px solid var(--sp-border);
    border-radius: var(--sp-radius);
    box-shadow: var(--sp-shadow);
}
.sp-card-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--sp-border-lt);
    display: flex; align-items: center; justify-content: space-between; gap: .75rem;
}
.sp-card-title  { font-size: .95rem; font-weight: 700; color: var(--sp-text); }
.sp-card-body   { padding: 1.25rem; }

/* ── Stat Cards ─────────────────────────────────────────────────────────── */
.sp-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
@media (max-width:900px) { .sp-stat-grid { grid-template-columns: repeat(2,1fr); } }
.sp-stat-card {
    background: #ffffff; border: 1px solid var(--sp-border);
    border-radius: var(--sp-radius); padding: 1.1rem 1.25rem;
    box-shadow: var(--sp-shadow);
}
.sp-stat-label  { font-size: .75rem; font-weight: 600; color: var(--sp-text-3); text-transform: uppercase; letter-spacing: .05em; margin-bottom: .25rem; }
.sp-stat-value  { font-size: 1.75rem; font-weight: 800; color: var(--sp-text); line-height: 1; }
.sp-stat-sub    { font-size: .75rem; color: var(--sp-text-3); margin-top: .25rem; }
.sp-stat-card.green .sp-stat-value { color: var(--sp-green); }
.sp-stat-card.blue  .sp-stat-value { color: var(--sp-primary); }
.sp-stat-card.red   .sp-stat-value { color: var(--sp-red); }
.sp-stat-card.purple .sp-stat-value { color: var(--sp-accent); }

/* ── Page Header ────────────────────────────────────────────────────────── */
.sp-page-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.sp-page-title  { font-size: 1.3rem; font-weight: 800; color: var(--sp-text); }
.sp-page-subtitle { font-size: .85rem; color: var(--sp-text-3); margin-top: .2rem; }
.sp-page-actions { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }

/* ── Badges ─────────────────────────────────────────────────────────────── */
.sp-badge { display: inline-flex; align-items: center; gap: .25rem; padding: .2rem .6rem; border-radius: 999px; font-size: .72rem; font-weight: 700; }
.sp-badge-green  { background: var(--sp-green-lt);  color: var(--sp-green); }
.sp-badge-blue   { background: var(--sp-primary-lt); color: var(--sp-primary); }
.sp-badge-red    { background: var(--sp-red-lt);    color: var(--sp-red); }
.sp-badge-yellow { background: var(--sp-yellow-lt); color: var(--sp-yellow); }
.sp-badge-grey   { background: #f1f5f9; color: #64748b; }
.sp-badge-purple { background: #f3e8ff; color: #7c3aed; }

/* ── Forms ──────────────────────────────────────────────────────────────── */
.sp-form-group    { margin-bottom: 1rem; }
.sp-form-group label { display: block; font-size: .82rem; font-weight: 600; color: var(--sp-text-2); margin-bottom: .35rem; }
.sp-form-group input,
.sp-form-group select,
.sp-form-group textarea {
    width: 100%; padding: .55rem .85rem;
    background: #ffffff; border: 1.5px solid var(--sp-border);
    border-radius: var(--sp-radius-sm); color: var(--sp-text);
    font-family: var(--sp-font); font-size: .9rem; outline: none;
    transition: border-color .12s, box-shadow .12s;
}
.sp-form-group input:focus,
.sp-form-group select:focus,
.sp-form-group textarea:focus {
    border-color: var(--sp-primary);
    box-shadow: 0 0 0 3px rgba(59,130,246,.1);
}
.sp-form-group textarea { resize: vertical; min-height: 80px; }
.sp-form-hint { font-size: .77rem; color: var(--sp-text-3); margin-top: .3rem; }
.sp-form-row  { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width:600px) { .sp-form-row { grid-template-columns: 1fr; } }

/* ── Toggle Switch ──────────────────────────────────────────────────────── */
.sp-toggle-wrap { display: flex; align-items: center; justify-content: space-between; padding: .75rem 0; border-bottom: 1px solid var(--sp-border-lt); }
.sp-toggle-wrap:last-child { border-bottom: none; }
.sp-toggle-info h4 { font-size: .88rem; font-weight: 600; }
.sp-toggle-info p  { font-size: .78rem; color: var(--sp-text-3); }
.sp-toggle { position: relative; width: 40px; height: 22px; flex-shrink: 0; }
.sp-toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
.sp-toggle-slider {
    position: absolute; inset: 0; background: #cbd5e1; border-radius: 999px;
    cursor: pointer; transition: background .15s;
}
.sp-toggle-slider::before {
    content: ''; position: absolute; width: 16px; height: 16px;
    background: #fff; border-radius: 50%; left: 3px; top: 3px;
    transition: transform .15s; box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.sp-toggle input:checked + .sp-toggle-slider { background: var(--sp-primary); }
.sp-toggle input:checked + .sp-toggle-slider::before { transform: translateX(18px); }

/* ── Tables ─────────────────────────────────────────────────────────────── */
.sp-table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.sp-table th { font-size: .75rem; font-weight: 700; color: var(--sp-text-3); text-transform: uppercase; letter-spacing: .05em; padding: .65rem 1rem; text-align: left; border-bottom: 1px solid var(--sp-border); background: var(--sp-surface-2); }
.sp-table td { padding: .75rem 1rem; border-bottom: 1px solid var(--sp-border-lt); color: var(--sp-text-2); vertical-align: middle; }
.sp-table tr:last-child td { border-bottom: none; }
.sp-table tr:hover td { background: var(--sp-bg); }

/* ── Module Cards ───────────────────────────────────────────────────────── */
.sp-module-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.sp-module-card {
    background: #ffffff; border: 1.5px solid var(--sp-border);
    border-radius: var(--sp-radius); padding: 1.1rem 1.25rem;
    display: flex; flex-direction: column; gap: .6rem;
    transition: border-color .12s;
}
.sp-module-card.active { border-color: var(--sp-primary); }
.sp-module-card.locked { opacity: .5; }
.sp-module-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: .5rem; }
.sp-module-icon  { font-size: 1.5rem; }
.sp-module-title { font-size: .9rem; font-weight: 700; }
.sp-module-desc  { font-size: .78rem; color: var(--sp-text-3); line-height: 1.5; }
.sp-module-lock  { font-size: .72rem; color: var(--sp-text-3); display: flex; align-items: center; gap: .25rem; }

/* ── Guest List ─────────────────────────────────────────────────────────── */
.sp-guest-avatar-sm {
    width: 32px; height: 32px; border-radius: 50%; object-fit: cover;
    background: linear-gradient(135deg, var(--sp-primary), var(--sp-accent));
    display: flex; align-items: center; justify-content: center;
    font-size: .75rem; font-weight: 700; color: #fff; flex-shrink: 0;
}

/* ── Moderation Grid ────────────────────────────────────────────────────── */
.sp-mod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; }
.sp-mod-item { border: 1px solid var(--sp-border); border-radius: var(--sp-radius); overflow: hidden; }
.sp-mod-img  { width: 100%; aspect-ratio: 1; object-fit: cover; }
.sp-mod-footer { padding: .5rem .6rem; display: flex; flex-direction: column; gap: .4rem; background: #ffffff; }
.sp-mod-meta { font-size: .72rem; color: var(--sp-text-3); }

/* ── Upgrade Banner ─────────────────────────────────────────────────────── */
.sp-upgrade-banner {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    border-radius: var(--sp-radius); padding: 1.25rem 1.5rem;
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; color: #fff; margin-bottom: 1.5rem;
    flex-wrap: wrap;
}
.sp-upgrade-banner h3 { font-size: 1rem; font-weight: 700; margin-bottom: .2rem; }
.sp-upgrade-banner p  { font-size: .82rem; opacity: .85; }
.sp-upgrade-btn { background: rgba(255,255,255,.2); border: 1.5px solid rgba(255,255,255,.4); color: #fff; padding: .5rem 1.1rem; border-radius: var(--sp-radius-sm); font-size: .85rem; font-weight: 700; cursor: pointer; white-space: nowrap; transition: background .12s; text-decoration: none; display: inline-flex; align-items: center; gap: .3rem; }
.sp-upgrade-btn:hover { background: rgba(255,255,255,.3); text-decoration: none; color: #fff; }

/* ── Pricing Cards ──────────────────────────────────────────────────────── */
.sp-price-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem; }
.sp-price-card {
    background: #ffffff; border: 1.5px solid var(--sp-border);
    border-radius: var(--sp-radius); padding: 1.5rem;
    display: flex; flex-direction: column; gap: .75rem; position: relative;
}
.sp-price-card.current { border-color: var(--sp-primary); }
.sp-price-card.popular { border-color: var(--sp-accent); }
.sp-current-tag { position: absolute; top: -10px; left: 1rem; background: var(--sp-primary); color: #fff; font-size: .68rem; font-weight: 800; padding: .15rem .6rem; border-radius: 999px; }
.sp-popular-tag { position: absolute; top: -10px; left: 1rem; background: var(--sp-accent); color: #fff; font-size: .68rem; font-weight: 800; padding: .15rem .6rem; border-radius: 999px; }
.sp-price-name   { font-size: 1rem; font-weight: 800; }
.sp-price-amount { font-size: 2rem; font-weight: 900; color: var(--sp-text); }
.sp-price-amount span { font-size: .85rem; font-weight: 400; color: var(--sp-text-3); }
.sp-price-feats  { list-style: none; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.sp-price-feats li { font-size: .82rem; color: var(--sp-text-2); display: flex; gap: .4rem; }
.sp-price-feats li::before { content: '✓'; color: var(--sp-green); font-weight: 700; }
.sp-price-feats li.off { color: var(--sp-text-3); }
.sp-price-feats li.off::before { content: '–'; color: var(--sp-border); }

/* ── Notices ────────────────────────────────────────────────────────────── */
.sp-notice { padding: .75rem 1rem; border-radius: var(--sp-radius-sm); font-size: .85rem; margin-bottom: 1rem; display: flex; align-items: flex-start; gap: .5rem; }
.sp-notice-success { background: var(--sp-green-lt);  border: 1px solid #a7f3d0; color: #065f46; }
.sp-notice-error   { background: var(--sp-red-lt);    border: 1px solid #fecaca; color: #991b1b; }
.sp-notice-info    { background: var(--sp-primary-lt); border: 1px solid #bfdbfe; color: #1e40af; }
.sp-notice-warning { background: var(--sp-yellow-lt); border: 1px solid #fde68a; color: #92400e; }

/* ── Empty State ────────────────────────────────────────────────────────── */
.sp-empty { text-align: center; padding: 3.5rem 2rem; color: var(--sp-text-3); }
.sp-empty-icon { font-size: 3rem; margin-bottom: .75rem; }
.sp-empty h3   { font-size: 1rem; font-weight: 700; color: var(--sp-text-2); margin-bottom: .3rem; }
.sp-empty p    { font-size: .85rem; }

/* ── Event Cards (home) ─────────────────────────────────────────────────── */
.sp-event-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; }
.sp-event-card {
    background: #ffffff; border: 1.5px solid var(--sp-border);
    border-radius: var(--sp-radius); padding: 1.25rem;
    display: flex; flex-direction: column; gap: .85rem;
    box-shadow: var(--sp-shadow); transition: border-color .12s, box-shadow .12s;
}
.sp-event-card:hover { border-color: var(--sp-primary); box-shadow: var(--sp-shadow-md); }
.sp-event-card-title { font-size: 1rem; font-weight: 700; }
.sp-event-meta  { display: flex; flex-wrap: wrap; gap: .4rem .85rem; }
.sp-event-meta span { font-size: .78rem; color: var(--sp-text-3); display: flex; align-items: center; gap: .25rem; }
.sp-event-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: .4rem; }
.sp-es-item { background: var(--sp-bg); border-radius: var(--sp-radius-sm); padding: .4rem .3rem; text-align: center; }
.sp-es-val  { display: block; font-size: 1.1rem; font-weight: 800; }
.sp-es-lbl  { display: block; font-size: .62rem; color: var(--sp-text-3); margin-top: .1rem; }
.sp-es-item.g .sp-es-val { color: var(--sp-green); }
.sp-es-item.r .sp-es-val { color: var(--sp-red); }
.sp-es-item.y .sp-es-val { color: var(--sp-yellow); }
.sp-event-actions { display: flex; gap: .5rem; margin-top: auto; flex-wrap: wrap; }

/* ── Spinner ────────────────────────────────────────────────────────────── */
.sp-spinner { width: 14px; height: 14px; border: 2px solid var(--sp-border); border-top-color: var(--sp-primary); border-radius: 50%; animation: spSpin .6s linear infinite; display: inline-block; }
@keyframes spSpin { to { transform: rotate(360deg); } }

/* ── Toast ──────────────────────────────────────────────────────────────── */
.sp-toast { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 9999; padding: .7rem 1rem; border-radius: var(--sp-radius-sm); font-size: .85rem; font-weight: 600; display: flex; align-items: center; gap: .4rem; box-shadow: var(--sp-shadow-md); animation: spToastIn .2s ease; }
.sp-toast-success { background: var(--sp-green-lt); border: 1px solid #a7f3d0; color: #065f46; }
.sp-toast-error   { background: var(--sp-red-lt); border: 1px solid #fecaca; color: #991b1b; }
@keyframes spToastIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .sp-sidebar { transform: translateX(-100%); transition: transform .2s; }
    .sp-sidebar.open { transform: translateX(0); box-shadow: 4px 0 20px rgba(0,0,0,.1); }
    .sp-main-content { margin-left: 0; }
    .sp-content-inner { padding: 1rem; }
    .sp-stat-grid { grid-template-columns: repeat(2,1fr); }
    .sp-event-stats { grid-template-columns: repeat(2,1fr); }
}

/* ── WP-Theme Override: verhindert dass WP-Themes das Dashboard-Layout brechen ── */
body.sp-dashboard * { box-sizing: border-box; }
body.sp-dashboard a { text-decoration: none; }
body.sp-dashboard a:hover { text-decoration: none; }
body.sp-dashboard h1, body.sp-dashboard h2, body.sp-dashboard h3,
body.sp-dashboard h4, body.sp-dashboard p { margin: 0; padding: 0; }
body.sp-dashboard input, body.sp-dashboard select, body.sp-dashboard textarea, body.sp-dashboard button {
    font-family: var(--sp-font);
}

/* ── Login Page ──────────────────────────────────────────────────────────── */
body.sp-login-page {
    margin: 0; padding: 0;
    min-height: 100vh;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--sp-font, 'Inter', system-ui, sans-serif);
    position: relative; overflow: hidden;
}
body.sp-login-page::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 30% 40%, rgba(99,102,241,.15) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 70%, rgba(168,85,247,.1) 0%, transparent 60%);
    pointer-events: none;
}
.sp-login-wrapper {
    width: 100%; max-width: 420px; padding: 1.5rem;
    position: relative; z-index: 1;
}
.sp-login-card {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 25px 60px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.05);
}
.sp-login-logo { text-align: center; margin-bottom: 2rem; }
.sp-logo-icon-large { font-size: 2.5rem; display: block; margin-bottom: .4rem; animation: logoFloat 3s ease-in-out infinite; }
@keyframes logoFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-5px)} }
.sp-login-logo h1 { font-size: 1.5rem; font-weight: 800; color: #fff; letter-spacing: -.03em; margin: 0 0 .25rem; }
.sp-login-logo p { color: rgba(255,255,255,.5); font-size: .85rem; margin: 0; }

.sp-login-card .sp-form-group { margin-bottom: 1rem; }
.sp-login-card .sp-form-group label { display: block; font-size: .8rem; font-weight: 600; color: rgba(255,255,255,.55); margin-bottom: .35rem; }
.sp-login-card .sp-form-group input {
    width: 100%; padding: .65rem .95rem;
    background: rgba(255,255,255,.07); border: 1.5px solid rgba(255,255,255,.12);
    border-radius: 10px; color: #fff; font-family: inherit; font-size: .95rem;
    outline: none; transition: border-color .15s, background .15s;
}
.sp-login-card .sp-form-group input:focus {
    border-color: #818cf8; background: rgba(255,255,255,.1);
}
.sp-login-card .sp-form-group input::placeholder { color: rgba(255,255,255,.25); }

.sp-login-btn {
    width: 100%; padding: .75rem 1.5rem; margin-top: .5rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff; border: none; border-radius: 10px;
    font-family: inherit; font-size: 1rem; font-weight: 700;
    cursor: pointer; transition: all .18s; letter-spacing: .01em;
    box-shadow: 0 4px 20px rgba(99,102,241,.4);
}
.sp-login-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(99,102,241,.5); }
.sp-login-btn:active { transform: translateY(0); }
.sp-login-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.sp-login-footer {
    text-align: center; margin-top: 1.75rem;
    color: rgba(255,255,255,.35); font-size: .78rem;
}
.sp-login-footer a { color: rgba(255,255,255,.5); text-decoration: none; }
.sp-login-footer a:hover { color: #a5b4fc; }

.sp-login-divider {
    display: flex; align-items: center; gap: .75rem;
    color: rgba(255,255,255,.2); font-size: .75rem; margin: 1rem 0;
}
.sp-login-divider::before, .sp-login-divider::after {
    content: ''; flex: 1; height: 1px; background: rgba(255,255,255,.1);
}
