body {
    background: #f2f4f5;
}
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.badge-linkvertise {
    background: #007DF5;
    color: white;
}
.badge-lootlabs {
    background: #7c3aed;
    color: white;
}
.badge-admin {
    background: #10b981;
    color: white;
}
.badge-workink {
    background: #ff5722;
    color: white;
}
.status-active {
    background: #d1fae5;
    color: #065f46;
}
.status-expired {
    background: #fee2e2;
    color: #991b1b;
}
.status-revoked {
    background: #f3f4f6;
    color: #4b5563;
}
.countdown-timer {
    font-family: monospace;
    font-weight: 600;
}

/* Hide the injected Netlify "Powered by" badge */
.nl-badge, #nl-badge, .nl-wrap, #nl-card, .nl-card, .nl-prompt, .nl-drop, .nl-hide,
[class*="nl-"], [id*="nl-"], a[href*="netlify.com"], a[href*="netlify.app"],
img[src*="netlify"], .netlify-badge, #netlify-badge, [data-netlify-badge] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.support-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
}

.icon-verified-badge {
    display: inline-block;
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMiIgaGVpZ2h0PSIxMiIgZmlsbD0ibm9uZSIgdmlld0JveD0iMCAwIDEyIDEyIj48ZyBjbGlwLXBhdGg9InVybCgjYSkiPjxwYXRoIGZpbGw9IiMwNmYiIGQ9Im0yLjUyMyAwIDkuNDc2IDIuNTM5LTIuNTQgOS40NzYtOS40NzUtMi41NHoiLz48cGF0aCBmaWxsPSIjZjdmN2Y4IiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGQ9Im04LjgwNCAzLjc1LjAwMy4wMDNhLjY2LjY2IDAgMCAxIDAgLjkzMkw1LjA2NCA4LjQyOCAzLjE5MyA2LjU1NmEuNjYuNjYgMCAw IDEgMC0uOTMybC4wMDMtLjAwM2EuNjYuNjYgMCAw IDEgLjkzMiAwbC45MzYuOTM2TDcuODcyIDMuNzVhLjY2LjY2IDAgMCAxIC45MzIgMCIgY2xpcC1ydWxlPSJldmVub2RkIi8+PC9nPjxkZWZzPjxjbGlwUGF0aCBpZD0iYSI+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTAgMGgxMnYxMkgweiIvPjwvY2xpcFBhdGg+PC9kZWZzPjwvc3ZnPg==");
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}

/* Store Customizer visual editor styles */
.store-editable {
    outline: none;
    border-radius: 4px;
    transition: background-color 0.15s ease, box-shadow 0.15s ease;
    cursor: text;
}
.store-editable:hover {
    background-color: rgba(59, 130, 246, 0.08);
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.35);
}
.store-editable:focus {
    background-color: rgba(59, 130, 246, 0.12);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.6);
}

.store-card-selectable {
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}
.store-card-selectable:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}
.store-card-selected {
    outline: 2px solid #3b82f6 !important;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2) !important;
}

/* Desktop Screen Canvas Frame */
.store-desktop-frame {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

/* Phone Screen Device Mockup Frame */
.store-phone-mode {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 1.5rem 0.5rem;
    background: #e2e8f0;
    border-radius: 1.5rem;
}
.store-phone-frame {
    width: 100%;
    max-width: 390px;
    background: #f2f4f5;
    border-radius: 42px;
    border: 10px solid #1e293b;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 2px #475569;
    overflow: hidden;
    position: relative;
    padding: 1rem 0.85rem;
    margin: 0 auto;
    transition: all 0.3s ease;
}
.store-phone-notch {
    width: 110px;
    height: 18px;
    background: #1e293b;
    border-radius: 0 0 12px 12px;
    margin: -1rem auto 0.75rem auto;
}
.store-phone-frame .mobile-hide-bonus {
    display: none !important;
}

/* Clean Price Rows without divider lines */
.canvas-tier-row {
    transition: background-color 0.15s ease;
    border: none !important;
}
.canvas-tier-row:hover {
    background-color: rgba(0, 0, 0, 0.03);
}

.tier-item-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 0.625rem;
    margin-bottom: 0.5rem;
}

.store-toolbar-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.375rem 0.625rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.15s ease;
    border: 1px solid #e5e7eb;
    background-color: #ffffff;
    color: #374151;
}
.store-toolbar-btn:hover {
    background-color: #f3f4f6;
    border-color: #d1d5db;
}
.store-toolbar-btn.active {
    background-color: #eff6ff;
    border-color: #93c5fd;
    color: #1d4ed8;
}

/* Photoshop/Figma style drag-to-scrub numeric properties */
.scrub-val, .scrub-label {
    cursor: ew-resize !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    transition: color 0.15s ease;
}
.scrub-label:hover {
    color: #2563eb !important;
}
.scrub-val:hover {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 1px #3b82f6 !important;
}
body.scrubbing-active, body.scrubbing-active * {
    cursor: ew-resize !important;
    user-select: none !important;
    -webkit-user-select: none !important;
}

/* Mobile optimizations */
@media (max-width: 640px) {
    .kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
