/* Ecosystem owner panel — light theme (html[data-eco-theme="light"]) */

html[data-eco-theme="light"] body.bg-slate-950 {
    background-color: #f1f5f9 !important;
    color: #334155;
}
html[data-eco-theme="light"] .text-white { color: #0f172a !important; }
html[data-eco-theme="light"] .text-slate-200 { color: #334155 !important; }
html[data-eco-theme="light"] .text-slate-100 { color: #1e293b !important; }
html[data-eco-theme="light"] .text-slate-400 { color: #64748b !important; }
html[data-eco-theme="light"] .text-slate-500 { color: #64748b !important; }
html[data-eco-theme="light"] .text-cyan-300,
html[data-eco-theme="light"] .text-cyan-300\/90,
html[data-eco-theme="light"] .text-cyan-400 { color: #0e7490 !important; }
html[data-eco-theme="light"] .hover\:text-cyan-300:hover { color: #0e7490 !important; }
html[data-eco-theme="light"] .border-slate-800,
html[data-eco-theme="light"] .border-slate-800\/60,
html[data-eco-theme="light"] .border-slate-800\/80 { border-color: #e2e8f0 !important; }
html[data-eco-theme="light"] .border-slate-700 { border-color: #cbd5e1 !important; }
html[data-eco-theme="light"] .bg-slate-950\/95 { background-color: rgba(248, 250, 252, 0.95) !important; }
html[data-eco-theme="light"] .bg-slate-900 { background-color: #fff !important; }
html[data-eco-theme="light"] .modern-card {
    background: #fff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

/* Inline shell styles */
html[data-eco-theme="light"] .admin-table th,
html[data-eco-theme="light"] .admin-table td { border-bottom-color: #e2e8f0; }
html[data-eco-theme="light"] .admin-table th { color: #64748b; }
html[data-eco-theme="light"] .admin-stat {
    border-color: #e2e8f0;
    background: #fff;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}
html[data-eco-theme="light"] .admin-stat__value { color: #0f172a; }
html[data-eco-theme="light"] .admin-stat__label { color: #64748b; }
html[data-eco-theme="light"] .admin-ftp { color: #64748b; }
html[data-eco-theme="light"] .admin-ftp code { color: #475569; }
html[data-eco-theme="light"] .admin-muted { color: #64748b; }
html[data-eco-theme="light"] .admin-client { color: #0e7490; }
html[data-eco-theme="light"] .alert-success {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.35);
    color: #047857;
}
html[data-eco-theme="light"] .alert-error {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.3);
    color: #b91c1c;
}

/* Nav */
html[data-eco-theme="light"] .eco-admin-nav {
    border-bottom-color: #e2e8f0 !important;
    background: rgba(248, 250, 252, 0.95) !important;
}
html[data-eco-theme="light"] .eco-admin-nav__link { color: #64748b; }
html[data-eco-theme="light"] .eco-admin-nav__link:hover {
    color: #0f172a;
    background: rgba(148, 163, 184, 0.15);
}
html[data-eco-theme="light"] .eco-admin-nav__link.is-active {
    color: #0e7490;
    background: rgba(14, 116, 144, 0.1);
    border-color: rgba(14, 116, 144, 0.3);
}
html[data-eco-theme="light"] .eco-admin-nav__logout {
    color: #64748b !important;
    border-color: #cbd5e1 !important;
}
html[data-eco-theme="light"] .eco-admin-nav__logout:hover { color: #0f172a !important; }

/* Theme toggle */
.eco-admin-theme-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: .65rem;
    border: 1px solid #334155;
    background: rgba(15, 23, 42, 0.5);
    color: #94a3b8;
    cursor: pointer;
    transition: color .15s, border-color .15s, background .15s;
}
.eco-admin-theme-btn:hover {
    color: #22d3ee;
    border-color: rgba(34, 211, 238, 0.4);
    background: rgba(34, 211, 238, 0.08);
}
html[data-eco-theme="light"] .eco-admin-theme-btn {
    border-color: #cbd5e1;
    background: #fff;
    color: #64748b;
}
html[data-eco-theme="light"] .eco-admin-theme-btn:hover {
    color: #0e7490;
    border-color: rgba(14, 116, 144, 0.35);
    background: rgba(14, 116, 144, 0.08);
}
.eco-admin-theme-btn .eco-theme-icon--light { display: none; }
html[data-eco-theme="light"] .eco-admin-theme-btn .eco-theme-icon--dark { display: none; }
html[data-eco-theme="light"] .eco-admin-theme-btn .eco-theme-icon--light { display: inline; }

/* Sidebar */
html[data-eco-theme="light"] .eco-admin-sidebar {
    border-color: #e2e8f0;
    background: #fff;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}
html[data-eco-theme="light"] .eco-admin-sidebar__link { color: #64748b; }
html[data-eco-theme="light"] .eco-admin-sidebar__link:hover,
html[data-eco-theme="light"] .eco-admin-sidebar__link.is-active {
    color: #0f172a;
    background: rgba(14, 116, 144, 0.08);
}
html[data-eco-theme="light"] .eco-admin-sidebar__link.is-active { color: #0e7490; }
html[data-eco-theme="light"] .eco-admin-sidebar__count {
    background: #e2e8f0;
    color: #475569;
}
html[data-eco-theme="light"] .eco-admin-sidebar-mobile__link {
    color: #64748b;
    border-color: #e2e8f0;
    background: #fff;
}
html[data-eco-theme="light"] .eco-admin-sidebar-mobile__link.is-active {
    color: #0e7490;
    border-color: rgba(14, 116, 144, 0.35);
    background: rgba(14, 116, 144, 0.08);
}

/* Filters & cards */
html[data-eco-theme="light"] .eco-admin-filter {
    color: #64748b;
    background: #fff;
    border-color: #e2e8f0;
}
html[data-eco-theme="light"] .eco-admin-filter:hover { color: #0f172a; }
html[data-eco-theme="light"] .eco-admin-filter.is-active {
    color: #0e7490;
    border-color: rgba(14, 116, 144, 0.4);
    background: rgba(14, 116, 144, 0.08);
}
html[data-eco-theme="light"] .eco-category-card,
html[data-eco-theme="light"] .eco-license-card,
html[data-eco-theme="light"] .eco-admin-hub__card {
    border-color: #e2e8f0;
    background: #fff;
}
html[data-eco-theme="light"] .eco-category-card__title,
html[data-eco-theme="light"] .eco-admin-hub__body strong { color: #0f172a; }
html[data-eco-theme="light"] .eco-category-card__count,
html[data-eco-theme="light"] .eco-category-card__products,
html[data-eco-theme="light"] .eco-admin-hub__lead,
html[data-eco-theme="light"] .eco-admin-hub__count { color: #64748b; }
html[data-eco-theme="light"] .eco-category-card__products li { border-bottom-color: #f1f5f9; }
html[data-eco-theme="light"] .eco-admin-hub__card:hover {
    border-color: rgba(14, 116, 144, 0.4);
    background: #f8fafc;
}

/* Inputs & buttons */
html[data-eco-theme="light"] .eco-activity-input {
    border-color: #cbd5e1;
    background: #fff;
    color: #0f172a;
}
html[data-eco-theme="light"] .eco-activity-edit-btn {
    border-color: #e2e8f0;
    background: #fff;
    color: #64748b;
}
html[data-eco-theme="light"] .eco-activity-edit-btn:hover {
    color: #0e7490;
    border-color: rgba(14, 116, 144, 0.4);
    background: rgba(14, 116, 144, 0.06);
}
html[data-eco-theme="light"] .eco-activity-btn--ghost {
    border-color: #cbd5e1;
    color: #334155;
}
html[data-eco-theme="light"] .eco-activity-modal__backdrop { background: rgba(15, 23, 42, 0.35); }
html[data-eco-theme="light"] .eco-activity-modal__dialog {
    border-color: #e2e8f0;
    background: #fff;
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.15);
}
html[data-eco-theme="light"] .eco-payment-form-wrap,
html[data-eco-theme="light"] .eco-activity-payment-block { border-top-color: #e2e8f0; }

/* Messages inbox */
html[data-eco-theme="light"] .eco-msg-toolbar { border-bottom-color: #e2e8f0; }
html[data-eco-theme="light"] .eco-msg-toolbar__search {
    border-color: #e2e8f0;
    background: #fff;
}
html[data-eco-theme="light"] .eco-msg-search { color: #0f172a; }
html[data-eco-theme="light"] .eco-msg-toolbar__btn {
    border-color: #e2e8f0;
    background: #fff;
    color: #475569;
}
html[data-eco-theme="light"] .eco-msg-item:hover { background: #f8fafc; }
html[data-eco-theme="light"] .eco-msg-item.is-active { background: rgba(14, 116, 144, 0.08); }
html[data-eco-theme="light"] .eco-msg-item.is-unread .eco-msg-item__subject { color: #0f172a; }
html[data-eco-theme="light"] .eco-msg-item__subject { color: #334155; }
html[data-eco-theme="light"] .eco-msg-detail-wrap { border-left-color: #e2e8f0; }
html[data-eco-theme="light"] .eco-msg-detail__subject { color: #0f172a; }
html[data-eco-theme="light"] .eco-msg-detail__body,
html[data-eco-theme="light"] .eco-msg-bubble {
    border-color: #e2e8f0;
    background: #f8fafc;
    color: #334155;
}
html[data-eco-theme="light"] .eco-msg-bubble--owner {
    border-color: rgba(14, 116, 144, 0.25);
    background: rgba(14, 116, 144, 0.06);
}
html[data-eco-theme="light"] .eco-msg-bubble__body { color: #334155; }
html[data-eco-theme="light"] .eco-msg-detail__actions { border-bottom-color: #e2e8f0; }
html[data-eco-theme="light"] .eco-msg-compose {
    border-color: #e2e8f0;
    background: #fff;
}
html[data-eco-theme="light"] .eco-msg-compose[open] .eco-msg-compose__toggle {
    color: #334155;
    border-bottom-color: #e2e8f0;
}

/* Footer on admin pages */
html[data-eco-theme="light"] .site-footer {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 45%, #f8fafc 100%);
    border-top-color: #e2e8f0;
}
html[data-eco-theme="light"] .site-footer::before {
    background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(14, 116, 144, 0.06) 0%, transparent 70%);
}
html[data-eco-theme="light"] .footer-link { color: #64748b; }
html[data-eco-theme="light"] .footer-link:hover { color: #0f172a; }
html[data-eco-theme="light"] .footer-github-card {
    border-color: #e2e8f0;
    background: #fff;
}
html[data-eco-theme="light"] .footer-social-btn {
    border-color: #e2e8f0;
    background: #fff;
    color: #64748b;
}
html[data-eco-theme="light"] .site-footer .text-slate-300,
html[data-eco-theme="light"] .site-footer .text-slate-400 { color: #64748b !important; }
html[data-eco-theme="light"] .site-footer .text-white { color: #0f172a !important; }

/* Lang dropdown */
html[data-eco-theme="light"] .bh-lang-dropdown-toggle {
    border-color: #cbd5e1 !important;
    background: #fff !important;
    color: #475569 !important;
}
html[data-eco-theme="light"] .bh-lang-dropdown-menu {
    border-color: #e2e8f0 !important;
    background: #fff !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
}
html[data-eco-theme="light"] .bh-lang-dropdown-item { color: #475569 !important; }
html[data-eco-theme="light"] .bh-lang-dropdown-item:hover,
html[data-eco-theme="light"] .bh-lang-dropdown-item.is-active {
    background: rgba(14, 116, 144, 0.08) !important;
    color: #0e7490 !important;
}