/* =========================================================
   DEWPOINT PICKLEBALL
   MANAGEMENT / OWNER / DEVELOPER DASHBOARD THEME
   This file is exclusive to dewpoint.picklemaniaph.com
   ========================================================= */


/* ---------------------------------------------------------
   MAIN MANAGEMENT AREA
   --------------------------------------------------------- */

.shell:not(.player-shell){
    background:#f8fafc !important;
    color:#172033 !important;
}

.shell:not(.player-shell) .content{
    background:#f8fafc !important;
}










.shell:not(.player-shell) .dewpoint-logo b{
    color:#c8ff2f !important;
}

.shell:not(.player-shell) .dewpoint-logo i{
    color:#ffd633 !important;
}


/* ---------------------------------------------------------
   TOP DASHBOARD HEADER
   --------------------------------------------------------- */

.shell:not(.player-shell) .content > header{
    background:#fff !important;
    color:#172033 !important;
    border-bottom:1px solid #e5e7eb !important;
}

.shell:not(.player-shell) .content > header small{
    color:#64748b !important;
}


/* ---------------------------------------------------------
   VENUE / COURT NAME UPPER RIGHT
   DEWPOINT LANDING-PAGE ACCENT
   --------------------------------------------------------- */

.shell:not(.player-shell) .content > header b,
.shell:not(.player-shell) .content > header strong{
    color:#65a30d !important;
}

.shell:not(.player-shell) .content > header small:last-child{
    color:#4d7c0f !important;
}


/* ---------------------------------------------------------
   DASHBOARD TITLE AREA
   --------------------------------------------------------- */

.shell:not(.player-shell) .content h1,
.shell:not(.player-shell) .content h2,
.shell:not(.player-shell) .content h3{
    color:#172033;
}


/* ---------------------------------------------------------
   DASHBOARD CARDS
   --------------------------------------------------------- */

.shell:not(.player-shell) .card,
.shell:not(.player-shell) .panel,
.shell:not(.player-shell) .stat-card,
.shell:not(.player-shell) article{
    background:#fff;
}

.shell:not(.player-shell) .owner-dashboard,
.shell:not(.player-shell) .owner-dashboard-redesign{
    background:#f8fafc !important;
}


/* ---------------------------------------------------------
   DEVELOPER MODE
   KEEP ITS OWN LIGHT PURPLE IDENTITY
   --------------------------------------------------------- */

.developer-mode-bar{
    background:
        linear-gradient(
            110deg,
            #f5f3ff,
            #eef2ff
        ) !important;

    border-color:#ddd6fe !important;
}






/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media(max-width:760px){

    .shell:not(.player-shell) .content{
        background:#f8fafc !important;
    }

    .shell:not(.player-shell) .mobile-menu-sheet{
        background:
            linear-gradient(
                180deg,
                var(--dp-sidebar),
                var(--dp-sidebar-2)
            ) !important;

        color:
            var(--kr-sidebar-text) !important;
    }

    .shell:not(.player-shell) .mobile-menu-sheet button{
        color:
            var(--kr-text) !important;
    }

    .shell:not(.player-shell) .mobile-menu-sheet button.active{
        color:
            var(--dp-accent-text) !important;
    }
}

/* =========================================================
   DEWPOINT DASHBOARD THEME PICKER
   ========================================================= */

:root{
    --dp-accent:var(--kr-accent);
    --dp-accent-2:var(--kr-accent-2);
    --dp-accent-soft:var(--kr-accent-soft);
    --dp-accent-text:var(--kr-accent-text);
    --dp-sidebar:var(--kr-sidebar);
    --dp-sidebar-2:var(--kr-sidebar-2);
}









.shell:not(.player-shell) .content > header b,
.shell:not(.player-shell) .content > header strong{
    color:var(--dp-accent-text) !important;
}

.developer-view-switcher button.active{
    background:
        linear-gradient(
            90deg,
            var(--dp-accent),
            var(--dp-accent-2)
        ) !important;
}


/* ---------------------------------------------------------
   THEME PICKER
   --------------------------------------------------------- */

.dewpoint-theme-panel{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    padding:14px 16px;
    margin:0 0 12px;
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:16px;
    box-shadow:0 6px 18px rgba(15,23,42,.05);
}

.dewpoint-theme-copy{
    display:flex;
    flex-direction:column;
    gap:3px;
}

.dewpoint-theme-copy strong{
    font-size:12px;
    letter-spacing:.10em;
    color:#111827;
}

.dewpoint-theme-copy small{
    color:#64748b;
    font-size:12px;
}

.dewpoint-theme-options{
    display:flex;
    flex-wrap:wrap;
    gap:7px;
}

.dewpoint-theme-options button{
    border:2px solid transparent;
    border-radius:999px;
    padding:8px 12px;
    font-size:11px;
    font-weight:800;
    cursor:pointer;
    background:#f8fafc;
}

.dewpoint-theme-options button.active{
    border-color:#111827;
    box-shadow:0 0 0 2px #fff inset;
}

.dewpoint-theme-options .theme-red{
    background:#dc2626;
    color:#fff;
}

.dewpoint-theme-options .theme-black{
    background:#111827;
    color:#fff;
}

.dewpoint-theme-options .theme-yellow{
    background:#facc15;
    color:#111827;
}

.dewpoint-theme-options .theme-pink{
    background:#ec4899;
    color:#fff;
}

.dewpoint-theme-options .theme-blue{
    background:#2563eb;
    color:#fff;
}

.dewpoint-theme-options .theme-green{
    background:#16a34a;
    color:#fff;
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media(max-width:760px){

    .dewpoint-theme-panel{
        align-items:flex-start;
        flex-direction:column;
    }

    .dewpoint-theme-options{
        width:100%;
        flex-wrap:nowrap;
        overflow-x:auto;
        padding-bottom:2px;
    }

    .dewpoint-theme-options button{
        flex:0 0 auto;
    }
}








/* ---------------------------------------------------------
   COLOR BOX PICKER
   --------------------------------------------------------- */

.dewpoint-theme-panel{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:22px;

    margin:0 0 14px;
    padding:16px 18px;

    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:18px;

    box-shadow:
        0 8px 25px rgba(15,23,42,.05);
}

.dewpoint-theme-copy{
    display:flex;
    flex-direction:column;
    gap:4px;

    min-width:160px;
}

.dewpoint-theme-copy strong{
    font-size:12px;
    letter-spacing:.11em;
    color:#111827;
}

.dewpoint-theme-copy small{
    font-size:12px;
    color:#64748b;
}

.dewpoint-theme-options{
    display:flex;
    flex-wrap:wrap;
    justify-content:flex-end;
    gap:10px;
}

.dewpoint-theme-options .theme-box{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:5px;

    min-width:52px;

    padding:5px;

    border:1px solid transparent;
    border-radius:12px;

    background:transparent;

    cursor:pointer;

    transition:
        transform .15s ease,
        background .15s ease,
        border-color .15s ease;
}

.dewpoint-theme-options .theme-box:hover{
    transform:translateY(-2px);
    background:#f8fafc;
}

.dewpoint-theme-options .theme-box.active{
    background:#f8fafc;
    border-color:#cbd5e1;
}

.theme-swatch{
    display:flex;
    align-items:center;
    justify-content:center;

    width:38px;
    height:38px;

    border-radius:10px;

    color:#fff;

    font-size:18px;
    font-weight:900;

    border:2px solid rgba(255,255,255,.9);

    box-shadow:
        0 0 0 1px rgba(15,23,42,.15),
        0 4px 10px rgba(15,23,42,.12);
}

.dewpoint-theme-options small{
    font-size:9px;
    font-weight:800;
    letter-spacing:.03em;
    color:#475569;
}


/* SWATCH COLORS */

.swatch-red{
    background:#dc2626;
}

.swatch-black{
    background:#111827;
}

.swatch-yellow{
    background:#facc15;
    color:#111827;
}

.swatch-pink{
    background:#ec4899;
}

.swatch-blue{
    background:#2563eb;
}

.swatch-green{
    background:#16a34a;
}

.swatch-purple{
    background:#7c3aed;
}

.swatch-orange{
    background:#f97316;
}

.swatch-teal{
    background:#0d9488;
}

.swatch-cyan{
    background:#06b6d4;
}

.swatch-gray{
    background:#6b7280;
}

.swatch-brown{
    background:#92400e;
}



.shell:not(.player-shell) .content > header b,
.shell:not(.player-shell) .content > header strong{
    color:var(--dp-accent-text) !important;
}

.developer-view-switcher button.active{
    background:
        linear-gradient(
            90deg,
            var(--dp-accent),
            var(--dp-accent-2)
        ) !important;
}


/* MOBILE */

@media(max-width:760px){

    .dewpoint-theme-panel{
        flex-direction:column;
        gap:12px;
    }

    .dewpoint-theme-options{
        justify-content:flex-start;

        width:100%;

        flex-wrap:nowrap;

        overflow-x:auto;

        padding:2px 2px 8px;

        -webkit-overflow-scrolling:touch;
    }

    .dewpoint-theme-options .theme-box{
        flex:0 0 auto;
    }
}

