body {
  display: flex;
    overflow-x: hidden;
    flex-direction: column;
    color: #101010;
    background-color: #eaf6ff;
    height: 100vh;
}
#logoImg {
height: auto;
width: 150px;
margin: -16px 6px;
}
.navbar .user-info span {
margin-right: 10px;
color: white;
}
.navbar .user-icon {
color: white;
cursor: pointer;
}
.navbar {
color: white;
/* background-color: black; */
background: linear-gradient(160deg, #017b82, #0771b4);
padding: 10px 20px;
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
position: fixed;
top: 0;
z-index: 12;
border-bottom: 1px solid #e0e0e0;
}
.sidebar {
background: linear-gradient(160deg, #017b82, #0771b4);
font-size: 12px;
position: fixed;
z-index: 11;
top: 4px;
left: 0;
overflow-x: hidden;
padding-top: 20px;
width: 13%;
height: 100vh;
padding: 50px 0px;
transition: transform 0.3s ease;
text-align: left;
scrollbar-color: white white;
}
.sidebar .nav-link {
color: #ffffff;
cursor: pointer;
}
.sidebar .nav-link:hover {
background-color: rgba(255, 255, 255, 0.2);
}
.sidebar .nav-link.active,
.sidebar .nav-link.selected {
background-color: rgba(255, 255, 255, 0.2);
cursor: default;
border: none;
}
.main-content {
flex-grow: 1;
padding: 20px;
margin-left: 12%;
margin-top: 30px;
transition: margin-left 0.3s ease;
}
.submenu {
display: block;
}
.nav-item > .submenu {
padding-left: 20px;
}
.nav-item .nav-link {
display: flex;
justify-content: space-between;
align-items: center;
}
.nav-item .nav-link i {
margin-right: 10px;
}
.chevron-icon {
margin-left: auto;
cursor: pointer;
}
.submenu .nav-link {
display: block;
margin-left: 20px;
}
.toggle-sidebar {
display: none;
color: white;
font-size: 24px;
cursor: pointer;
}
body.dark-mode {
  background-color: #1c1c1e;
  color: #e0e0e0;
}
.dark-mode .container {
  background-color: #2c3e50
}
.dark-mode .navbar, .dark-mode .sidebar {
  background: #1f2940;
  border-color: #333;
  scrollbar-color: #1f2940 #1f2940;
}
.dark-mode .locked ,.dark-mode .actualGP, .dark-mode .salesAgent, .dark-mode .difference, .dark-mode .totalGP {
            background-color: #2c3e50;
            border: 1px solid #50504f9c;
}
dark-mode .sidebar {
  background: #1f2940;
  border-color: #333;
  scrollbar-color: #1f2940 #1f2940;
  color: white;
}
.dark-mode .nav-link,
.dark-mode .nav-link i {
  color: #b3b3b3 !important;
}
.dark-mode .table-wrapper {
    scrollbar-color: #29638c #141b2d;
}
.dark-mode .nav-link:hover,
.dark-mode .nav-link.selected {
  background-color: rgba(255, 255, 255, 0.1);
}
.dark-mode th {
    background-color: #29638c
  }

.dark-mode .chart-wrapper,
.dark-mode .chart-item-monthly {
  background-color: #2c3e50;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  border: 1px solid #3b3b3b;
}

.dark-mode .rate-item {
  background-color: #252525;
  border: 1px solid #3b3b3b;
}

.dark-mode .rate-success {
  background-color: #1f6f3e;
  border: 1px solid #28a745;
}

.dark-mode .rate-escalation {
  background-color: #7d622e;
  border: 1px solid #e8b923;
}

.dark-mode .rate-cancellation {
  background-color: #802b2b;
  border: 1px solid #dc3545;
}

.dark-mode .chart-container canvas {
  background: #2c3e50 !important;
}

.dark-mode .notification-dropdown {
  background-color: #252525;
  border: 1px solid #444;
  color: #e0e0e0;
}

.dark-mode .modal-content {
  background-color: #2c3e50;
  color: #e0e0e0;
}

.dark-mode .modal-header, 
.dark-mode .modal-footer {
  border-color: #3b3b3b;
}
/* for dark mode */
.dark-mode .nav-link:hover,
.dark-mode .nav-link.selected {
background-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .main-content {
background-color: #141b2d;
color: #e0e0e0;
}
.dark-mode body {
  background-color: #141b2d;
}
/* notification */
.notification-badge {
  position: absolute;
  top: -5px;
  right: -10px;
  background-color: red;
  color: white;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 50%;
  display: none; 
}

.notification-dropdown ul {
  list-style: none;
  padding: 10px;
  margin: 0;
  /* border: 1px solid black; */
}
.notification-dropdown ul li {
  padding: 8px;
  border-bottom: 1px solid #f0f0f0;
}
.notification-dropdown ul li:last-child {
  border-bottom: none;
}
#notificationDropdown {
  overflow-y: auto;
  /* padding: 10px; */
  border: 1px solid #ccc;
  background-color: white;
  color: black;
  width: 234%;
  display: none;
  position: absolute;
  top: 50px;
  right: 0px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  border: 2px solid black;
}
#viewAlltasks {
  margin: 3% 37%;
    border: none;
    text-decoration-line: underline;
    color: red;
    font-weight: bold;
}
.modal-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5); 
z-index: 999; 
}
body.no-scroll {
  overflow: hidden; 
}
body.modal-active {
overflow: hidden; 
}
h3 {
text-align:center;
}

#mainHeading {
  text-align: center; 
  color: #037894;
  white-space: nowrap;
  margin-left: 0%;
  text-decoration: underline;
}
.container {
            max-width: 1200px;
            margin: 0 auto;
            background-color: #fff;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            font-size: 12px;
        }

h1 {
  font-size: 2rem;
}
        
        .section {
            margin-bottom: 40px;
        }
        
        .section-title {
            font-size: 1.5em;
            color: #3498db;
            margin-bottom: 15px;
            padding-bottom: 5px;
            border-bottom: 2px solid #3498db;
        }
        
        table {
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 20px;
        }
        
        th, td {
            padding: 12px 15px;
            text-align: left;
            border-bottom: 1px solid #ddd;
        }
        
        th {
            background-color: #f2f2f2;
            font-weight: bold;
        }
        
        tr:hover {
            background-color: #f5f5f5;
        }
        
        .editable {
            background-color: #fffde7;
            padding: 5px;
            border: 1px solid #e0e0e0;
            border-radius: 3px;
        }
        
        .actions {
            display: flex;
            justify-content: flex-end;
            margin-top: 20px;
        }
        
        button {
            padding: 10px 15px;
            background-color: #3498db;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            margin-left: 10px;
            font-size: 14px;
        }
        
        button:hover {
            background-color: #2980b9;
        }
        
        .locked , .actualGP, .totalGP, .salesAgent, .difference{
            background-color: #e9f4f5;
            font-weight: bold;
            border: 1px solid #cfc6c6;
        }
        
        .warning {
            background-color: #ffebee;
        }
        
        @media (max-width: 768px) {
            table {
                display: block;
                overflow-x: auto;
            }
        }
/* calender  */
.flatpickr-calendar .custom-shortcuts a {
  color: #007BFF;
  text-decoration: none;
  cursor: pointer;
  text-decoration: underline;
}
.flatpickr-weekdays,.flatpickr-weekdaycontainer,.flatpickr-months .flatpickr-month,.flatpickr-current-month .flatpickr-monthDropdown-months,.flatpickr-weekdays .flatpickr-weekdaycontainer,.flatpickr-weekdays .flatpickr-weekdaycontainer,span.flatpickr-weekday {
    background: #037894 !important;
}
.flatpickr-weekday{
 text-decoration: underline;
}
.table-blur {
  filter: blur(4px);
  transition: filter 0.3s ease;
}
.custom-shortcuts{
  background-color: #ffffff !important;
}
.flatpickr-current-month {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px !important; 
}
.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year {
    font-weight: bold;
    font-size: 15px;
}
.flatpickr-current-month .cur-month {
  margin-right: 0 !important; 
}
.flatpickr-calendar .custom-shortcuts a:hover {
  text-decoration: underline;
}
@media (max-width: 768px){
  .toggle-sidebar {
display: block;
margin-right: 1%;
}
.charts-container-monthly {
    flex-direction: column;
  }
  h3 {
    font-size: 12px;
    margin-left: -30%;
    text-decoration-line: underline;
}
.sidebar {
transform: translateX(-100%);
width:38%;
}
.sidebar.show {
transform: translateX(0);
}
}