/* === OVERLAY LOADING INDICATOR === */
.overlay {
    display: none;
    position: fixed;
    z-index: 999;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.8) url("loader-img.gif") center no-repeat;
}
body.loading {
    overflow: hidden;
}
body.loading .overlay {
    display: block;
}

/* === LAYOUT ADJUSTMENTS === */
.main-header .navbar,
.content-wrapper,
.main-footer {
    margin-left: 0 !important;
}
.main-header,
.main-header .navbar {
    height: 40px !important;
    min-height: 40px !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
}
.content-header,
.content,
.main-footer {
    padding: 5px !important;
}
.content-header {
    padding: 10px 5px !important;
}

/* === NAVBAR AND MENU === */
.unavbar {
    background: linear-gradient(120deg, #0313f7, #1e88e5);
   
    transition: background 0.5s ease;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05);
}
.submenu .unavbar {
    background: linear-gradient(120deg, #6072fd, #bbdefb);
    
    height: 30px !important;
    min-height: 30px !important;
}
.navbar-nav > li > a,
.submenu .navbar-nav > li > a {
    position: relative;
    padding: 10px !important;
    color: #fafbfc !important;
    font-weight: 500;
    transition: all 0.3s ease-in-out;
}


/* === HOVER EFFECTS === */
.navbar-nav > li > a:hover,
.submenu .navbar-nav > li > a:hover {
    background-color: rgba(21, 101, 192, 0.1);
    color: #f4f5f7 !important;
    border-radius: 4px;
    transform: translateY(-2px);
}

/* === ACTIVE ITEM HIGHLIGHT === */
.navbar .nav > .active > a {
    background: #529ef4 !important;
    color: white !important;
    border-radius: 5px 5px 0 0;
    box-shadow: inset 0 -3px 0 #0d47a1;
}

/* === SUBMENU ACTIVE STYLING === */
.submenu .navbar .nav > .active > a {
    background: #1565c0 !important;
    color: #fffcfc !important;
    border: 1px solid #ffffff;
    border-radius: 5px 5px 0 0;
}
.submenu .navbar .nav > .active > a::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-top: 10px solid #1565c0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
}

/* === ANIMATED UNDERLINE ON ACTIVE === */
.submenu .navbar-nav > li > a::before {
    content: "";
    position: absolute;
    bottom: 2px;
    left: 10px;
    width: 0;
    height: 2px;
    background-color: #1565c0;
    transition: width 0.3s ease;
}
.submenu .navbar-nav > li.active > a::before,
.submenu .navbar-nav > li > a:hover::before {
    width: calc(100% - 20px);
}

/* === TABLES === */
.table > thead > tr > th {
    background: #bbdefb !important;
    padding: 5px !important;
}
.table > tbody > tr > td,
.table > thead > tr > td,
.table > tfoot > tr > td {
    padding: 5px !important;
}
.dataTables_scrollBody .table > thead > tr > th {
    background: #fff !important;
    padding: 0 !important;
}
.inlineTable > thead > tr > th {
    padding: 8px !important;
}

/* === BUTTON STYLES === */
.btn-primary, .btn-warning,
.dt-button, .paginate_button,
.selcontainer .buttons button {
    background-color: #1e21e5;
    border-color: #1e88e5;
    color: #ffffff;
    box-shadow: 1px 1px 1px 1px #1e88e5;
    border-radius: 5px;
}
.btn-primary:hover, .btn-warning:hover,
.btn-primary:focus, .btn-warning:focus,
.dt-button:hover, .paginate_button:hover,
.selcontainer .buttons button:hover {
    background-color: #1565c0;
    border-color: #1565c0;
    color: white;
}
.small-button {
    padding: 1px 6px !important;
}
.editbutton   { background-color: #1976d2; color: #fff; }
.deletebutton { background-color: #e53935; color: #fff; }
.smsbutton    { background-color: #039be5; color: #fff; }
.mailbutton   { background-color: #ef5350; color: #fff; }
.printbutton  { background-color: #fb8c00; color: #fff; }
.viewbutton   { background-color: #0288d1; color: #fff; }

/* === BACKGROUND AND COLOR BLOCKS === */
.bg-lbrown { background-color: #64b5f6 !important; color: #fff !important; }
.bg-lgreen { background-color: #4fc3f7 !important; color: #fff !important; }
.bg-blue-1 { background-color: #1e88e5 !important; color: #fff !important; }

/* === OTHER LAYOUT AND FORM ELEMENTS REMAIN UNCHANGED === */
/* You can reuse the rest of your CSS for layout, modals, cards, etc. */

/* === MODAL & LOGIN COLORS (optional blue style) === */
.blurred-box:after {
    box-shadow: inset 0 0 0 200px rgba(255,255,255,0.1);
}
.user-icon {
    background-image: url("http://gstdemo2.bathrainfotech.com/assets/images/2.JPG");
}

.day-selector {
 
  padding: 10px;
  border-radius: 8px;
  width: fit-content;
  font-family: Arial, sans-serif;
  margin-top: 20px;
}

.day-selector label {

  margin: 4px 0;
}

.nutrition-entry textarea {
    font-size: 13px;
    height: 10px; 
    padding: 4px 6px;
    resize: vertical; 
  }

  .nutrition-textarea {
  display: none;
  margin-top: 5px;
  width: 100%;
   
}
.report-btn.active {
    background-color: #007bff !important;  /* Blue background */
    color: white !important;               /* White text */
}



