/*
  Theme override: Diary Online (2026)
  Purpose: Adjust branding colors for sidebar + main cashbook DataTables wrapper,
  without touching application logic.
*/

/* === Sidebar (left-menu.php) === */
/* Logged-in (auth): keep teal theme */
body.auth .navleft{
  background:#1b7f87 !important; /* natural green-sky blue */
}

body.auth .navtitle{
  background-color:#156a70 !important;
}
body.auth .navtitle:hover{
  background-color:#11565b !important;
}

/* keep existing icons (dot/plus/search) but swap base background color */
body.auth .navblock ul li{
  background-color:#1b7f87 !important;
  border-bottom:1px solid rgba(0,0,0,0.12) !important;
}
body.auth .navblock ul li:hover,
body.auth .navblock ul li.plus:hover,
body.auth .navblock ul li.search:hover,
body.auth .navblock ul li.current_menu{
  background-color:#156a70 !important;
}

/* Guest (pre-login): remove grey panel entirely */
body.guest .navleft{
  background: transparent !important;
}

body.guest .navtitle{
  background: transparent !important;
  color:#0b5560 !important;
}

/* Make menu items clean on white page */
body.guest .navblock ul li{
  background: transparent !important;
  border-bottom: 1px solid rgba(0,0,0,0.07) !important;
  color:#0b5560 !important;
}

body.guest .navblock ul li:hover,
body.guest .navblock ul li.plus:hover,
body.guest .navblock ul li.search:hover,
body.guest .navblock ul li.current_menu{
  background: rgba(27,127,135,0.10) !important;
}

body.guest .navblock ul li a,
body.guest .navblock ul li a:visited{
  color: inherit !important;
  text-decoration: none !important;
}

body.guest #navitem_user{
  background: transparent !important;
  color:#0b5560 !important;
}


/* === Content bar: Cashbook DataTables wrapper (#bukukas_wrapper) === */
#bukukas_wrapper{
  background:#e7f7f7;
  border:1px solid #b6e3e3;
  border-radius:10px;
  padding:12px 10px 10px;
}

#bukukas_wrapper .dataTables_length{
  margin:0 0 10px 10px;
}

#bukukas_wrapper .dataTables_filter{
  margin-bottom:10px;
}

#bukukas_wrapper .dataTables_filter input{
  border:1px solid #7fc8c8;
  background-color:#d8f1f1;
}

#bukukas_wrapper .dataTables_filter input:hover{
  border:1px solid #156a70;
  background-color:#eaf9f9;
}

/* Table header accent */
table#bukukas th{
  background-color:#156a70;
}
