body {
  display: flex;
    overflow-x: hidden;
    flex-direction: column;
    color: #101010;
    background-color: #f5f5f5;
    /* background-color: #eaf6ff; */
    /* background: linear-gradient(360deg, #253f53, #578087); */
    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: 2;
border-bottom: 1px solid #e0e0e0;
}
.sidebar {
/* background-color: black; */
background: linear-gradient(160deg, #017b82, #0771b4);;
text-align: left;
position: fixed;
z-index: 1;
top: 3px;
left: 0;
overflow-x: hidden;
padding-top: 20px;
width: 13%;
height: 100vh;
padding: 50px 0px;
transition: transform 0.3s ease;
scrollbar-color: white white;
font-size: 12px;
}
#vinLabel{
  margin-left: 3%;
  margin-top: -25%;
}
.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 {
padding: 40px;
margin-left: 14%;
margin-top: 70px;
transition: margin-left 0.3s ease;
width: 25%;
border: 1px solid #0675a5;
}
#createUser {
    margin: 1% 0% -2% 42%;
    background: linear-gradient(160deg, #101a18, #037894);
    color: white;
    border-radius: 5px;
    font-size: 12px;
}
.scale-wrapper {
  transform: scale(0.80);
  transform-origin: top left;
  width: 110%;
}
.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;
}
.vin-decoder-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: 14px;
  color: #f1eae6;
  margin-top: 10px;
}

.vin-decoder-form form {
  display: flex;
  flex-direction: column;
  /* align-items: center; */
}

.vin-decoder-form .input-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  margin-top: 5px;
}

.vin-decoder-form input[type="text"] {
  padding: 5px 10px;
  font-size: 14px;
  border: 1px solid gray;
  border-radius: 5px;
  background-color: #eee;
  /* width: 200px; */
  width: 180;
  max-width: 100%;
}

.vin-decoder-form button {
  padding: 6px 12px;
  font-size: 14px;
  border: none;
  background-color: #59a3b5;
  color: white;
  border-radius: 5px;
  cursor: pointer;
}

.vin-decoder-form button:hover {
  background-color: #024656;
}
#mainHeading {
    color: #037894;
    white-space: nowrap;
    margin-left: 0%;
    /* text-decoration: underline; */
    font-size: 20px;
}
@media (max-width: 1200px) {
  .sidebar {
    width: 20%;
  }

  .main-content {
        margin-left: 22%;
        margin-top: 7%;
        width: 42%;
  }

  .charts-container {
    flex-wrap: wrap;
    gap: 10px;
  }
}
@media (max-width: 1024px) {
  .sidebar {
    width: 250px;
    transform: translateX(-100%);
  }

  .sidebar.show {
    transform: translateX(0);
  }

  .main-content {
    margin-left: 0;
    padding: 20px;
  }

  .charts-container {
    flex-direction: column;
    align-items: center;
  }

  .chart-wrapper {
    width: 90% !important;
  }
}


@media (max-width: 576px) {
  .navbar .user-info span {
    font-size: 14px;
  }

  .charts-container {
    flex-direction: column;
  }

  .chart-wrapper {
    width: 100%;
    margin: 10px 0;
  }
  .vin-decoder-form {
    font-size: 12px;
  }

  .vin-decoder-form input[type="text"],
  .vin-decoder-form button {
    width: 100%;
  }

  .vin-decoder-form .input-group {
    flex-direction: column;
    align-items: stretch;
  }
}

.chart-wrapper {
  width: 44%;
    /* aspect-ratio: 1 / 1; */
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    margin: 1% 3%;
    background: #fdfeffd4;
}


.charts-container-monthly {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  /* margin-top: 20px; */
}

.chart-item-monthly {
  width: 30%;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;;
}

.rates-container {
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  padding: 100px;
  border-radius: 10px;
  background: #fbfcfd;
}
#prevMonthBtn, #nextMonthBtn {
  background-color: #037894;
}
#goToMonthBtn{
  margin-top: -1%;
  background-color: #037894;
}

.rate-item {
  flex: 1 1 200px;
  min-width: 120px;
  max-width: 220px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: 8px;
  background-color: #ffffff;
  border: 2px solid #d9f0ff;
  transition: all 0.3s ease;
}
.rate-item:hover {
  transform: scale(1.05);
  border-color: #40a9ff;
  box-shadow: 0 0 10px rgba(64, 169, 255, 0.2);
}
body.dark-mode {
  background-color: #1c1c1e;
  color: #e0e0e0;
}

.dark-mode .navbar {
  background: #1f2940;
  border-color: #333;
  scrollbar-color: #1f2940 #1f2940;
}
.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 .nav-link:hover,
.dark-mode .nav-link.selected {
  background-color: rgba(255, 255, 255, 0.1);
}


.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;
}

/* .chart-wrapper {
width: 42%;
min-width: 314px;
aspect-ratio: 1 / 1;
/* background-color: #f8f9fa; */
/* padding: 10px; */
/* border-radius: 10px; */
/* box-shadow: 0 0 15px rgba(0, 0, 0, 0.1); */
/* height: 500px; */
/* margin: 1% 3.5%; */
/* } */ 
/* .charts-container-monthly {
display: flex;
justify-content: space-around;
gap: 20px;
margin-top: 20px;
} */

/* .chart-item-monthly {
width: 30%;
padding: 10px;
border-radius: 10px;
box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
background-color: white;
height: 400px;
} */
/* .rates-container {
display: flex;
justify-content: space-around;
margin-top: 10px;
background-color: #e0f7fa;
padding: 5px;
border-radius: 5px;
font-weight: bold;
} */


.rate-item {
width: 30%;
text-align: center;
padding: 10px;
border-radius: 5px;
white-space: nowrap;
  width: auto;
  border-color: #c6cfc2;
  background-color: #f6ffed;
  color: grey;
}

.rate-success {
      border-color: #1aaac4;
    background-color: #f6ffed;
    color: #1aaac4;
    white-space: nowrap;
    width: auto;
}

.rate-escalation {
  border-color: #faad14;
  background-color: #fffbe6;
  color: #d48806;
  white-space: nowrap;
  width: auto;
}

.rate-cancellation {
  border-color: #f5222d;
  background-color: #fff1f0;
  color: #a8071a;
  white-space: nowrap;
  width: auto;
}
/* canvas {
width: 100% !important;
height: 100% !important;
} */
/* 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;
}
.dark-mode .chart-wrapper,
.dark-mode .chart-item-monthly {
background-color: #2c3e50 ;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.dark-mode .rate-item {
background-color: #333;
}
/* 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); /* Dark overlay behind the modal */
z-index: 999; 
}
body.no-scroll {
  overflow: hidden; /* Disable scrolling */
}
body.modal-active {
overflow: hidden; /* Prevents background scrolling when modal is active */
}
h3 {
text-align:center;
}
#summaryCards {
  display: flex;
  margin-left: 1%;
}
.summary-card {
  background-color: #eaf6ff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  margin-bottom: 15px;
}
.summary-card h5 {
  font-size: 16px;
  color: #333;
}
.summary-value {
  font-size: 22px;
  font-weight: bold;
  color: #037894;
}
.summary-card,
.chart-wrapper,
.sales-insights-box {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  padding: 20px;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}
.summary-card:hover,
.chart-wrapper:hover,
.sales-insights-box:hover {
  transform: scale(1.01);
}

.sales-insight-box {
  text-align: center;
  padding: 0px;
  font-weight: 600;
  margin: 8px 0;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
#topAgentBox {
  /* background-color: #d9f7be; */
  color: #00332e;
}
#bestDayBox {
  /* background-color: #cce9e4; */
  color: #00332e;
}
#monthlyCancelRefundBox {
  /* background-color: #d6eaf8; */
  color: #00332e;
}

@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);
}
.chart-wrapper {
    width: 90% !important;
    margin: 20px auto !important;
    height: auto !important;
  }
.charts-container {
        flex-direction: column;
        margin-top: 18%;
        align-items: center;
    }
    .chart-wrapper canvas {
    width: 100% !important;
    height: auto !important;
  }

  canvas {
    max-width: 100% !important;
    height: auto !important;
  }
  .main-content {
    margin-left: 0;
    margin-top: 120px;
    padding: 10px;
  }
}
#decode {
  margin: -18% -454%;
    height: 1vh;
    font-size: 15px;
    font-family: sans-serif;
}