/*
 * ============================================================
 *  ZIPTINY ADMIN — Shopify-Inspired Design System
 *  File: public/css/ziptiny-admin.css
 *  Load AFTER app.css in layouts/app.blade.php
 * ============================================================
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ── Design Tokens ── */
:root {
    /* Shopify palette */
    --sp-bg:        #f6f6f7;
    --sp-surface:   #ffffff;
    --sp-sidebar:   #1a1a2e;
    --sp-sidebar2:  #16213e;
    --sp-nav-text:  rgba(255,255,255,0.65);
    --sp-nav-hover: rgba(255,255,255,0.1);
    --sp-nav-active:#ffffff;
    --sp-nav-accent:#00d4aa;

    --sp-border:    #e3e5e8;
    --sp-border2:   #c9cccf;
    --sp-text:      #202223;
    --sp-text-sub:  #6d7175;
    --sp-text-light:#8c9196;

    --sp-green:     #00d4aa;
    --sp-green2:    #00bfa0;
    --sp-blue:      #0b5fff;
    --sp-red:       #d72c0d;
    --sp-yellow:    #ffc453;
    --sp-purple:    #8456d5;

    --sp-shadow:    0 1px 3px rgba(63,63,68,0.15), 0 0 0 1px rgba(63,63,68,0.05);
    --sp-shadow-md: 0 2px 8px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.04);

    --sp-radius:    8px;
    --sp-radius-sm: 6px;
    --sp-radius-lg: 12px;

    --sp-sidebar-w: 240px;
    --sp-font:      'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ── Base overrides ── */
body { background: var(--sp-bg) !important; font-family: var(--sp-font) !important; color: var(--sp-text) !important; }
* { box-sizing: border-box; }

/* ═══════════════════════════════════════════════
   SIDEBAR
   ═══════════════════════════════════════════════ */
.sp-sidebar {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: var(--sp-sidebar-w);
    background: var(--sp-sidebar);
    display: flex;
    flex-direction: column;
    z-index: 1030;
    transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
    overflow: hidden;
}

/* Sidebar brand */
.sp-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    flex-shrink: 0;
    text-decoration: none;
}

.sp-brand-logo {
    font-family: var(--sp-font);
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.04em;
    line-height: 1;
}

.sp-brand-logo .sp-dot { color: var(--sp-nav-accent); }

.sp-brand-tag {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    margin-top: 3px;
}

/* Sidebar section label */
.sp-nav-section {
    padding: 20px 18px 6px;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    flex-shrink: 0;
}

/* Sidebar nav */
.sp-nav {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 4px 10px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.1) transparent;
}

.sp-nav::-webkit-scrollbar { width: 4px; }
.sp-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 99px; }

.sp-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: var(--sp-radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--sp-nav-text);
    text-decoration: none;
    transition: all 0.15s ease;
    margin-bottom: 1px;
    cursor: pointer;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
}

.sp-nav-item svg { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; opacity: 0.7; }
.sp-nav-item:hover { background: var(--sp-nav-hover); color: #fff; text-decoration: none; }
.sp-nav-item:hover svg { opacity: 1; }
.sp-nav-item.active { background: rgba(0,212,170,0.15); color: var(--sp-nav-accent); }
.sp-nav-item.active svg { opacity: 1; fill: var(--sp-nav-accent); }

/* Sub-menu */
.sp-sub-menu { padding-left: 12px; display: none; }
.sp-sub-menu.open { display: block; }
.sp-sub-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: var(--sp-radius-sm);
    font-size: 0.82rem;
    font-weight: 400;
    color: var(--sp-nav-text);
    text-decoration: none;
    transition: all 0.15s;
    margin-bottom: 1px;
    position: relative;
}
.sp-sub-item::before { content: ''; width: 1px; height: 100%; background: rgba(255,255,255,0.1); position: absolute; left: -4px; top: 0; }
.sp-sub-item:hover { background: var(--sp-nav-hover); color: #fff; text-decoration: none; }
.sp-sub-item.active { color: var(--sp-nav-accent); }

/* Chevron */
.sp-chevron { margin-left: auto; width: 14px; height: 14px; fill: currentColor; opacity: 0.5; transition: transform 0.2s; flex-shrink: 0; }
.sp-nav-item.expanded .sp-chevron { transform: rotate(180deg); }

/* Sidebar footer: user */
.sp-sidebar-footer {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 14px;
    flex-shrink: 0;
}

.sp-user-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: var(--sp-radius-sm);
    cursor: pointer;
    transition: background 0.15s;
    text-decoration: none;
}

.sp-user-row:hover { background: rgba(255,255,255,0.07); text-decoration: none; }

.sp-avatar {
    width: 32px; height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(255,255,255,0.1);
}

.sp-user-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
}

.sp-user-role {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.35);
}

/* Usage bar */
.sp-usage {
    padding: 10px 14px;
    margin-bottom: 4px;
}

.sp-usage-label {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.35);
    margin-bottom: 6px;
}

.sp-usage-track {
    height: 4px;
    background: rgba(255,255,255,0.08);
    border-radius: 99px;
    overflow: hidden;
}

.sp-usage-fill {
    height: 100%;
    background: var(--sp-nav-accent);
    border-radius: 99px;
    transition: width 0.6s ease;
}

/* ═══════════════════════════════════════════════
   TOP BAR
   ═══════════════════════════════════════════════ */
.sp-topbar {
    position: fixed;
    top: 0;
    left: var(--sp-sidebar-w);
    right: 0;
    height: 56px;
    background: var(--sp-surface);
    border-bottom: 1px solid var(--sp-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    z-index: 1020;
}

.sp-topbar-left { display: flex; align-items: center; gap: 16px; }
.sp-topbar-right { display: flex; align-items: center; gap: 8px; }

/* Page title in topbar */
.sp-topbar-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--sp-text);
    letter-spacing: -0.01em;
}

/* Breadcrumb */
.sp-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--sp-text-sub);
}

.sp-breadcrumb a { color: var(--sp-text-sub); text-decoration: none; }
.sp-breadcrumb a:hover { color: var(--sp-text); }
.sp-breadcrumb-sep { width: 14px; height: 14px; fill: var(--sp-text-light); }

/* Topbar buttons */
.sp-topbar-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    font-size: 0.82rem;
    font-weight: 500;
    border-radius: var(--sp-radius-sm);
    border: 1px solid var(--sp-border2);
    background: var(--sp-surface);
    color: var(--sp-text);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s;
}

.sp-topbar-btn:hover { background: var(--sp-bg); color: var(--sp-text); text-decoration: none; }
.sp-topbar-btn svg { width: 14px; height: 14px; fill: currentColor; }

.sp-topbar-btn-primary {
    background: var(--sp-green);
    border-color: var(--sp-green);
    color: #fff;
    font-weight: 600;
}

.sp-topbar-btn-primary:hover { background: var(--sp-green2); border-color: var(--sp-green2); color: #fff; }

/* ═══════════════════════════════════════════════
   MAIN CONTENT AREA
   ═══════════════════════════════════════════════ */
.sp-main {
    margin-left: var(--sp-sidebar-w);
    padding-top: 56px;
    min-height: 100vh;
}

.sp-content {
    padding: 24px;
    max-width: 1200px;
}

.sp-content-full { padding: 24px; }

/* ═══════════════════════════════════════════════
   CARDS
   ═══════════════════════════════════════════════ */
.sp-card {
    background: var(--sp-surface);
    border: 1px solid var(--sp-border);
    border-radius: var(--sp-radius);
    box-shadow: var(--sp-shadow);
    overflow: hidden;
}

.sp-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--sp-border);
    background: var(--sp-surface);
}

.sp-card-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--sp-text);
    letter-spacing: -0.01em;
}

.sp-card-body { padding: 20px; }
.sp-card-footer { padding: 14px 20px; border-top: 1px solid var(--sp-border); background: #fafbfb; }

/* Stat cards */
.sp-stat-card {
    background: var(--sp-surface);
    border: 1px solid var(--sp-border);
    border-radius: var(--sp-radius);
    padding: 20px;
    box-shadow: var(--sp-shadow);
    transition: box-shadow 0.2s;
}

.sp-stat-card:hover { box-shadow: var(--sp-shadow-md); }

.sp-stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--sp-text-sub);
    margin-bottom: 8px;
}

.sp-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--sp-text);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 6px;
}

.sp-stat-meta {
    font-size: 0.78rem;
    color: var(--sp-text-light);
    display: flex;
    align-items: center;
    gap: 4px;
}

.sp-stat-icon {
    width: 40px; height: 40px;
    border-radius: var(--sp-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.sp-stat-icon svg { width: 18px; height: 18px; fill: currentColor; }

.sp-stat-icon-green { background: rgba(0,212,170,0.1); color: #00a888; }
.sp-stat-icon-blue  { background: rgba(11,95,255,0.1);  color: #0b5fff; }
.sp-stat-icon-red   { background: rgba(215,44,13,0.1);  color: var(--sp-red); }
.sp-stat-icon-purple{ background: rgba(132,86,213,0.1); color: var(--sp-purple); }
.sp-stat-icon-orange{ background: rgba(255,196,83,0.15); color: #c8830a; }

/* ═══════════════════════════════════════════════
   FORMS
   ═══════════════════════════════════════════════ */
.sp-form-group { margin-bottom: 18px; }

.sp-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--sp-text);
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.sp-label-sub {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--sp-text-sub);
    margin-top: 1px;
}

.sp-input {
    display: block;
    width: 100%;
    padding: 9px 12px;
    background: var(--sp-surface);
    border: 1px solid var(--sp-border2);
    border-radius: var(--sp-radius-sm);
    font-family: var(--sp-font);
    font-size: 0.875rem;
    color: var(--sp-text);
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
    -webkit-appearance: none;
}

.sp-input::placeholder { color: #b0b5bb; }
.sp-input:focus { border-color: #458fff; box-shadow: 0 0 0 3px rgba(69,143,255,0.2); }
.sp-input.is-invalid { border-color: var(--sp-red); }
.sp-input.is-invalid:focus { box-shadow: 0 0 0 3px rgba(215,44,13,0.15); }

.sp-input-error {
    font-size: 0.78rem;
    color: var(--sp-red);
    margin-top: 4px;
}

.sp-input-hint {
    font-size: 0.75rem;
    color: var(--sp-text-sub);
    margin-top: 4px;
    line-height: 1.4;
}

/* Textarea */
.sp-textarea { min-height: 100px; resize: vertical; }

/* Checkbox */
.sp-checkbox-wrap {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.sp-checkbox {
    width: 16px; height: 16px;
    border-radius: 4px;
    border: 1.5px solid var(--sp-border2);
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--sp-green);
}

.sp-checkbox-label { font-size: 0.875rem; color: var(--sp-text); }

/* ═══════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════ */
.sp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 16px;
    font-family: var(--sp-font);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--sp-radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s;
    white-space: nowrap;
    letter-spacing: -0.01em;
}

.sp-btn svg { width: 15px; height: 15px; fill: currentColor; }
.sp-btn:hover { text-decoration: none; }

.sp-btn-primary   { background: var(--sp-green);   border-color: var(--sp-green);   color: #fff; }
.sp-btn-primary:hover { background: var(--sp-green2); border-color: var(--sp-green2); color: #fff; }

.sp-btn-secondary { background: var(--sp-surface); border-color: var(--sp-border2); color: var(--sp-text); box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.sp-btn-secondary:hover { background: var(--sp-bg); color: var(--sp-text); }

.sp-btn-danger    { background: var(--sp-red);     border-color: var(--sp-red);     color: #fff; }
.sp-btn-danger:hover { background: #bb2409; color: #fff; }

.sp-btn-sm { padding: 6px 12px; font-size: 0.8rem; }
.sp-btn-lg { padding: 12px 24px; font-size: 0.95rem; }

.sp-btn-full { width: 100%; }

/* Spinner in button */
.sp-btn-spinner {
    width: 14px; height: 14px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spSpin 0.7s linear infinite;
    display: none;
}
@keyframes spSpin { to { transform: rotate(360deg); } }

/* ═══════════════════════════════════════════════
   BADGES
   ═══════════════════════════════════════════════ */
.sp-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 99px;
}

.sp-badge-green  { background: rgba(0,212,170,0.12); color: #00856f; }
.sp-badge-red    { background: rgba(215,44,13,0.1);  color: #d72c0d; }
.sp-badge-yellow { background: rgba(255,196,83,0.2); color: #c8830a; }
.sp-badge-blue   { background: rgba(11,95,255,0.1);  color: #0b5fff; }
.sp-badge-grey   { background: #f1f2f3;              color: #6d7175; }
.sp-badge-purple { background: rgba(132,86,213,0.1); color: #8456d5; }

/* ═══════════════════════════════════════════════
   TABLES
   ═══════════════════════════════════════════════ */
.sp-table-wrap { overflow-x: auto; }

.sp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.sp-table th {
    padding: 12px 16px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--sp-text-sub);
    border-bottom: 1px solid var(--sp-border);
    background: #fafbfb;
    text-align: left;
    white-space: nowrap;
}

.sp-table td {
    padding: 13px 16px;
    border-bottom: 1px solid var(--sp-border);
    color: var(--sp-text);
    vertical-align: middle;
}

.sp-table tr:last-child td { border-bottom: none; }
.sp-table tr:hover td { background: #f8f9fa; }

/* ═══════════════════════════════════════════════
   ALERTS / MESSAGES
   ═══════════════════════════════════════════════ */
.sp-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--sp-radius-sm);
    font-size: 0.875rem;
    margin-bottom: 16px;
    border: 1px solid transparent;
}

.sp-alert svg { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; margin-top: 1px; }

.sp-alert-success { background: #f0fdf9; border-color: #b7f0e4; color: #065f46; }
.sp-alert-error   { background: #fff5f5; border-color: #fecaca; color: #991b1b; }
.sp-alert-warning { background: #fffbeb; border-color: #fed7aa; color: #92400e; }
.sp-alert-info    { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; }

/* ═══════════════════════════════════════════════
   SEARCH BAR
   ═══════════════════════════════════════════════ */
.sp-search-wrap { position: relative; }

.sp-search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 15px; height: 15px;
    fill: var(--sp-text-light);
}

.sp-search-input {
    padding-left: 34px !important;
    padding-right: 12px !important;
}

/* ═══════════════════════════════════════════════
   EMPTY STATE
   ═══════════════════════════════════════════════ */
.sp-empty {
    text-align: center;
    padding: 60px 24px;
}

.sp-empty-icon {
    width: 48px; height: 48px;
    background: var(--sp-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.sp-empty-icon svg { width: 22px; height: 22px; fill: var(--sp-text-light); }
.sp-empty-title { font-size: 1rem; font-weight: 600; color: var(--sp-text); margin-bottom: 6px; }
.sp-empty-desc { font-size: 0.875rem; color: var(--sp-text-sub); margin-bottom: 20px; line-height: 1.6; }

/* ═══════════════════════════════════════════════
   PAGE HEADER
   ═══════════════════════════════════════════════ */
.sp-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.sp-page-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--sp-text);
    letter-spacing: -0.03em;
    margin: 0;
}

.sp-page-sub {
    font-size: 0.82rem;
    color: var(--sp-text-sub);
    margin-top: 2px;
}

.sp-page-actions { display: flex; align-items: center; gap: 8px; }

/* ═══════════════════════════════════════════════
   TABS
   ═══════════════════════════════════════════════ */
.sp-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--sp-border);
    margin-bottom: 20px;
}

.sp-tab-link {
    padding: 10px 16px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--sp-text-sub);
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    text-decoration: none;
    transition: all 0.15s;
    white-space: nowrap;
}

.sp-tab-link:hover { color: var(--sp-text); text-decoration: none; }
.sp-tab-link.active { color: var(--sp-green); border-bottom-color: var(--sp-green); font-weight: 600; }

/* ═══════════════════════════════════════════════
   OVERLAY / MOBILE
   ═══════════════════════════════════════════════ */
.sp-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1029;
    backdrop-filter: blur(2px);
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 991px) {
    .sp-sidebar { transform: translateX(-100%); }
    .sp-sidebar.open { transform: translateX(0); }
    .sp-topbar { left: 0; }
    .sp-main { margin-left: 0; }
    .sp-content, .sp-content-full { padding: 16px; }
}

@media (max-width: 575px) {
    .sp-page-header { flex-direction: column; align-items: flex-start; }
    .sp-content, .sp-content-full { padding: 12px; }
    .sp-stat-value { font-size: 1.6rem; }
}

/* ═══════════════════════════════════════════════
   UTILITIES
   ═══════════════════════════════════════════════ */
.sp-divider { height: 1px; background: var(--sp-border); margin: 20px 0; }
.sp-text-muted { color: var(--sp-text-sub) !important; }
.sp-text-danger { color: var(--sp-red) !important; }
.sp-text-success { color: #00856f !important; }
.sp-gap-2 { gap: 8px; }
.sp-gap-3 { gap: 12px; }
.sp-mt-4 { margin-top: 16px; }
.sp-mb-4 { margin-bottom: 16px; }
.sp-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sp-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.sp-grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
@media(max-width:767px) { .sp-grid-2,.sp-grid-3,.sp-grid-4 { grid-template-columns:1fr; } }
@media(min-width:576px) and (max-width:991px) { .sp-grid-3,.sp-grid-4 { grid-template-columns:1fr 1fr; } }

/* Hamburger */
.sp-hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    width: 36px; height: 36px;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--sp-border);
    border-radius: var(--sp-radius-sm);
    cursor: pointer;
    transition: background 0.15s;
}

.sp-hamburger:hover { background: var(--sp-bg); }
.sp-hamburger-bar { width: 16px; height: 2px; background: var(--sp-text); border-radius: 2px; display: block; }

@media (max-width: 991px) { .sp-hamburger { display: flex; } }

/* Dropdown menu */
.sp-dropdown { position: relative; }
.sp-dropdown-menu {
    position: absolute;
    right: 0; top: calc(100% + 6px);
    background: var(--sp-surface);
    border: 1px solid var(--sp-border);
    border-radius: var(--sp-radius);
    box-shadow: var(--sp-shadow-md);
    min-width: 160px;
    z-index: 1050;
    overflow: hidden;
    display: none;
}
.sp-dropdown-menu.show { display: block; }
.sp-dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    font-size: 0.875rem;
    color: var(--sp-text);
    text-decoration: none;
    transition: background 0.12s;
    cursor: pointer;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
}
.sp-dropdown-item svg { width: 14px; height: 14px; fill: currentColor; opacity: 0.6; }
.sp-dropdown-item:hover { background: var(--sp-bg); text-decoration: none; }
.sp-dropdown-item.danger { color: var(--sp-red); }
.sp-dropdown-item.danger:hover { background: #fff5f5; }
.sp-dropdown-divider { height: 1px; background: var(--sp-border); margin: 4px 0; }

/* Copy button flash */
.sp-copied { color: #00856f !important; }
