/* Delivermoor admin shell — Extreme Savers colour palette */

:root {
    --mm-primary: #FF85BB;
    --mm-primary-hover: #FF6BAD;
    --mm-primary-dark: #E05A9A;
    --mm-primary-soft: #FFCEE3;
    --mm-primary-muted: rgba(255, 133, 187, 0.15);
    --mm-accent: #021A54;
    --mm-sidebar: #021A54;
    --mm-sidebar-border: rgba(255, 255, 255, 0.08);
    --mm-bg: #F5F5F5;
    --mm-border: rgba(2, 26, 84, 0.1);
    --mm-border-strong: rgba(2, 26, 84, 0.18);
    --mm-text: #021A54;
    --mm-text-secondary: rgba(2, 26, 84, 0.78);
    --mm-text-muted: rgba(2, 26, 84, 0.55);
}

.mmct-scroll-hidden {
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.mmct-scroll-hidden::-webkit-scrollbar { display: none; width: 0; height: 0; }

.mmct-nosummary { list-style: none; }
.mmct-nosummary::-webkit-details-marker { display: none; }
.mmct-nosummary::marker { content: ""; }

.mmct-sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 150;
}
.mmct-sidebar-backdrop.show { display: block; }

#mmct-sidebar { transition: transform 0.22s ease; }
@media (max-width: 1024px) {
    #mmct-sidebar { transform: translateX(-100%); }
    #mmct-sidebar.open { transform: translateX(0); }
}

.mmct-content.dm-legacy-wrap {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.dm-legacy-wrap .wrap,
.dm-legacy-wrap .em-wrap,
.dm-legacy-wrap .lm-wrap,
.dm-legacy-wrap .emd-shell {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
}

.dm-legacy-wrap .wrap { padding: 0; }

#wpcontent, #wpbody, #wpbody-content { margin: 0 !important; padding: 0 !important; }
#wpadminbar, #adminmenumain, #adminmenuback { display: none !important; }

/* Hide legacy plugin footer — replaced by mmct-panel-footer in layout */
.dm-legacy-wrap .mmct-footer,
.mmct-footer {
    display: none !important;
}

.mmct-panel-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 28px 28px;
    font-size: 13px;
    color: var(--mm-text-muted, #64748b);
    border-top: 1px solid var(--mm-border, #e2e8f0);
    flex-shrink: 0;
}

.mmct-panel-footer a {
    color: var(--mm-text-muted, #64748b);
    text-decoration: none;
}

.mmct-panel-footer a:hover {
    color: var(--mm-primary, #FF85BB);
    text-decoration: underline;
}
