/* ===== General Body Styling ===== */
body {
  min-height: 100vh;
  background-color: #f8f9fa;
  transition: margin-left 0.3s ease;
  display: flex;
  flex-direction: column;
}

html, body {
  overflow-x: hidden;
  width: 100%;
}

/* ===== Content Section ===== */
.content {
  background-image: url("../images/pattern.jpg");
  background-size: cover;
  flex: 1;
  margin-left: 250px;
  padding: 80px 0px 60px 0px !important; /* navbar + footer spacing */
  transition: margin-left 0.3s ease;
}

.card-body{
  box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset !important;
  background-color: #f5f5f5 !important;
}

body.collapsed-sidebar .content {
  margin-left: 0;
}

/* ===== Sidebar ===== */
.sidebar {
  width: 250px;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  background: #343a40;
  z-index: 1000;
  padding-top: 60px; /* To avoid overlapping with fixed navbar */
  transition: margin-left 0.3s ease;
}

body.collapsed-sidebar .sidebar {
  margin-left: -250px;
}

.sidebar a {
  display: block;
  padding: 12px 20px;
  color: white;
  text-decoration: none;
  transition: background 0.2s ease;
}

.sidebar a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* ===== Footer Styling ===== */
.footer {
  background-color: #ffe1c1;
  padding: 12px 20px;
  transition: all 0.3s ease;
  box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.05);
  font-size: 14px;
  box-sizing: border-box;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-left: 250px;
}

body.collapsed-sidebar .footer {
  margin-left: 0;
}

/* Footer Brand Colors */
.bright {
  color: red;
}
.code {
  color: #0073ff !important;
}

/* ===== Navbar fixes ===== */
.navbar {
  z-index: 1100;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

/* ===== Responsive Fixes ===== */
@media (max-width: 768px) {
  .content,
  .footer {
    margin-left: 0 !important;
  }
}


.table-title-bar{
  background-color: #192c43 !important;
}
