/* eYumba admin: grouped sidebar (sections from js/modules/admin/sidebar-groups.js) */
.main-container .main .sidebar-container .sidebar .sidebar-menu-container .sidebar-group .sidebar-group-head {
    height: 46px; align-items: center; white-space: nowrap; overflow: hidden; border-left: 3px solid transparent;
}
.main-container .main .sidebar-container .sidebar .sidebar-menu-container .sidebar-group .sidebar-group-head:hover { background-color: rgba(255, 255, 255, .08); border-radius: 5px; }
.main-container .main .sidebar-container .sidebar .sidebar-menu-container .sidebar-group .sidebar-group-head .sidebar-menu-item-icon { text-align: center; width: 25px; }
.main-container .main .sidebar-container .sidebar .sidebar-menu-container .sidebar-group .sidebar-group-head .sidebar-menu-item-desc { flex: 1; overflow: hidden; text-overflow: ellipsis; }
.sidebar-group-chevron { width: 14px; text-align: center; opacity: .7; transition: transform .2s ease; }
.sidebar-group-open > .sidebar-group-head .sidebar-group-chevron { transform: rotate(90deg); }

.main-container .main .sidebar-container .sidebar .sidebar-menu-container .sidebar-group .dropdown-sub-menu-item-contents {
    display: none; background-color: rgba(0, 0, 0, .18); padding: 4px 0 !important;
}
.main-container .main .sidebar-container .sidebar .sidebar-menu-container .sidebar-group.sidebar-group-open .dropdown-sub-menu-item-contents { display: block; }
.main-container .main .sidebar-container .sidebar .sidebar-menu-container .sidebar-group .dropdown-sub-menu-item-contents .sidebar-menu-item {
    height: 40px; padding: 0 0 0 22px; font-size: .92em;
}
.main-container .main .sidebar-container .sidebar .sidebar-menu-container .sidebar-group .dropdown-sub-menu-item-contents .sidebar-menu-item .sidebar-menu-item-icon i { font-size: 1em; }
.sidebar-group-open > .sidebar-group-head { font-weight: 600; }

/* The page you're on */
.main-container .main .sidebar-container .sidebar .sidebar-menu-container .sidebar-menu-item.sidebar-menu-item-active {
    background-color: #6b3a1a; border-left: 3px solid #e0a526 !important; border-radius: 0 5px 5px 0; font-weight: 600;
}
.main-container .main .sidebar-container .sidebar .sidebar-menu-container .sidebar-menu-item.sidebar-menu-item-active .sidebar-menu-item-icon i { color: #e0a526 !important; }

/* Section names like "Subscriptions & Packages" need more room than the 15% column */
@media (min-width: 992px) {
    .main-container .main .sidebar-container:has(.sidebar-group) { min-width: 262px; flex-shrink: 0; }
}
.main-container .main .sidebar-container .sidebar .sidebar-menu-container .sidebar-group .sidebar-group-head { padding-left: 18px !important; padding-right: 12px !important; font-size: .95em; }

/* eYumba admin dashboard (admin/components/HomeView.component.js) */
.ey-dash .ey-dash-panel { background: #fff; border-radius: 14px; padding: 18px 20px; height: 100%; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.ey-dash .ey-dash-panel-title { font-size: 1.05rem; font-weight: 600; color: #4e2a12; margin: 0 0 2px; }
.ey-dash .ey-dash-panel-title i { color: #e0a526; }
.ey-dash .ey-dash-panel-note { color: #8a8a8a; font-size: .85rem; margin: 0 0 10px; }
.ey-dash .ey-dash-list { list-style: none; margin: 0; padding: 0; }
.ey-dash .ey-dash-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid #f1ece7; flex-wrap: wrap; }
.ey-dash .ey-dash-row:first-child { border-top: 0; }
.ey-dash .ey-dash-row-main { flex: 1 1 180px; min-width: 0; color: #333; font-weight: 500; overflow: hidden; text-overflow: ellipsis; }
.ey-dash a.ey-dash-row-main:hover { color: #4e2a12; text-decoration: underline; }
.ey-dash .ey-dash-row-sub { color: #8a8a8a; font-size: .85em; font-weight: 400; text-transform: capitalize; }
.ey-dash .ey-dash-row-date { color: #9a9a9a; font-size: .82em; white-space: nowrap; }
.ey-dash .ey-dash-pill { background: #f4efe9; color: #4e2a12; border-radius: 999px; padding: 2px 10px; font-size: .82em; font-weight: 600; white-space: nowrap; }
.ey-dash .ey-dash-pill-paid { background: #fdf3dc; color: #a06d00; }
.ey-dash .ey-dash-empty { color: #9a9a9a; padding: 8px 0; }
.ey-dash .ey-dash-activity-icon { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: .8em; flex: 0 0 30px; }
.ey-dash .ey-dash-activity-listing { background: #e8f3e6; color: #3d7a35; }
.ey-dash .ey-dash-activity-payment { background: #fdf3dc; color: #a06d00; }
.ey-dash .ey-dash-activity-enquiry { background: #e4f1f7; color: #2a6f8e; }
.ey-dash .ey-dash-activity-kyc { background: #f4efe9; color: #4e2a12; }
.ey-dash .ey-dash-grid .stats-card .card-body { padding: 14px 16px; }
.ey-dash .ey-dash-grid .stats-icon { width: 46px; height: 46px; margin-right: 12px !important; }
.ey-dash .ey-dash-grid .stats-icon i { font-size: 1.15rem; }
.ey-dash .ey-dash-grid .stats-title { font-size: .72rem; letter-spacing: .02em; }
.ey-dash .ey-dash-grid .stats-value { font-size: 1.45rem; }
@media (min-width: 576px) { .ey-dash .ey-dash-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .ey-dash .ey-dash-grid { grid-template-columns: repeat(var(--cols, 4), 1fr); } }
@media (max-width: 575px) {
    .ey-dash .ey-dash-grid { grid-template-columns: repeat(2, 1fr); gap: .6rem; }
    .ey-dash .ey-dash-grid .stats-card .card-body { flex-direction: column; align-items: flex-start !important; padding: 12px; }
    .ey-dash .ey-dash-grid .stats-icon { width: 36px; height: 36px; margin: 0 0 8px !important; }
}

/* Property Management (admin/PropertiesManager.js) */
.ey-pm { color: #333; }
.ey-pm .ey-pm-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.ey-pm .ey-pm-search { flex: 1 1 280px; display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #e3dcd4; border-radius: 10px; padding: 0 12px; height: 40px; }
.ey-pm .ey-pm-search i { color: #a08b78; }
.ey-pm .ey-pm-search input { border: 0; outline: 0; flex: 1; background: transparent; min-width: 0; }
.ey-pm .ey-pm-toolbar select.form-control { width: auto; flex: 0 1 190px; height: 40px; border-radius: 10px; border-color: #e3dcd4; }
.ey-pm .ey-pm-check { display: flex; align-items: center; gap: 6px; margin: 0; white-space: nowrap; }
.ey-pm .ey-pm-tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 12px; scrollbar-width: thin; }
.ey-pm .ey-pm-tab { border: 1px solid #e3dcd4 !important; background: #fff; color: #5a4636; border-radius: 999px !important; padding: 6px 12px; white-space: nowrap; font-size: .9em; outline: none !important; }
.ey-pm .ey-pm-tab:hover { border-color: #c9a27a !important; }
.ey-pm .ey-pm-tab.active { background: #4e2a12; border-color: #4e2a12 !important; color: #fff; }
.ey-pm .ey-pm-count { margin-left: 6px; font-size: .8em; opacity: .7; }
.ey-pm .ey-pm-count:empty { display: none; }
.ey-pm .ey-pm-list { display: flex; flex-direction: column; gap: 10px; transition: opacity .15s; }
.ey-pm .ey-pm-list.is-loading { opacity: .5; pointer-events: none; }
.ey-pm .ey-pm-row { display: flex; gap: 14px; align-items: center; background: #fff; border-radius: 14px; padding: 12px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.ey-pm .ey-pm-thumb { flex: 0 0 104px; height: 78px; border-radius: 10px; background: #f4efe9 center / cover no-repeat; }
.ey-pm .ey-pm-main { flex: 1; min-width: 0; }
.ey-pm .ey-pm-title { font-weight: 600; color: #2b1b0f; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ey-pm .ey-pm-id { color: #a08b78; font-weight: 400; font-size: .85em; }
.ey-pm .ey-pm-meta { color: #7a6a5c; font-size: .86em; margin-top: 2px; }
.ey-pm .ey-pm-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.ey-pm .ey-pm-pill { border-radius: 999px; padding: 1px 9px; font-size: .78em; font-weight: 600; background: #f1ece7; color: #5a4636; }
.ey-pm .ey-pm-ok { background: #e6f3e3; color: #2f6b28; }
.ey-pm .ey-pm-warn { background: #fdf1d8; color: #8a5b00; }
.ey-pm .ey-pm-info { background: #e3f0f6; color: #23627d; }
.ey-pm .ey-pm-bad { background: #fbe4e2; color: #a5322a; }
.ey-pm .ey-pm-gold { background: #fdf3dc; color: #a06d00; }
.ey-pm .ey-pm-muted { background: #eee; color: #777; }
.ey-pm .ey-pm-side { text-align: right; flex: 0 0 auto; }
.ey-pm .ey-pm-price { font-weight: 700; color: #4e2a12; white-space: nowrap; }
.ey-pm .ey-pm-views { color: #9a8a7c; font-size: .82em; margin-top: 4px; white-space: nowrap; }
.ey-pm .ey-pm-actions { position: relative; flex: 0 0 auto; }
.ey-pm .ey-pm-menu { width: 36px; height: 36px; border-radius: 50% !important; padding: 0; }
.ey-pm .ey-pm-empty { background: #fff; border-radius: 14px; padding: 40px; text-align: center; color: #8a7a6c; }
.ey-pm .ey-pm-pager { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 14px; color: #7a6a5c; }
.ey-pm .ey-pm-pager span { margin-right: auto; }
@media (max-width: 767px) {
    .ey-pm .ey-pm-row { flex-wrap: wrap; align-items: flex-start; }
    .ey-pm .ey-pm-thumb { flex-basis: 84px; height: 66px; }
    .ey-pm .ey-pm-main { flex: 1 1 calc(100% - 150px); }
    .ey-pm .ey-pm-side { order: 4; flex: 1 1 100%; display: flex; justify-content: space-between; text-align: left; padding-left: 98px; }
    .ey-pm .ey-pm-toolbar select.form-control { flex: 1 1 45%; }
}
