/* ===== BODY ===== */
body {
  background-color: #ffffff;  /* White background */
  color: #000000;             /* Black text */
  padding-bottom: 80px;
  margin: 0;
  font-family: Arial, sans-serif;
}


/* ===== HEADER ===== */
.custom-navbar {
  background-color: #222 !important; /* Dark header */
  color: #fff !important;
  border-bottom: 1px solid #333;
  z-index: 1030;
}

.navbar-brand img {
  max-height: 35px;
}

/* ===== SIDEBAR ===== */
.sidebar-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1040;
  display: none;
}

.sidebar {
  width: 260px;
  height: 100%;
  position: fixed;
  top: 0;
  left: -260px;  /* Hidden by default */
  z-index: 1050;
  background-color: #1a1a1a; /* Dark card bg */
  color: #fff;
  transition: left 0.3s ease-in-out;
  overflow-y: auto;
  padding: 1rem;
  border-right: 1px solid #333;
}

.sidebar.show {
  left: 0;  /* Show sidebar */
}

/* ===== Buttons inside Sidebar ===== */
.btn-block {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  color: #fff;
  background-color: #333;
  border: none;
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
}

.btn-block:hover {
  background-color: #444;
}

/* ===== Profile image inside Sidebar ===== */
.profile-img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%;
  margin-right: 10px;
  border: 2px solid #fff;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
}

/* ===== Floating Profile Icon ===== */
.floating-profile-icon {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  cursor: pointer;
}

.floating-profile-icon img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}
/* 1. Parent Button (Dropdown Trigger) - <button> टैग */
#rightSidebar button.btn {
    background-color: #f8f9fa !important;
    color: #343434 !important;
    border-color: #e9ecef !important;
    transition: all 0.2s ease;
}
#rightSidebar button.btn:hover,
#rightSidebar button.btn:focus {
    background-color: #e2e6ea !important;
    border-color: var(--theme-primary-color, #c0205c) !important;
}
#rightSidebar button.btn i {
    color: var(--theme-primary-color, #c0205c) !important;
}

/* ---------------------------------------------------- */

/* 2. Single Link Button - <a> टैग (ULTRA-SPECIFIC FIX) */
/* यह मज़बूती से सुनिश्चित करता है कि a.btn स्टाइलिंग को ओवरराइड किया जाए */
#rightSidebar .menu-single-link.btn {
    background-color: #ffffff !important;
    color: #343434 !important;
    border-color: #e9ecef !important;
}
#rightSidebar .menu-single-link.btn:hover,
#rightSidebar .menu-single-link.btn:focus {
    background-color: #f8f9fa !important;
    border-color: var(--theme-primary-color, #c0205c) !important;
}
#rightSidebar .menu-single-link.btn i {
    color: var(--theme-primary-color, #c0205c) !important;
}

/* ---------------------------------------------------- */

/* 3. Child Link (Dropdown Items) */
#rightSidebar .menu-child-link {
    color: #495057 !important;
    transition: background-color 0.2s ease, color 0.2s ease;
}
#rightSidebar .menu-child-link:hover {
    background-color: var(--theme-primary-color, #c0205c) !important;
    color: #ffffff !important;
}
#rightSidebar .menu-child-link:hover i {
    color: #ffffff !important;
}