/* ───────────────────────────────
   Greenish Craft CP Theme
──────────────────────────────── */

.global-sidebar__header {
    color: #bf3922;

    #system-info {
        grid-template-columns: auto;
    }

    #site-icon {
        display: none;
    }
}

/*
:root {
    !* General backgrounds *!
    --color-bg: #f0fdf4;             !* pale green tint (was gray-050) *!
    --color-bg-alt: #ffffff;
    --color-bg-overlay: #ffffff;
    --color-border: #d1fae5;         !* light green border *!
    --color-text: #064e3b;           !* dark teal text *!
    --color-text-alt: #166534;       !* muted green text *!
    --color-text-disabled: #9ca3af;

    !* Accent and focus colors *!
    --color-accent: #16a34a;         !* emerald-600 *!
    --color-focus-ring: #16a34a;

    !* State colors *!
    --color-success: #22c55e;
    --color-warning: #facc15;
    --color-error: #ef4444;

    !* Sidebar backgrounds *!
    --color-bg-sidebar: #dcfce7;
    --color-bg-sidebar-alt: #bbf7d0;
    --color-text-sidebar: #064e3b;

    !* Scrollbars, borders, etc. *!
    --scrollbar-thumb: #86efac;
    --scrollbar-track: #ecfdf5;
}

!* Make the sidebar blend with theme *!
body[data-theme] #main-container #nav {
    background-color: var(--color-bg-sidebar) !important;
    color: var(--color-text-sidebar);
}

!* CP header bar *!
#header {
    background-color: var(--color-accent);
    color: #fff;
}

!* Primary buttons, consistent with theme *!
.btn.submit {
    background-color: var(--color-accent);
    border-color: transparent;
    color: #fff;
}
.btn.submit:hover {
    background-color: #15803d;
}

!* Scrollbars *!
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border-radius: 8px;
}
::-webkit-scrollbar-track {
    background: var(--scrollbar-track);
}

!* Optional: subtle global gradient *!
body {
    background: linear-gradient(to bottom right, #f0fdf4, #dcfce7);
}



!* Apply to Craft’s sidebar *!
body #nav {
    background-color: var(--color-bg-sidebar) !important;
    color: var(--color-text-sidebar);
}

!* Optional: adjust link states inside nav *!
body #nav a {
    color: var(--color-text-sidebar);
}
body #nav a:hover {
    background: color-mix(in srgb, var(--color-bg-sidebar) 80%, #22c55e);
}*/
