/* Ogo Oluwa Multipurpose Investment Ltd - application-wide green theme v6.11 */
:root{
  --ogo-primary:#198754;--ogo-primary-dark:#146c43;--ogo-primary-deep:#0f5132;
  --ogo-primary-soft:#d1e7dd;--ogo-primary-pale:#f0f8f4;--ogo-border:#d7e7de;
  --ogo-body:#f5f8f6;--ogo-text:#24352c;--ogo-muted:#66756d;
  --bs-primary:#198754;--bs-primary-rgb:25,135,84;--bs-link-color:#198754;--bs-link-hover-color:#146c43;
}

/* Login/page preloader: override Modern's default navy splash icon. */
html body .splash .splash-icon,
html body .splash.active .splash-icon,
body > .splash .splash-icon,
body .splash-icon{
  background:#198754!important;
  background-color:#198754!important;
  background-image:linear-gradient(135deg,#198754 0%,#0f5132 100%)!important;
}
html body .splash .splash-icon::after,
html body .splash.active .splash-icon::after,
body .splash-icon::after{
  border-color:rgba(255,255,255,.98)!important;
  border-top-color:#f4c542!important;
}
body{background:var(--ogo-body);color:var(--ogo-text)}
a{color:var(--ogo-primary)}a:hover{color:var(--ogo-primary-dark)}
.sidebar{background:linear-gradient(180deg,var(--ogo-primary-deep) 0%,#123f2c 100%)}
.sidebar-brand{background:rgba(0,0,0,.08);color:#fff!important;border-bottom:1px solid rgba(255,255,255,.08)}
.sidebar-brand svg{fill:#fff}.sidebar-user{background:rgba(255,255,255,.055);color:#fff;border-bottom:1px solid rgba(255,255,255,.06)}
.sidebar-user small{color:#cfe7d9}.sidebar-header{color:#91c9aa}.sidebar-link,.sidebar-link a{color:#dcefe4!important}
.sidebar-link:hover,.sidebar-item.active>.sidebar-link{background:rgba(255,255,255,.09);color:#fff!important}
.sidebar-item.active>.sidebar-link{border-left-color:#63c98f}.sidebar-dropdown .sidebar-link{color:#cce4d6!important}.sidebar-dropdown .sidebar-link:hover{color:#fff!important}
.navbar-bg{background:#fff;border-bottom:1px solid var(--ogo-border);box-shadow:0 2px 8px rgba(15,81,50,.05)}
.hamburger,.hamburger:after,.hamburger:before{background:var(--ogo-primary-deep)}
.btn-primary{background-color:var(--ogo-primary);border-color:var(--ogo-primary)}.btn-primary:hover,.btn-primary:focus{background-color:var(--ogo-primary-dark);border-color:var(--ogo-primary-dark)}
.btn-outline-primary{color:var(--ogo-primary);border-color:var(--ogo-primary)}.btn-outline-primary:hover{background:var(--ogo-primary);border-color:var(--ogo-primary);color:#fff}
.bg-primary{background-color:var(--ogo-primary)!important}.text-primary{color:var(--ogo-primary)!important}.border-primary{border-color:var(--ogo-primary)!important}
.badge.bg-primary{background-color:var(--ogo-primary)!important}
.page-item.active .page-link{background-color:var(--ogo-primary);border-color:var(--ogo-primary)}.page-link{color:var(--ogo-primary)}
.form-control:focus,.form-select:focus,.select2-container--focus .select2-selection{border-color:#65b98a;box-shadow:0 0 0 .2rem rgba(25,135,84,.14)}
.form-check-input:checked{background-color:var(--ogo-primary);border-color:var(--ogo-primary)}
.card{border-color:#e5eee9;box-shadow:0 1px 4px rgba(15,81,50,.05)}.card-header{border-bottom-color:#e5eee9}.card-title{color:var(--ogo-primary-deep)}
.table thead th{color:var(--ogo-primary-deep);background:#f2f8f5;border-bottom-color:var(--ogo-border)}.table-hover tbody tr:hover{background:#f3faf6}
.dropdown-item.active,.dropdown-item:active{background-color:var(--ogo-primary)}
.nav-pills .nav-link.active,.nav-pills .show>.nav-link{background-color:var(--ogo-primary)}.nav-tabs .nav-link.active{color:var(--ogo-primary-deep);border-top-color:var(--ogo-primary)}
.progress-bar{background-color:var(--ogo-primary)}
.modal-header{background:#f3faf6;border-bottom-color:var(--ogo-border)}.modal-title{color:var(--ogo-primary-deep)}
.alert-primary{color:var(--ogo-primary-deep);background:var(--ogo-primary-soft);border-color:#a9d5bc}
.footer{background:#fff;border-top:1px solid var(--ogo-border)}.footer a:hover{color:var(--ogo-primary)!important}
.select2-container--default .select2-results__option--highlighted[aria-selected]{background-color:var(--ogo-primary)}
.swal2-confirm{background-color:var(--ogo-primary)!important}.swal2-confirm:focus{box-shadow:0 0 0 3px rgba(25,135,84,.25)!important}
/* Keep semantic danger/warning/info colours intact. */
.btn-danger,.bg-danger{--bs-btn-bg:#dc3545;--bs-btn-border-color:#dc3545}.text-danger{color:#dc3545!important}
/* Authentication */
body .wrapper:has(.auth-full-page),body:has(.sign-in-container){background:linear-gradient(135deg,#f3faf6,#e6f3eb)}
/* Responsive polish */
@media(max-width:767.98px){.card-body{padding:1rem}.sidebar-brand{font-size:1.05rem}.content{padding:1rem .75rem}}

/* v6.11.1 - visual consistency and contrast corrections */
/* The base template paints the page masthead through .wrapper:before. */
.wrapper:before{
  background:linear-gradient(135deg,var(--ogo-primary-deep) 0%,var(--ogo-primary-dark) 58%,var(--ogo-primary) 100%)!important;
}

/* Keep the entire sidebar in the Ogo Oluwa identity, not only its top brand strip. */
.sidebar,.sidebar-content,.sidebar-nav{
  background:linear-gradient(180deg,var(--ogo-primary-deep) 0%,#123f2c 100%)!important;
}
.sidebar-user{
  background:rgba(255,255,255,.055)!important;
  color:#fff!important;
}
.sidebar-user a,.sidebar-user .text-dark,.sidebar-user strong{color:#fff!important}
.sidebar-user small,.sidebar-user .text-muted{color:#cfe7d9!important}
.sidebar-header{color:#8fd0aa!important;font-weight:600}
.sidebar-link,a.sidebar-link{color:#e5f3eb!important}
.sidebar-link .fab,.sidebar-link .fal,.sidebar-link .far,.sidebar-link .fas,.sidebar-link svg,
a.sidebar-link .fab,a.sidebar-link .fal,a.sidebar-link .far,a.sidebar-link .fas,a.sidebar-link svg{
  color:#bfe5cf!important;
}
.sidebar-link:hover,a.sidebar-link:hover,.sidebar-item.active>.sidebar-link{
  background:rgba(255,255,255,.11)!important;
  color:#fff!important;
  text-decoration:none;
}
.sidebar-link:hover .fab,.sidebar-link:hover .fal,.sidebar-link:hover .far,.sidebar-link:hover .fas,.sidebar-link:hover svg,
.sidebar-item.active>.sidebar-link .fab,.sidebar-item.active>.sidebar-link .fal,.sidebar-item.active>.sidebar-link .far,.sidebar-item.active>.sidebar-link .fas,.sidebar-item.active>.sidebar-link svg{
  color:#fff!important;
}
.sidebar-dropdown{background:rgba(0,0,0,.08)!important}
.sidebar-dropdown .sidebar-link{color:#d5ecdf!important}
.sidebar-dropdown .sidebar-link:hover,.sidebar-dropdown .sidebar-item.active>.sidebar-link{color:#fff!important}

/* The template uses navbar-theme rather than navbar-bg on authenticated pages. */
.navbar-theme{
  background:rgba(15,81,50,.98)!important;
  border-bottom:1px solid rgba(255,255,255,.10);
  box-shadow:0 2px 10px rgba(15,81,50,.12);
}
.navbar-theme .nav-link,.navbar-theme .nav-link i,.navbar-theme .sidebar-toggle{color:#fff!important}
.navbar-theme .hamburger,.navbar-theme .hamburger:after,.navbar-theme .hamburger:before{background:#fff!important}
.navbar-theme .form-control-lite{background:rgba(255,255,255,.10);border-color:rgba(255,255,255,.16);color:#fff}
.navbar-theme .form-control-lite::placeholder{color:rgba(255,255,255,.72)}
.navbar-theme .form-control-lite:focus{background:rgba(255,255,255,.15);border-color:rgba(255,255,255,.35);color:#fff;box-shadow:none}

.header-title,.header-subtitle{color:#fff!important}
.content .card{border-radius:.45rem}
.content .card-body{color:var(--ogo-text)}
.form-label,label{color:#24352c;font-weight:500}
.form-text,.text-muted{color:var(--ogo-muted)!important}
