/*
Theme Name: SCDev Single
Description: A single-page theme. No header, no footer, no sidebar. Everything lives in a centered content container driven by shortcodes. Body background, container size, color, opacity, border, shadow and animation all configurable from the Customizer.
Version: 6.0
Author: SCDev
Text Domain: scdev-single
*/

/* Viewport Locking — Site Never Scrolls, Only Content Area & Sidebars Scroll */
html,
body,
html:root {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    max-height: 100vh !important;
    overflow: hidden !important;
    overscroll-behavior: none !important;
}

.scdev-single-stage {
    width: 100% !important;
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    box-sizing: border-box !important;
}

.scdev-single-container {
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
}

.scdev-single-content {
    width: 100% !important;
    height: 100% !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
    box-sizing: border-box !important;
}

/* Isolated page-specific styles for Privacy and Terms content */
.scdev-policy-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: inherit;
    background: transparent !important;
}

.scdev-policy-page__hero {
    margin-bottom: 32px;
}

.scdev-policy-page__meta {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.72);
}

.scdev-policy-page__title {
    margin: 0 0 12px;
    font-size: clamp(2rem, 2.5vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    color: inherit;
}

.scdev-policy-page__subtitle {
    margin: 0;
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.72);
}

.scdev-policy-page__sections {
    display: grid;
    gap: 30px;
}

.scdev-policy-page__section {
    padding: 0;
    border: none;
    background: transparent !important;
}

.scdev-policy-page__section h2 {
    margin: 0 0 12px;
    font-size: 1.25rem;
    font-weight: 700;
    color: inherit;
}

.scdev-policy-page__section p,
.scdev-policy-page__section li {
    margin: 0 0 16px;
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.78);
}

.scdev-policy-page__list {
    padding-left: 1.5rem;
    margin: 0;
}

.scdev-policy-page__list li {
    margin-bottom: 0.75rem;
}

.scdev-policy-page__contact a {
    color: inherit;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .scdev-policy-page__hero {
        margin-bottom: 24px;
    }

    .scdev-policy-page__title {
        font-size: 2rem;
    }
}

/* Ensure html background matches mode to prevent white streaks */
html {
    background-color: #f5f5f5;
}

html:has(body.night-mode),
html:has(body.dark-mode),
html:has(body.sheer-dark-mode) {
    background-color: #12121c !important;
}

.scdev-page-banner {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 60px);
    height: calc(100vh - 60px);
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    border-radius: 18px 18px 0 0;
    overflow: hidden;
    display: flex;
    align-items: stretch;
}

.scdev-login-featured-banner {
    width: 100%;
    min-height: calc(100vh - 60px) !important;
    height: calc(100vh - 60px) !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    border-radius: 16px;
    overflow: hidden;
}

.scdev-page-banner.no-image {
    background: linear-gradient(135deg, rgba(108, 123, 237, 0.92), rgba(121, 67, 160, 0.92));
}

.scdev-page-banner-inner {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    text-align: center;
}

.scdev-page-banner.no-image .scdev-page-banner-inner {
    background: transparent;
}

.scdev-page-banner-inner h1.scdev-page-title {
    margin: 0;
    font-size: var(--scdev-h1-size, 34px);
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    color: #fff;
}

/* Ensure the content handles dark mode smoothly */
.scdev-single-content {
    background: transparent;
    color: inherit;
}

.scdev-page-header-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.scdev-page-tagline {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Standard WordPress image alignment classes */
.alignleft {
    float: left;
    margin-right: 1.5em;
    margin-bottom: 1.5em;
}

.alignright {
    float: right;
    margin-left: 1.5em;
    margin-bottom: 1.5em;
}

/* Center the notification panel on mobile */
@media (max-width: 768px) {
    .scdev-notif-panel {
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        right: auto !important;
        bottom: auto !important;
        width: 90% !important;
        max-width: 400px !important;
        max-height: 80vh !important;
        z-index: 10090 !important;
    }
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5em;
    text-align: center;
}

.aligncenter img {
    margin-left: auto;
    margin-right: auto;
    display: block;
}

figure.wp-block-image.aligncenter {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

figure.wp-block-image.aligncenter img {
    margin: 0 auto;
    display: block;
}

/* Prevent horizontal scroll on mobile */
@media (max-width: 768px) {

    html,
    body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        width: 100% !important;
    }

    * {
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }

    /* Hide desktop sidebars on mobile */
    .scdev-desktop-only {
        display: none !important;
    }



    /* Mobile modal scrolling */
    #scdev-mobile-modal-left .scdev-sidebar-content,
    #scdev-mobile-modal-right .scdev-sidebar-content {
        flex: 1 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .scdev-category-tabs {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        z-index: auto !important;
        background: transparent !important;
        backdrop-filter: none !important;
        margin: 0 !important;
        padding: 10px 10px 6px !important;
        border-radius: 999px !important;
        box-shadow: none !important;
        overflow-x: auto !important;
    }

    .scdev-category-tabs::-webkit-scrollbar {
        display: none;
    }
}

/* Hide mobile elements on desktop */
@media (min-width: 769px) {

    .scdev-mobile-only,
    #scdev-mobile-circle-left,
    #scdev-mobile-circle-right,
    #scdev-mobile-modal-left,
    #scdev-mobile-modal-right {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
}

/* Show mobile circles on mobile */
@media (max-width: 768px) {

    #scdev-mobile-circle-left,
    #scdev-mobile-circle-right {
        display: flex !important;
    }
}



/* Night mode â€“ coins badge text color */
body.night-mode div[style*="background: rgba(255,184,0,0.96)"] {
    color: #f5f5f5 !important;
}


/* Mobile sidebar styles removed - now handled by sliding-sidebars.css */

@media (min-width: 769px) {
    .sidebar-mobile-toggle {
        display: none !important;
    }
}


/* Prevent sidebar panels from causing horizontal scroll when off-screen */
.scdev-sidebars-container,
.scdev-sidebar {
    overflow: hidden;
}

.scdev-single-stage {
    height: 100%;
    overflow: hidden;
}

.scdev-single-container {
    overflow: hidden;
    max-width: 100%;
}

.scdev-page-banner.no-image {
    background: linear-gradient(135deg, rgba(108, 123, 237, 0.92), rgba(121, 67, 160, 0.92));
}

.scdev-page-banner-inner {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    text-align: center;
}

.scdev-page-banner.no-image .scdev-page-banner-inner {
    background: transparent;
}

.scdev-page-banner-inner h1.scdev-page-title {
    margin: 0;
    font-size: var(--scdev-h1-size, 34px);
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    color: #fff;
}

/* Ensure the content handles dark mode smoothly */
.scdev-single-content {
    background: transparent;
    color: inherit;
}

.scdev-page-header-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.scdev-page-tagline {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Standard WordPress image alignment classes */
.alignleft {
    float: left;
    margin-right: 1.5em;
    margin-bottom: 1.5em;
}

.alignright {
    float: right;
    margin-left: 1.5em;
    margin-bottom: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5em;
    text-align: center;
}

.aligncenter img {
    margin-left: auto;
    margin-right: auto;
    display: block;
}

figure.wp-block-image.aligncenter {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

figure.wp-block-image.aligncenter img {
    margin: 0 auto;
    display: block;
}

/* Prevent horizontal scroll on mobile */
@media (max-width: 768px) {

    html,
    body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        width: 100% !important;
    }

    * {
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }

    /* Hide desktop sidebars on mobile */
    .scdev-desktop-only {
        display: none !important;
    }



    /* Mobile modal scrolling */
    #scdev-mobile-modal-left .scdev-sidebar-content,
    #scdev-mobile-modal-right .scdev-sidebar-content {
        flex: 1 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        height: 0 !important;
        /* forces flex child to scroll rather than expand */
    }

    .scdev-category-tabs {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        z-index: auto !important;
        background: transparent !important;
        backdrop-filter: none !important;
        margin: 0 !important;
        padding: 10px 10px 6px !important;
        border-radius: 999px !important;
        box-shadow: none !important;
        overflow-x: auto !important;
    }

    .scdev-category-tabs::-webkit-scrollbar {
        display: none;
    }
}

/* Hide mobile elements on desktop */
@media (min-width: 769px) {

    .scdev-mobile-only,
    #scdev-mobile-circle-left,
    #scdev-mobile-circle-right,
    #scdev-mobile-modal-left,
    #scdev-mobile-modal-right {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
}

/* Show mobile circles on mobile */
@media (max-width: 768px) {

    #scdev-mobile-circle-left,
    #scdev-mobile-circle-right {
        display: flex !important;
    }
}



/* Night mode â€“ coins badge text color */
body.night-mode div[style*="background: rgba(255,184,0,0.96)"] {
    color: #f5f5f5 !important;
}


/* Mobile sidebar styles removed - now handled by sliding-sidebars.css */

@media (min-width: 769px) {
    .sidebar-mobile-toggle {
        display: none !important;
    }
}


/* Prevent sidebar panels from causing horizontal scroll when off-screen */
.scdev-sidebars-container,
.scdev-sidebar {
    overflow: hidden;
}

.scdev-single-stage {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.scdev-single-container {
    overflow-x: hidden;
    max-width: 100%;
    display: flex;
    flex-direction: column;
}

/* Mobile Notification Bell and Primary Nav Styling */
@media (max-width: 768px) {

    /* Keep bell sized correctly on mobile â€” bar proxies the button */
    #scdev-notif-bell {
        width: 30px !important;
        height: 30px !important;
    }
}

/* Hide all nav elements on the login page */
.page-template-page-login .scdev-primary-nav-shell,
.page-template-page-login .scdev-classic-nav-wrapper,
.page-template-page-login #fnv2-shell,
.page-template-page-login .scdev-footer-nav-wrapper,
.page-template-page-login .scdev-top-right-controls,
.page-template-page-login #mnv2-shell,
.page-template-page-login #scdev-notif-wrap,
.page-template-page-login .scdev-global-back-btn {
    display: none !important;
}

/* Login page â€” bottom padding so content clears the fixed PWA bar */
.page-template-page-login .scdev-single-content {
    padding-bottom: 80px !important;
}

/* Global — compact bottom spacing on desktop */
.scdev-single-content {
    padding-bottom: 15px;
}

/* Mobile Footer Bar Clearance — stops page content cleanly above the fixed mobile bottom bar */
@media (max-width: 768px) {
    .scdev-single-content {
        padding-bottom: 120px !important;
    }
}

/* Scrollable comments list */
.scdev-comments-list-wrap {
    max-height: min(420px, 55vh);
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 4px;
    margin-bottom: 16px;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

.scdev-comments-list-wrap .scdev-comment-list {
    margin: 0;
    padding: 0;
}

.scdev-comments-list-wrap::-webkit-scrollbar {
    width: 4px;
}

.scdev-comments-list-wrap::-webkit-scrollbar-track {
    background: transparent;
}

.scdev-comments-list-wrap::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 2px;
}

.page-template-page-login .wp-block-button__link,
.page-template-page-login .wp-block-buttons .wp-block-button__link {
    margin-top: 10px !important;
    transform: none !important;
    transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease !important;
}

.page-template-page-login .wp-block-button__link:hover {
    transform: none !important;
}

@media (max-width: 768px) {
    .pcl-tabs-bar {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
        z-index: auto !important;
        margin-top: 0 !important;
        box-shadow: none !important;
    }

    .pcl-feed-wrap {
        padding-top: 0 !important;
    }
}

/* Hide desktop hamburger and mobile launchers on desktop, but allow the primary modal launcher */
@media (min-width: 769px) {

    .scdev-classic-mobile-toggle,
    .scdev-footer-mobile-toggle,
    .scdev-mobile-only,
    #scdev-mobile-circle-left,
    #scdev-mobile-circle-right,
    #scdev-mobile-modal-left,
    #scdev-mobile-modal-right {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
}

/* Strip stray editor-saved background-colors from post content */
.scdev-post-content p[style],
.scdev-post-content span[style],
.scdev-post-content div[style],
.scdev-post-content li[style],
.scdev-post-content h1[style],
.scdev-post-content h2[style],
.scdev-post-content h3[style],
.scdev-post-content h4[style],
.scdev-post-content h5[style],
.scdev-post-content h6[style] {
    background-color: transparent !important;
    background: transparent !important;
}

/* Exception: keep intentional highlight classes */
.scdev-post-content .highlight-yellow {
    background-color: #ffeb3b !important;
}

.scdev-post-content .highlight-blue {
    background-color: #03a9f4 !important;
}

/* â”€â”€ Picollage â†’ Theme Bridge â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   Remap PCL CSS variables to the theme's variables so Picollage
   automatically inherits brand colors, fonts and typography from
   the Customizer without touching the plugin files.
   ------------------------------------------------------------------ */

:root {
    /* PCL brand colors now follow the theme's button color */
    --pcl-primary: var(--scdev-btn-bg, #667eea);
    --pcl-primary-dk: var(--scdev-btn-bg-i, #764ba2);
    /* PCL accent keeps its own warm tone but can be overridden */
    --pcl-accent: var(--scdev-btn-bg, #667eea);
}

/* Base wrapper — font family and size from theme */
.pcl-wrap,
.pcl-feed-wrap,
.pcl-view-wrap,
.pcl-modal,
.pcl-confirm-box,
.pcl-wallet-wrap,
.pcl-earnings-wrap,
.pcl-photos-wrap,
.pcl-my-list {
    font-family: var(--scdev-font-family, inherit);
    font-size: var(--scdev-font-size, 16px);
    color: inherit;
}

/* ── H1 equivalent: Page / gallery title ── */
.pcl-view-title,
.pcl-photos-heading {
    font-family: var(--scdev-font-family, inherit);
    font-size: var(--scdev-h1-size, 32px);
    font-weight: var(--scdev-h1-weight, 700);
    color: var(--scdev-h1-color, inherit);
}

/* ── H2 equivalent: Section headings / modal titles ── */
.pcl-confirm-title,
.pcl-wp-title,
.pcl-my-title,
.pcl-pcl-upload-title {
    font-family: var(--scdev-font-family, inherit);
    font-size: var(--scdev-h2-size, 28px);
    font-weight: var(--scdev-h2-weight, 700);
    color: var(--scdev-h2-color, inherit);
}

/* ── H3 equivalent: Card group headings ── */
.pcl-photos-heading,
.pcl-str-info-title {
    font-family: var(--scdev-font-family, inherit);
    font-size: var(--scdev-h3-size, 24px);
    font-weight: var(--scdev-h3-weight, 600);
    color: var(--scdev-h3-color, inherit);
}

/* ── H4 equivalent: Card titles, item names ── */
.pcl-card-title,
.pcl-my-title,
.pcl-package-card h3,
.pcl-slider-name,
.pcl-stat-val {
    font-family: var(--scdev-font-family, inherit);
    font-size: var(--scdev-h4-size, 20px);
    font-weight: var(--scdev-h4-weight, 600);
    color: var(--scdev-h4-color, inherit);
}

/* ── H5 equivalent: Body text, descriptions, form labels, general content ── */
.pcl-card-desc,
.pcl-description,
.pcl-field label,
.pcl-gate-inner p,
.pcl-str-perk,
.pcl-balance-bar,
.pcl-photos-hint,
.pcl-tip-result,
.pcl-table td,
.pcl-pcl-wd-row,
.pcl-view-meta,
.pcl-lock-overlay,
.pcl-author-bar {
    font-family: var(--scdev-font-family, inherit);
    font-size: var(--scdev-h5-size, 18px);
    font-weight: 400;
    color: var(--scdev-h5-color, inherit);
}

/* ── H6 equivalent: Meta, timestamps, counts, secondary info ── */
.pcl-card-meta,
.pcl-card-footer,
.pcl-my-meta,
.pcl-stat-label,
.pcl-slider-count,
.pcl-cat-tag,
.pcl-pcl-cat-tag,
.pcl-pcl-wp-note,
.pcl-cat,
.pcl-pcl-back {
    font-family: var(--scdev-font-family, inherit);
    font-size: var(--scdev-h6-size, 16px);
    font-weight: 400;
    color: var(--scdev-h6-color, inherit);
    opacity: 0.7;
}

/* Primary action buttons follow theme button variables */
.pcl-submit-btn,
.pcl-add-btn,
.pcl-upload-btn,
.pcl-pkg-cta,
.pcl-btn-primary,
.pcl-confirm-ok {
    background-color: var(--scdev-btn-bg, rgba(102, 126, 234, 0)) !important;
    color: var(--scdev-btn-color, #333333) !important;
    font-family: var(--scdev-font-family, inherit) !important;
    font-size: var(--scdev-h5-size, 16px) !important;
    border: var(--scdev-btn-border-width, 1px) solid var(--scdev-btn-border-color, #333333) !important;
    border-radius: var(--scdev-btn-radius, 6px) !important;
}

.pcl-submit-btn:hover,
.pcl-add-btn:hover,
.pcl-upload-btn:hover,
.pcl-pkg-cta:hover,
.pcl-btn-primary:hover,
.pcl-confirm-ok:hover {
    background-color: var(--scdev-btn-bg-hover, #667eea) !important;
    color: var(--scdev-btn-color-hover, #333333) !important;
}

/* Post feed modal background adapts to color scheme */
[data-color-scheme="dark"] .pcl-modal,
[data-color-scheme="dark"] .pcl-confirm-box {
    background: #1a1a2e;
    color: #f0f0f0;
    border-color: rgba(255, 255, 255, 0.1);
}

[data-color-scheme="light"] .pcl-modal,
[data-color-scheme="light"] .pcl-confirm-box {
    background: #ffffff;
    color: inherit;
}

.scdev-ev-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px !important;
}

@media (max-width: 1200px) {
    .scdev-ev-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 16px !important;
    }
}

@media (max-width: 880px) {
    .scdev-ev-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 16px !important;
    }
}

@media (max-width: 639px) {
    .scdev-ev-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
}

/* Event Card Image Height (+20px) & Title Link Clean Styling */
.scdev-ev-card-img {
    height: 148px !important;
}

.scdev-ev-card-title,
a.scdev-ev-card-title,
.scdev-ev-card-img-link {
    text-decoration: none !important;
}

.scdev-ev-card-title:hover,
a.scdev-ev-card-title:hover {
    text-decoration: none !important;
    color: #2563eb !important;
}

/* Scraped Events Card Footer Hide */
.scdev-ev-card.scdev-ev-scraped-card .scdev-ev-card-footer {
    display: none !important;
}

/* Event Filter Tabs - Readable Font & Pill Buttons */
.scdev-ev-filter-tab {
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 8px 18px !important;
    border-radius: 50px !important;
    border: 1px solid #cbd5e1 !important;
    background: #ffffff !important;
    color: #334155 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}

.scdev-ev-filter-tab:hover,
.scdev-ev-filter-tab.active {
    background: #2563eb !important;
    color: #ffffff !important;
    border-color: #2563eb !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25) !important;
}

/* Centered Search & Country Selector Bar */
.scdev-ev-search-wrap {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    align-items: center !important;
    justify-content: center !important;
    max-width: 850px !important;
    margin: 0 auto 24px auto !important;
}

.scdev-ev-filter-control {
    height: 42px !important;
    line-height: 40px !important;
    padding: 0 18px !important;
    margin: 0 !important;
    border-radius: 50px !important;
    border: 1px solid #cbd5e1 !important;
    background: #ffffff !important;
    color: #0f172a !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    outline: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease !important;
    box-sizing: border-box !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    vertical-align: middle !important;
    color-scheme: light;
}

.scdev-ev-country-select {
    cursor: pointer !important;
    flex: 0 0 auto !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.scdev-ev-category-select {
    cursor: pointer !important;
    flex: 0 0 auto !important;
    min-width: 170px !important;
}

.scdev-ev-search {
    flex: 1 1 200px !important;
    width: auto !important;
    min-width: 180px !important;
}

.scdev-ev-search::placeholder {
    color: #64748b !important;
    opacity: 1 !important;
}

.scdev-ev-filter-control option {
    background-color: #ffffff !important;
    color: #0f172a !important;
}

.scdev-ev-filter-control:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18) !important;
}

/* Dark mode & Night mode styles for Search, Category & Country Select */
body.dark-mode .scdev-ev-filter-control,
body.is-dark .scdev-ev-filter-control,
body.dark .scdev-ev-filter-control,
body.night-mode .scdev-ev-filter-control,
body.theme-dark .scdev-ev-filter-control,
body[data-theme="dark"] .scdev-ev-filter-control,
html[data-color-scheme="dark"] .scdev-ev-filter-control,
body[data-color-scheme="dark"] .scdev-ev-filter-control,
body.sheer-dark-mode .scdev-ev-filter-control,
body.wp-dark-mode-active .scdev-ev-filter-control {
    background: #1e293b !important;
    color: #f8fafc !important;
    border-color: #334155 !important;
}

body.sheer-dark-mode .scdev-ev-search::placeholder,
body.wp-dark-mode-active .scdev-ev-search::placeholder {
    color: #94a3b8 !important;
    opacity: 1 !important;
}

body.dark-mode .scdev-ev-country-select option,
body.is-dark .scdev-ev-country-select option,
body.dark .scdev-ev-country-select option,
body.night-mode .scdev-ev-country-select option,
body.theme-dark .scdev-ev-country-select option,
body[data-theme="dark"] .scdev-ev-country-select option,
html[data-color-scheme="dark"] .scdev-ev-country-select option,
body[data-color-scheme="dark"] .scdev-ev-country-select option,
body.sheer-dark-mode .scdev-ev-country-select option,
body.wp-dark-mode-active .scdev-ev-country-select option,
body.dark-mode .scdev-ev-category-select option,
body.is-dark .scdev-ev-category-select option,
body.dark .scdev-ev-category-select option,
body.night-mode .scdev-ev-category-select option,
body.theme-dark .scdev-ev-category-select option,
body[data-theme="dark"] .scdev-ev-category-select option,
html[data-color-scheme="dark"] .scdev-ev-category-select option,
body[data-color-scheme="dark"] .scdev-ev-category-select option,
body.sheer-dark-mode .scdev-ev-category-select option,
body.wp-dark-mode-active .scdev-ev-category-select option {
    background-color: #1e293b !important;
    color: #f8fafc !important;
}

body.dark-mode .scdev-ev-country-select:focus,
body.night-mode .scdev-ev-country-select:focus,
body.dark-mode .scdev-ev-category-select:focus,
body.night-mode .scdev-ev-category-select:focus,
body.dark-mode .scdev-ev-search:focus,
body.night-mode .scdev-ev-search:focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3) !important;
}

/* ---- RSVP Section (Single Line & Centered) ---- */
.scdev-ev-rsvp-section {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 20px !important;
    flex-wrap: wrap !important;
    border: 1px solid var(--scdev-ev-border, #cbd5e1) !important;
    border-radius: var(--scdev-ev-radius, 12px) !important;
    padding: 16px 24px !important;
    margin-bottom: 32px !important;
    text-align: center !important;
}

.scdev-ev-rsvp-section h3 {
    margin: 0 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
}

.scdev-ev-rsvp-actions {
    display: inline-flex !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
    margin: 0 !important;
    align-items: center !important;
    justify-content: center !important;
}

.scdev-ev-rsvp-btn-big {
    padding: 9px 22px !important;
    border-radius: 50px !important;
    border: 2px solid #2563eb !important;
    background: transparent !important;
    color: #2563eb !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.scdev-ev-rsvp-btn-big:hover,
.scdev-ev-rsvp-btn-big.scdev-ev-rsvp-active {
    background: #2563eb !important;
    border-color: #2563eb !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3) !important;
}

.scdev-ev-rsvp-count-detail {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #475569 !important;
    margin: 0 !important;
}

/* Dark mode & Night mode RSVP section */
body.dark-mode .scdev-ev-rsvp-section h3,
body.is-dark .scdev-ev-rsvp-section h3,
body.dark .scdev-ev-rsvp-section h3,
body.night-mode .scdev-ev-rsvp-section h3,
body.theme-dark .scdev-ev-rsvp-section h3,
body[data-theme="dark"] .scdev-ev-rsvp-section h3,
html[data-color-scheme="dark"] .scdev-ev-rsvp-section h3,
body[data-color-scheme="dark"] .scdev-ev-rsvp-section h3,
body.sheer-dark-mode .scdev-ev-rsvp-section h3,
body.wp-dark-mode-active .scdev-ev-rsvp-section h3 {
    color: #f8fafc !important;
}

body.dark-mode .scdev-ev-rsvp-count-detail,
body.is-dark .scdev-ev-rsvp-count-detail,
body.dark .scdev-ev-rsvp-count-detail,
body.night-mode .scdev-ev-rsvp-count-detail,
body.theme-dark .scdev-ev-rsvp-count-detail,
body[data-theme="dark"] .scdev-ev-rsvp-count-detail,
html[data-color-scheme="dark"] .scdev-ev-rsvp-count-detail,
body[data-color-scheme="dark"] .scdev-ev-rsvp-count-detail,
body.sheer-dark-mode .scdev-ev-rsvp-count-detail,
body.wp-dark-mode-active .scdev-ev-rsvp-count-detail {
    color: #cbd5e1 !important;
}

body.dark-mode .scdev-ev-rsvp-btn-big,
body.is-dark .scdev-ev-rsvp-btn-big,
body.dark .scdev-ev-rsvp-btn-big,
body.night-mode .scdev-ev-rsvp-btn-big,
body.theme-dark .scdev-ev-rsvp-btn-big,
body[data-theme="dark"] .scdev-ev-rsvp-btn-big,
html[data-color-scheme="dark"] .scdev-ev-rsvp-btn-big,
body[data-color-scheme="dark"] .scdev-ev-rsvp-btn-big,
body.sheer-dark-mode .scdev-ev-rsvp-btn-big,
body.wp-dark-mode-active .scdev-ev-rsvp-btn-big {
    border-color: #3b82f6 !important;
    color: #60a5fa !important;
}

body.dark-mode .scdev-ev-rsvp-btn-big:hover,
body.dark-mode .scdev-ev-rsvp-btn-big.scdev-ev-rsvp-active,
body.night-mode .scdev-ev-rsvp-btn-big:hover,
body.night-mode .scdev-ev-rsvp-btn-big.scdev-ev-rsvp-active {
    background: #2563eb !important;
    border-color: #2563eb !important;
    color: #ffffff !important;
}

/* ---- Admin Actions (Centered) ---- */
.scdev-ev-admin-actions {
    display: flex !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    padding-bottom: 0 !important;
}

.scdev-ev-category-select {
    cursor: pointer !important;
    flex: 0 0 auto !important;
    min-width: 170px !important;
}

.scdev-ev-search {
    flex: 1 1 200px !important;
    width: auto !important;
    min-width: 180px !important;
}

.scdev-ev-search::placeholder {
    color: #64748b !important;
    opacity: 1 !important;
}

.scdev-ev-filter-control option {
    background-color: #ffffff !important;
    color: #0f172a !important;
}

.scdev-ev-filter-control:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18) !important;
}

/* Dark mode & Night mode styles for Search, Category & Country Select */
body.dark-mode .scdev-ev-filter-control,
body.is-dark .scdev-ev-filter-control,
body.dark .scdev-ev-filter-control,
body.night-mode .scdev-ev-filter-control,
body.theme-dark .scdev-ev-filter-control,
body[data-theme="dark"] .scdev-ev-filter-control,
html[data-color-scheme="dark"] .scdev-ev-filter-control,
body[data-color-scheme="dark"] .scdev-ev-filter-control,
body.sheer-dark-mode .scdev-ev-filter-control,
body.wp-dark-mode-active .scdev-ev-filter-control {
    background: #1e293b !important;
    color: #f8fafc !important;
    border-color: #334155 !important;
}

body.sheer-dark-mode .scdev-ev-search::placeholder,
body.wp-dark-mode-active .scdev-ev-search::placeholder {
    color: #94a3b8 !important;
    opacity: 1 !important;
}

body.dark-mode .scdev-ev-country-select option,
body.is-dark .scdev-ev-country-select option,
body.dark .scdev-ev-country-select option,
body.night-mode .scdev-ev-country-select option,
body.theme-dark .scdev-ev-country-select option,
body[data-theme="dark"] .scdev-ev-country-select option,
html[data-color-scheme="dark"] .scdev-ev-country-select option,
body[data-color-scheme="dark"] .scdev-ev-country-select option,
body.sheer-dark-mode .scdev-ev-country-select option,
body.wp-dark-mode-active .scdev-ev-country-select option,
body.dark-mode .scdev-ev-category-select option,
body.is-dark .scdev-ev-category-select option,
body.dark .scdev-ev-category-select option,
body.night-mode .scdev-ev-category-select option,
body.theme-dark .scdev-ev-category-select option,
body[data-theme="dark"] .scdev-ev-category-select option,
html[data-color-scheme="dark"] .scdev-ev-category-select option,
body[data-color-scheme="dark"] .scdev-ev-category-select option,
body.sheer-dark-mode .scdev-ev-category-select option,
body.wp-dark-mode-active .scdev-ev-category-select option {
    background-color: #1e293b !important;
    color: #f8fafc !important;
}

body.dark-mode .scdev-ev-country-select:focus,
body.night-mode .scdev-ev-country-select:focus,
body.dark-mode .scdev-ev-category-select:focus,
body.night-mode .scdev-ev-category-select:focus,
body.dark-mode .scdev-ev-search:focus,
body.night-mode .scdev-ev-search:focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3) !important;
}

/* ---- RSVP Section (Single Line & Centered) ---- */
.scdev-ev-rsvp-section {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 20px !important;
    flex-wrap: wrap !important;
    border: 1px solid var(--scdev-ev-border, #cbd5e1) !important;
    border-radius: var(--scdev-ev-radius, 12px) !important;
    padding: 16px 24px !important;
    margin-bottom: 32px !important;
    text-align: center !important;
}

.scdev-ev-rsvp-section h3 {
    margin: 0 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
}

.scdev-ev-rsvp-actions {
    display: inline-flex !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
    margin: 0 !important;
    align-items: center !important;
    justify-content: center !important;
}

.scdev-ev-rsvp-btn-big {
    padding: 9px 22px !important;
    border-radius: 50px !important;
    border: 2px solid #2563eb !important;
    background: transparent !important;
    color: #2563eb !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.scdev-ev-rsvp-btn-big:hover,
.scdev-ev-rsvp-btn-big.scdev-ev-rsvp-active {
    background: #2563eb !important;
    border-color: #2563eb !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3) !important;
}

.scdev-ev-rsvp-count-detail {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #475569 !important;
    margin: 0 !important;
}

/* Dark mode & Night mode RSVP section */
body.dark-mode .scdev-ev-rsvp-section h3,
body.is-dark .scdev-ev-rsvp-section h3,
body.dark .scdev-ev-rsvp-section h3,
body.night-mode .scdev-ev-rsvp-section h3,
body.theme-dark .scdev-ev-rsvp-section h3,
body[data-theme="dark"] .scdev-ev-rsvp-section h3,
html[data-color-scheme="dark"] .scdev-ev-rsvp-section h3,
body[data-color-scheme="dark"] .scdev-ev-rsvp-section h3,
body.sheer-dark-mode .scdev-ev-rsvp-section h3,
body.wp-dark-mode-active .scdev-ev-rsvp-section h3 {
    color: #f8fafc !important;
}

body.dark-mode .scdev-ev-rsvp-count-detail,
body.is-dark .scdev-ev-rsvp-count-detail,
body.dark .scdev-ev-rsvp-count-detail,
body.night-mode .scdev-ev-rsvp-count-detail,
body.theme-dark .scdev-ev-rsvp-count-detail,
body[data-theme="dark"] .scdev-ev-rsvp-count-detail,
html[data-color-scheme="dark"] .scdev-ev-rsvp-count-detail,
body[data-color-scheme="dark"] .scdev-ev-rsvp-count-detail,
body.sheer-dark-mode .scdev-ev-rsvp-count-detail,
body.wp-dark-mode-active .scdev-ev-rsvp-count-detail {
    color: #cbd5e1 !important;
}

body.dark-mode .scdev-ev-rsvp-btn-big,
body.is-dark .scdev-ev-rsvp-btn-big,
body.dark .scdev-ev-rsvp-btn-big,
body.night-mode .scdev-ev-rsvp-btn-big,
body.theme-dark .scdev-ev-rsvp-btn-big,
body[data-theme="dark"] .scdev-ev-rsvp-btn-big,
html[data-color-scheme="dark"] .scdev-ev-rsvp-btn-big,
body[data-color-scheme="dark"] .scdev-ev-rsvp-btn-big,
body.sheer-dark-mode .scdev-ev-rsvp-btn-big,
body.wp-dark-mode-active .scdev-ev-rsvp-btn-big {
    border-color: #3b82f6 !important;
    color: #60a5fa !important;
}

body.dark-mode .scdev-ev-rsvp-btn-big:hover,
body.dark-mode .scdev-ev-rsvp-btn-big.scdev-ev-rsvp-active,
body.night-mode .scdev-ev-rsvp-btn-big:hover,
body.night-mode .scdev-ev-rsvp-btn-big.scdev-ev-rsvp-active {
    background: #2563eb !important;
    border-color: #2563eb !important;
    color: #ffffff !important;
}

/* Event Detail & Ticket Card Dark Mode */
body.dark-mode .scdev-ev-ticket-card,
body.night-mode .scdev-ev-ticket-card,
body.sheer-dark .scdev-ev-ticket-card,
body.sheer-dark-mode .scdev-ev-ticket-card,
body.wp-dark-mode-active .scdev-ev-ticket-card,
html.dark .scdev-ev-ticket-card,
[data-theme="dark"] .scdev-ev-ticket-card,
[data-color-scheme="dark"] .scdev-ev-ticket-card {
    background: #1e1f2b !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5) !important;
}

body.dark-mode .scdev-ev-ticket-img-wrap,
body.night-mode .scdev-ev-ticket-img-wrap,
body.sheer-dark-mode .scdev-ev-ticket-img-wrap,
html.dark .scdev-ev-ticket-img-wrap {
    background: #12131a !important;
}

body.dark-mode .scdev-ev-ticket-datetime,
body.night-mode .scdev-ev-ticket-datetime,
body.sheer-dark-mode .scdev-ev-ticket-datetime,
html.dark .scdev-ev-ticket-datetime {
    color: #94a3b8 !important;
}

body.dark-mode .scdev-ev-ticket-title,
body.night-mode .scdev-ev-ticket-title,
body.sheer-dark-mode .scdev-ev-ticket-title,
html.dark .scdev-ev-ticket-title {
    color: #60a5fa !important;
}

body.dark-mode .scdev-ev-ticket-desc,
body.night-mode .scdev-ev-ticket-desc,
body.sheer-dark-mode .scdev-ev-ticket-desc,
html.dark .scdev-ev-ticket-desc {
    color: #cbd5e1 !important;
}

body.dark-mode .scdev-ev-ticket-stub,
body.night-mode .scdev-ev-ticket-stub,
body.sheer-dark .scdev-ev-ticket-stub,
body.sheer-dark-mode .scdev-ev-ticket-stub,
body.wp-dark-mode-active .scdev-ev-ticket-stub,
html.dark .scdev-ev-ticket-stub,
[data-theme="dark"] .scdev-ev-ticket-stub,
[data-color-scheme="dark"] .scdev-ev-ticket-stub {
    background: #171822 !important;
    border-left: 2px dashed rgba(255, 255, 255, 0.12) !important;
    border-top-color: rgba(255, 255, 255, 0.12) !important;
}

body.dark-mode .scdev-ev-stub-month,
body.night-mode .scdev-ev-stub-month,
body.sheer-dark-mode .scdev-ev-stub-month,
html.dark .scdev-ev-stub-month {
    color: #94a3b8 !important;
}

body.dark-mode .scdev-ev-stub-day,
body.night-mode .scdev-ev-stub-day,
body.sheer-dark-mode .scdev-ev-stub-day,
html.dark .scdev-ev-stub-day {
    color: #f8fafc !important;
}

body.dark-mode .scdev-ev-stub-year,
body.night-mode .scdev-ev-stub-year,
body.sheer-dark-mode .scdev-ev-stub-year,
html.dark .scdev-ev-stub-year {
    color: #94a3b8 !important;
}

body.dark-mode .scdev-ev-stub-meta,
body.night-mode .scdev-ev-stub-meta,
body.sheer-dark-mode .scdev-ev-stub-meta,
html.dark .scdev-ev-stub-meta {
    color: #94a3b8 !important;
}

/* Event Organiser Row Dark Mode */
body.dark-mode .scdev-ev-organiser-row,
body.night-mode .scdev-ev-organiser-row,
body.sheer-dark .scdev-ev-organiser-row,
body.sheer-dark-mode .scdev-ev-organiser-row,
body.wp-dark-mode-active .scdev-ev-organiser-row,
html.dark .scdev-ev-organiser-row,
[data-theme="dark"] .scdev-ev-organiser-row,
[data-color-scheme="dark"] .scdev-ev-organiser-row {
    color: #94a3b8 !important;
}

body.dark-mode .scdev-ev-organiser-label,
body.night-mode .scdev-ev-organiser-label,
body.sheer-dark .scdev-ev-organiser-label,
body.sheer-dark-mode .scdev-ev-organiser-label,
body.wp-dark-mode-active .scdev-ev-organiser-label,
html.dark .scdev-ev-organiser-label,
[data-theme="dark"] .scdev-ev-organiser-label,
[data-color-scheme="dark"] .scdev-ev-organiser-label {
    color: #94a3b8 !important;
    font-weight: 600 !important;
}

body.dark-mode .scdev-ev-organiser-meta,
body.night-mode .scdev-ev-organiser-meta,
body.dark-mode .scdev-ev-organiser-plain,
body.night-mode .scdev-ev-organiser-plain,
body.sheer-dark .scdev-ev-organiser-meta,
body.sheer-dark-mode .scdev-ev-organiser-meta,
body.wp-dark-mode-active .scdev-ev-organiser-meta,
html.dark .scdev-ev-organiser-meta,
[data-theme="dark"] .scdev-ev-organiser-meta,
[data-color-scheme="dark"] .scdev-ev-organiser-meta {
    color: #f8fafc !important;
    font-weight: 600 !important;
}

body.dark-mode .scdev-ev-organiser-meta span,
body.night-mode .scdev-ev-organiser-meta span,
body.dark-mode .scdev-ev-organiser-plain span,
body.night-mode .scdev-ev-organiser-plain span,
body.sheer-dark-mode .scdev-ev-organiser-meta span,
html.dark .scdev-ev-organiser-meta span {
    color: #f8fafc !important;
}

/* Event Share Buttons Dark Mode */
body.dark-mode .scdev-ev-share-btn,
body.night-mode .scdev-ev-share-btn,
body.sheer-dark .scdev-ev-share-btn,
body.sheer-dark-mode .scdev-ev-share-btn,
body.wp-dark-mode-active .scdev-ev-share-btn,
html.dark .scdev-ev-share-btn,
[data-theme="dark"] .scdev-ev-share-btn,
[data-color-scheme="dark"] .scdev-ev-share-btn {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    color: #cbd5e1 !important;
}

body.dark-mode .scdev-ev-share-btn:hover,
body.night-mode .scdev-ev-share-btn:hover,
body.sheer-dark .scdev-ev-share-btn:hover,
body.sheer-dark-mode .scdev-ev-share-btn:hover,
body.wp-dark-mode-active .scdev-ev-share-btn:hover,
html.dark .scdev-ev-share-btn:hover,
[data-theme="dark"] .scdev-ev-share-btn:hover,
[data-color-scheme="dark"] .scdev-ev-share-btn:hover {
    background: rgba(255, 255, 255, 0.16) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

body.dark-mode .scdev-ev-share-copy,
body.night-mode .scdev-ev-share-copy,
body.sheer-dark-mode .scdev-ev-share-copy,
html.dark .scdev-ev-share-copy {
    color: #94a3b8 !important;
}

body.dark-mode .scdev-ev-share-twitter,
body.night-mode .scdev-ev-share-twitter,
body.sheer-dark-mode .scdev-ev-share-twitter,
html.dark .scdev-ev-share-twitter {
    color: #f8fafc !important;
}

body.dark-mode .scdev-ev-share-twitter:hover,
body.night-mode .scdev-ev-share-twitter:hover {
    color: #38bdf8 !important;
    background: rgba(56, 189, 248, 0.15) !important;
    border-color: rgba(56, 189, 248, 0.4) !important;
}

body.dark-mode .scdev-ev-share-facebook,
body.night-mode .scdev-ev-share-facebook,
body.sheer-dark-mode .scdev-ev-share-facebook,
html.dark .scdev-ev-share-facebook {
    color: #60a5fa !important;
}

body.dark-mode .scdev-ev-share-facebook:hover,
body.night-mode .scdev-ev-share-facebook:hover {
    color: #93c5fd !important;
    background: rgba(96, 165, 250, 0.15) !important;
    border-color: rgba(96, 165, 250, 0.4) !important;
}

body.dark-mode .scdev-ev-share-whatsapp,
body.night-mode .scdev-ev-share-whatsapp,
body.sheer-dark-mode .scdev-ev-share-whatsapp,
html.dark .scdev-ev-share-whatsapp {
    color: #4ade80 !important;
}

body.dark-mode .scdev-ev-share-whatsapp:hover,
body.night-mode .scdev-ev-share-whatsapp:hover {
    color: #86efac !important;
    background: rgba(74, 222, 128, 0.15) !important;
    border-color: rgba(74, 222, 128, 0.4) !important;
}

body.dark-mode .scdev-ev-share-internal,
body.night-mode .scdev-ev-share-internal,
body.sheer-dark-mode .scdev-ev-share-internal,
html.dark .scdev-ev-share-internal {
    background: rgba(59, 130, 246, 0.15) !important;
    border-color: rgba(59, 130, 246, 0.35) !important;
    color: #60a5fa !important;
}

body.dark-mode .scdev-ev-share-internal:hover,
body.night-mode .scdev-ev-share-internal:hover {
    background: rgba(59, 130, 246, 0.25) !important;
    color: #93c5fd !important;
}

body.dark-mode .scdev-ev-share-count-badge,
body.night-mode .scdev-ev-share-count-badge,
body.sheer-dark-mode .scdev-ev-share-count-badge,
html.dark .scdev-ev-share-count-badge {
    color: #cbd5e1 !important;
}

/* Event Tabs Dark Mode */
body.dark-mode .scdev-ev-tab,
body.night-mode .scdev-ev-tab,
body.sheer-dark .scdev-ev-tab,
body.sheer-dark-mode .scdev-ev-tab,
body.wp-dark-mode-active .scdev-ev-tab,
html.dark .scdev-ev-tab,
[data-theme="dark"] .scdev-ev-tab,
[data-color-scheme="dark"] .scdev-ev-tab {
    color: #94a3b8 !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 2px solid transparent !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-weight: 600 !important;
}

body.dark-mode .scdev-ev-tab:hover,
body.night-mode .scdev-ev-tab:hover,
body.sheer-dark .scdev-ev-tab:hover,
body.sheer-dark-mode .scdev-ev-tab:hover,
body.wp-dark-mode-active .scdev-ev-tab:hover,
html.dark .scdev-ev-tab:hover,
[data-theme="dark"] .scdev-ev-tab:hover,
[data-color-scheme="dark"] .scdev-ev-tab:hover {
    color: #f8fafc !important;
    background: transparent !important;
}

body.dark-mode .scdev-ev-tab.active,
body.night-mode .scdev-ev-tab.active,
body.sheer-dark .scdev-ev-tab.active,
body.sheer-dark-mode .scdev-ev-tab.active,
body.wp-dark-mode-active .scdev-ev-tab.active,
html.dark .scdev-ev-tab.active,
[data-theme="dark"] .scdev-ev-tab.active,
[data-color-scheme="dark"] .scdev-ev-tab.active {
    color: #60a5fa !important;
    border-bottom-color: #3b82f6 !important;
    font-weight: 700 !important;
    background: transparent !important;
}

/* ---- Admin Actions (Centered) ---- */
.scdev-ev-admin-actions {
    display: flex !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    margin-top: 32px !important;
    padding-top: 24px !important;
    border-top: 1px solid var(--scdev-ev-border, #cbd5e1) !important;
}

/* Hide duplicate floating cart button underneath the top-right user avatar bubble */
#fc-floating-cart {
    display: none !important;
}

/* FCommerce Pages Theme Width & Alignment */
.scdev-single-content .fc-wrap,
.scdev-single-content #fc-edit-product-page,
.scdev-single-content .fc-cart-wrap,
.scdev-single-content .fc-checkout-wrap,
.scdev-single-content .fc-orders-wrap,
.scdev-single-content .fc-earn-wrap {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.scdev-single-content #fc-edit-product-form {
    width: 100% !important;
    box-sizing: border-box !important;
}

.scdev-single-content .wp-editor-wrap {
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Public Profile Page: Hide all sidebars & sliding sidebars */
body.scdev-user-meta-page .scdev-sidebar,
body.scdev-user-meta-page .scdev-sidebar-left,
body.scdev-user-meta-page .scdev-sidebar-right,
body.scdev-user-meta-page .scdev-sidebar-toggle,
body.scdev-user-meta-page .scdev-sidebar-toggle-left,
body.scdev-user-meta-page .scdev-sidebar-toggle-right,
body.scdev-user-meta-page .scdev-sidebar-toggles,
body.scdev-user-meta-page .scdev-sidebars-container,
body.scdev-user-meta-page .scdev-sidebars-overlay,
body.scdev-user-meta-page #scdev-mobile-modal-left,
body.scdev-user-meta-page #scdev-mobile-modal-right,
body.scdev-user-meta-page .theme-sidebar,
body.scdev-user-meta-page .right-sidebar,
body.scdev-user-meta-page .left-sidebar,
body.scdev-user-meta-page .sidebar-mobile-toggle,
body.scdev-user-meta-page .scdev-global-back-btn {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

html:has(body.scdev-user-meta-page),
body.scdev-user-meta-page {
    background-color: #dbeafe !important;
    background: linear-gradient(135deg, #c7d2fe 0%, #fbcfe8 50%, #bae6fd 100%) !important;
}

/* Public Profile Page Theme Width & Height Adaptation */
body.scdev-user-meta-page .scdev-single-container,
.scdev-single-container:has(.scdev-public-profile) {
    padding: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

body.scdev-user-meta-page .scdev-single-content,
.scdev-single-content:has(.scdev-public-profile) {
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
}

body.night-mode .scdev-public-profile,
body.night-mode .pub-profile-hero-shell,
body.night-mode #pub-profile-banner,
body.night-mode .pub-profile-hero,
body.night-mode .pub-profile-about,
body.night-mode .pub-profile-banner,
body.night-mode .scdev-single-container:has(.scdev-public-profile),
body.night-mode .scdev-single-content:has(.scdev-public-profile),
body.night-mode .scdev-single-stage:has(.scdev-public-profile),
body.night-mode.scdev-user-meta-page .scdev-single-stage,
body.night-mode.scdev-user-meta-page .scdev-single-container,
body.night-mode.scdev-user-meta-page .scdev-single-content,
body.night-mode.scdev-user-meta-page .page-content,
body.night-mode.scdev-user-meta-page .content-area,
body.night-mode.scdev-user-meta-page .site-content,
body.night-mode.scdev-user-meta-page .main-content-area,
body.night-mode.scdev-user-meta-page .site-main,
body.night-mode.scdev-user-meta-page #primary,
body.night-mode.scdev-user-meta-page #content,
body.night-mode.scdev-user-meta-page .entry-content {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
}

.scdev-single-content .scdev-public-profile,
body.scdev-user-meta-page .scdev-public-profile {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

.scdev-single-content .scdev-public-profile .pub-profile-hero-shell,
body.scdev-user-meta-page .scdev-public-profile .pub-profile-hero-shell {
    width: 100% !important;
    height: 100% !important;
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

.scdev-single-content .scdev-public-profile #pub-profile-banner.pub-profile-hero,
body.scdev-user-meta-page .scdev-public-profile #pub-profile-banner.pub-profile-hero {
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    flex: 1 1 auto !important;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    overflow: visible !important;
}

.scdev-single-content .scdev-public-profile .pub-profile-hero-bg,
body.scdev-user-meta-page .scdev-public-profile .pub-profile-hero-bg {
    position: absolute !important;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    /* background-size / position / repeat are set via PHP inline style — do NOT override */
    z-index: 0 !important;
    pointer-events: none !important;
}

.scdev-single-content .scdev-public-profile .pub-profile-top-bar,
body.scdev-user-meta-page .scdev-public-profile .pub-profile-top-bar {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 100 !important;
    pointer-events: auto !important;
    display: block !important;
    overflow: visible !important;
}

/* Fixed mobile safe area: the top bar is fixed and must never cover content. */
@media (max-width: 768px) {

    /* Block 1: Standard Pages on Mobile (Fixed top bar requires 54px top padding) */
    body:not(.page-template-page-login):not(.page-template-template-explore) .scdev-single-stage {
        padding: 54px 14px 54px 14px !important;
        height: 100vh !important;
        height: 100dvh !important;
        max-height: 100vh !important;
        max-height: 100dvh !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: stretch !important;
        overflow: hidden !important;
    }

    body:not(.page-template-page-login):not(.page-template-template-explore) .scdev-single-container {
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
        max-height: 100% !important;
        flex: 1 1 auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        border-radius: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        display: flex !important;
        flex-direction: column !important;
        background: transparent;
        box-shadow: none;
        border: none;
    }

    body:not(.page-template-page-login):not(.page-template-template-explore) .scdev-single-content {
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
        flex: 1 1 auto !important;
        min-height: 0 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        padding: 6px 0 24px 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        -webkit-overflow-scrolling: touch !important;
    }

    /* If cart is in sidebar, do not show in mobile header */
    body:has(.scdev-sidebar-cart-link) #scdev-mbar-cart-btn,
    body:has(.scdev-sidebar-cart-item) #scdev-mbar-cart-btn {
        display: none !important;
    }





    /* Public Profile Mobile layout */
    .scdev-single-content .scdev-public-profile .pub-profile-top-bar,
    body.scdev-user-meta-page .scdev-public-profile .pub-profile-top-bar,
    body.scdev-user-meta-page .pub-profile-top-bar {
        position: relative !important;
        width: 100% !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
    }
}

/* ==========================================================================
   Full-Width / Edge-to-Edge Hero Slider Container Overrides
   ========================================================================== */
.scdev-single-container:has(.scdev-slider-container.is-fullwidth),
.scdev-single-container.has-fullwidth-slider {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 0 !important;
}

.scdev-single-container:has(.scdev-slider-container.is-fullwidth) .scdev-single-content,
.scdev-single-container.has-fullwidth-slider .scdev-single-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 0 !important;
}

.scdev-single-container:has(.scdev-slider-container.is-fullwidth) .scdev-single-content>*:not(.scdev-slider-container):not(.scdev-columns):not(.alignfull):not(.scdev-page-banner),
.scdev-single-container.has-fullwidth-slider .scdev-single-content>*:not(.scdev-slider-container):not(.scdev-columns):not(.alignfull):not(.scdev-page-banner) {
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

/* ==========================================================================
   Profile Page Night / Dark Mode Bright Fonts & High Contrast Styles
   ========================================================================== */
body.night-mode .scdev-profile-page,
body.dark-mode .scdev-profile-page,
body.sheer-dark-mode .scdev-profile-page,
html[data-color-scheme="dark"] .scdev-profile-page,
body[data-color-scheme="dark"] .scdev-profile-page,
[data-theme="dark"] .scdev-profile-page,
body.night-mode .profile-tabs,
body.dark-mode .profile-tabs,
body.night-mode .scdev-profile-nav,
body.dark-mode .scdev-profile-nav {
    color: #f1f5f9 !important;
}

/* Tab Navigation Buttons in Dark / Night Mode */
body.night-mode .profile-tabs .tab-btn,
body.dark-mode .profile-tabs .tab-btn,
body.sheer-dark-mode .profile-tabs .tab-btn,
html[data-color-scheme="dark"] .profile-tabs .tab-btn,
body[data-color-scheme="dark"] .profile-tabs .tab-btn,
[data-theme="dark"] .profile-tabs .tab-btn,
body.night-mode .tab-btn,
body.dark-mode .tab-btn,
body.sheer-dark-mode .tab-btn,
html[data-color-scheme="dark"] .tab-btn,
body[data-color-scheme="dark"] .tab-btn,
[data-theme="dark"] .tab-btn,
body.night-mode .scdev-profile-page .tab-btn,
body.dark-mode .scdev-profile-page .tab-btn,
body.night-mode .scdev-tab-btn,
body.dark-mode .scdev-tab-btn,
body.night-mode .nav-tabs .nav-link,
body.dark-mode .nav-tabs .nav-link {
    color: #f1f5f9 !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
}

body.night-mode .profile-tabs .tab-btn:hover,
body.dark-mode .profile-tabs .tab-btn:hover,
body.sheer-dark-mode .profile-tabs .tab-btn:hover,
html[data-color-scheme="dark"] .profile-tabs .tab-btn:hover,
body[data-color-scheme="dark"] .profile-tabs .tab-btn:hover,
[data-theme="dark"] .profile-tabs .tab-btn:hover,
body.night-mode .tab-btn:hover,
body.dark-mode .tab-btn:hover,
body.sheer-dark-mode .tab-btn:hover,
html[data-color-scheme="dark"] .tab-btn:hover,
body[data-color-scheme="dark"] .tab-btn:hover,
[data-theme="dark"] .tab-btn:hover,
body.night-mode .scdev-tab-btn:hover,
body.dark-mode .scdev-tab-btn:hover,
body.night-mode .nav-tabs .nav-link:hover,
body.dark-mode .nav-tabs .nav-link:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.14) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
}

body.night-mode .profile-tabs .tab-btn.active,
body.dark-mode .profile-tabs .tab-btn.active,
body.sheer-dark-mode .profile-tabs .tab-btn.active,
html[data-color-scheme="dark"] .profile-tabs .tab-btn.active,
body[data-color-scheme="dark"] .profile-tabs .tab-btn.active,
[data-theme="dark"] .profile-tabs .tab-btn.active,
body.night-mode .tab-btn.active,
body.dark-mode .tab-btn.active,
body.sheer-dark-mode .tab-btn.active,
html[data-color-scheme="dark"] .tab-btn.active,
body[data-color-scheme="dark"] .tab-btn.active,
[data-theme="dark"] .tab-btn.active,
body.night-mode .scdev-tab-btn.active,
body.dark-mode .scdev-tab-btn.active,
body.night-mode .nav-tabs .nav-link.active,
body.dark-mode .nav-tabs .nav-link.active {
    color: #ffffff !important;
    background: #2563eb !important;
    border-color: #3b82f6 !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.45) !important;
}

/* Headings, Labels, Info Items, and Form Inputs in Dark / Night Mode */
body.night-mode .scdev-profile-page h1,
body.night-mode .scdev-profile-page h2,
body.night-mode .scdev-profile-page h3,
body.night-mode .scdev-profile-page h4,
body.night-mode .scdev-profile-page h5,
body.dark-mode .scdev-profile-page h1,
body.dark-mode .scdev-profile-page h2,
body.dark-mode .scdev-profile-page h3,
body.dark-mode .scdev-profile-page h4,
body.dark-mode .scdev-profile-page h5,
body.night-mode .scdev-profile-header-title,
body.dark-mode .scdev-profile-header-title {
    color: #ffffff !important;
}

body.night-mode .scdev-profile-page label,
body.dark-mode .scdev-profile-page label,
body.night-mode .scdev-profile-page strong,
body.dark-mode .scdev-profile-page strong {
    color: #cbd5e1 !important;
}

body.night-mode .scdev-profile-page span:not(.user-level-badge):not(.scdev-tab-badge):not(.scdev-tab-count),
body.dark-mode .scdev-profile-page span:not(.user-level-badge):not(.scdev-tab-badge):not(.scdev-tab-count),
body.night-mode .scdev-profile-page p,
body.dark-mode .scdev-profile-page p {
    color: #f1f5f9 !important;
}

body.night-mode .scdev-profile-page input[type="text"],
body.night-mode .scdev-profile-page input[type="email"],
body.night-mode .scdev-profile-page input[type="tel"],
body.night-mode .scdev-profile-page input[type="url"],
body.night-mode .scdev-profile-page input[type="date"],
body.night-mode .scdev-profile-page textarea,
body.night-mode .scdev-profile-page select,
body.dark-mode .scdev-profile-page input[type="text"],
body.dark-mode .scdev-profile-page input[type="email"],
body.dark-mode .scdev-profile-page input[type="tel"],
body.dark-mode .scdev-profile-page input[type="url"],
body.dark-mode .scdev-profile-page input[type="date"],
body.dark-mode .scdev-profile-page textarea,
body.dark-mode .scdev-profile-page select {
    background: #0f172a !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}