:root {
  --primary-color: #0e4b89;
  --secondary-color: #faa01c;
  --darkblue-color: #012952;
}

a {
  cursor: pointer;
  color: var(--primary-color);
}

.fi {
  display: flex;
  align-items: center;
}

body {
  font-family: "DM Sans", sans-serif;
}

.gps-img {
  height: 100dvh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 6px;
}

.gps-img img {
  height: 98%;
  width: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.form-control {
  min-height: 40px !important;
  max-height: 40px !important;
  font-weight: 500;
  font-size: 14px !important;
  border-color: #dee2e6 !important;
  border-radius: 0.375rem !important;
}

.btn {
  border-radius: 4px;
  padding: 5px 15px;
  font-size: 15px;
  letter-spacing: 0.5px;
}

.btn-blue button,
.blue-btn {
  color: #fff !important;
  background: var(--primary-color) !important;
  min-height: 40px;
}

.btn-blue button:hover,
.blue-btn:hover {
  background: var(--secondary-color) !important;
}

.bootom-text {
  text-align: center;
  font-weight: 600;
  font-size: 14px;
}

.bg-gray-800,
.bg-gray-900 {
  background: var(--primary-color) !important;
}

.overflow-y-scroll {
  max-height: 100dvh !important;
  overflow-y: auto !important;
}

.bg-darkblue {
  background: var(--darkblue-color);
}

.text-gray-blue {
  color: var(--primary-color);
}

.bold-700 {
  font-weight: 700;
}

.bg-blue {
  background: var(--primary-color);
}

.report-menu {
  color: #fff;
}

.report-menu .nav-link {
  font-size: 14px;
  padding: 0.8rem 1.5rem;
  position: relative;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}

.report-menu .nav-link:hover,
.report-menu .nav-link.active {
  background: #0129525c;
}

.report-menu .nav-link::after {
  font-family: uicons-regular-rounded !important;
  content: "\e07e";
  position: absolute;
  right: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.collapse-menu {
  visibility: visible !important;
  padding: 0.5rem 1.5rem;
}

.collapse-menu a {
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  opacity: 0.5;
}

.collapse-menu a.active {
  opacity: 1;
}

.collapse-menu a i {
  font-size: 12px;
  opacity: 0.2;
}

.form-label {
  font-size: 13px;
  font-weight: 500;
}

.sm-control {
  min-height: 40px;
}

.link-a {
  font-size: 13px;
  font-weight: 500;
  color: #666 !important;
}

.link-a a {
  font-size: 13px;
  font-weight: 500;
  color: #666 !important;
}

.link-a a:hover {
  color: var(--secondary-color) !important;
}

.inline-form .sm-control {
  min-height: 35px;
  padding: 0 10px;
  border-radius: 4px;
  border-color: #d9d9d9;
}

.col-form-label {
  font-size: 13px;
  font-weight: 500;
  text-align: right;
}

.modal-title {
  font-weight: 600;
  color: #000;
}

.link-text {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 13px;
}

.card-title {
  font-size: 15px;
  font-weight: 600;
}

.profile {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.user-pic {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--secondary-color);
  border-radius: 100px;
  font-size: 45px;
}

.useremail {
  color: #fff;
  font-weight: 500;
  font-size: 15px;
}

.logout {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logout a {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--darkblue-color);
  padding: 10px 20px;
  border-radius: 10px;
  color: #fff !important;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0px 4px 5px 0px rgb(13 66 120);
}

.w-150 {
  width: 400px;
}

.alarm-card i {
  min-width: 40px;
  height: 40px;
  background: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 40px;
}

.alarm-card {
  display: flex;
  padding: 10px 1.5rem;
  gap: 15px;
  cursor: pointer;
}

.alarm-card:hover {
  background: #faa11c2f;
}

.alarm-card p {
  font-size: 13px;
}

.time {
  font-size: 13px;
  color: #666;
  display: flex;
  flex-direction: column;
  margin-top: 5px;
}

.form-switch {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
}

.form-switch .form-check-input {
  height: 1.3rem;
  width: 2.3rem;
}

.form-switch label {
  display: inline-block;
  font-size: 14px;
  margin-top: 4px;
}

.form-switch .form-check-input:checked {
  background-position: 24px;
}

.card-menu {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 7px;
  width: 100%;
  opacity: 0.9;
  filter: grayscale(0);
}

.card-menu:hover,
.card-menu.active {
  background: #0086f7;
  opacity: 1;
  filter: grayscale(0);
}

.card-menu img {
  width: 35px;
  min-width: 35px;
}

.card-menu .text {
  display: flex;
  flex-direction: column;
}

.card-menu .name {
  font-size: 16px;
  color: #fff;
}

.card-menu .contact {
  font-size: 10px;
  color: #ddcfcf;
  line-height: 15px;
}
.card-menu .expireson {
  font-size: 10px;
  color: #ddcfcf;
  line-height: 15px;
}
.card-menu i {
  color: #fff;
  font-size: 20px;
  margin-left: auto;
}

.page-title {
  font-size: 22px;
  font-weight: 700;
  color: #000;
}

.sub-text {
  font-size: 16px;
  color: #666;
  font-weight: 500;
}

.tab-ui .nav-link {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #000 !important;
  font-weight: 500;
  padding: 10px 20px;
}

.tab-ui {
  gap: 20px;
}

.tab-ui .nav-link img {
  width: 30px;
}

.tab-ui .nav-link.active {
  background: #0e4b89 !important;
  color: #fff !important;
}

.img-menu img {
  width: 25px;
}

.justify-space-between {
  justify-content: space-between;
}

[type="checkbox"]:checked:hover,
[type="checkbox"]:checked:focus,
[type="radio"]:checked:hover,
[type="radio"]:checked:focus,
[type="checkbox"]:checked {
  background-color: rgb(14 75 137) !important;
}

.small-modal {
  max-width: 500px;
  margin: auto;
  height: auto !important;
  bottom: 40px;
  border-radius: 10px;
}

.more-small {
  max-width: 400px;
  bottom: 0px;
  border-radius: 10px 10px 0 0px;
}

.small-modal p {
  text-align: center;
  font-size: 16px;
  color: #000;
  font-weight: 500;
}

.small-modal .btn-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.small-modal .btn {
  min-height: 35px;
  border-radius: 4px;
  font-weight: 600;
}

.card-ui .card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.action-icon {
  cursor: pointer;
  color: #f00;
}

.add-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 10px;
  min-height: 35px;
}

.modal-footer .btn {
  color: #000;
  font-weight: 500;
  min-height: 40px;
}

.map {
  width: 100%;
  height: 80vh;
}

.device-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.device i {
  font-size: 35px;
  color: #faa01c;
}

.device {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 5px 0;
}

.device i.check {
  margin-left: auto;
  font-size: 25px;
  color: #000;
  opacity: 0.1;
}

.device.active i.check {
  color: #faa01c;
  opacity: 1;
}

.device:hover i.check {
  opacity: 1;
  color: #faa01c;
}

.offcanvas-title {
  font-weight: 600;
  font-size: 20px;
}

.info-card {
  min-height: 82px;
  display: flex;
  align-items: center;
}

.info-card i {
  font-size: 25px;
  color: #0e4b89;
}

.info-card p {
  font-size: 14px;
  font-weight: 500;
  color: #000;
}

.info-card h4 {
  font-size: 18px;
  font-weight: 700;
  line-height: 16px;
}

.info-card span {
  font-size: 13px;
  color: #666;
}

.info-card .arrow {
  margin-left: auto;
}

.info-card .arrow i {
  color: #ddd;
  cursor: pointer;
}

.info-card .arrow i:hover {
  color: #012952;
}

/* d-title */

.d-title {
  font-weight: 700;
  font-size: 18px;
  color: #000;
  margin: 0;
}

.card-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 45px;
}

.card-inner img {
  width: 40px;
}

.text-red {
  color: red;
}

.text-orange {
  color: orange;
}

.text-yellow {
  color: yellow;
}

.text-green {
  color: green;
}

.card-inner i {
  font-size: 30px;
}

/* If you want to ensure the battery icon starts with a default color */
/* .card-inner i.fi-br-battery-full {
    color: #4CAF50; 
  } */

.card-inner i {
  font-size: 30px;
  color: #4caf50;
}

.card-inner h3 {
  font-weight: 700;
  font-size: 18px;
  color: #faa01c;
  margin: 0;
}

.card-inner h4 {
  font-weight: 700;
  font-size: 14px;
  color: #000;
  margin: 0;
}

.card-inner span {
  font-size: 14px;
  font-weight: 600;
  color: #666;
}

.link {
  color: #0e4b89;
  font-size: 14px;
  font-weight: 500;
}

.flex-box {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: start;
}

.cut-btn {
  min-height: auto;
  font-weight: 600;
  font-size: 12px;
  padding: 2px 10px;
}

/* alert-modal */

.modal-content {
  border: 0px;
  box-shadow: 0px 4px 4px 0px rgb(0 0 0 / 25%);
  border-radius: 12px;
}

.alert-modal img {
  margin: auto;
  width: 100px;
}

.alert-modal h2 {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 22px;
  margin: 5px 0;
}

.alert-modal p {
  color: #666;
  font-size: 14px;
}

.alert-modal .modal-footer {
  border: 0px;
  justify-content: center;
  padding-top: 0;
  gap: 20px;
}

.alert-modal .btn {
  border-radius: 50px;
  margin: 0;
}

.alert-modal .btn-outline-danger {
  border-color: #ff2a14;
  color: #ff2a14;
}

.alert-modal .btn-outline-danger:hover {
  color: #fff !important;
}

.alert-modal .btn-success {
  background: #4caf50;
  border-color: #4caf50;
  color: #fff !important;
}

.action-box {
  display: flex;
  gap: 15px;
}

.delete {
  font-size: 20px;
  color: #f00;
  cursor: pointer;
}

/*  map-modal */

.map-modal .modal-header {
  border: 0;
}

.map-modal .modal-footer {
  border: 0;
  align-items: start;
  justify-content: start;
}

.map-modal .map {
  height: 350px;
}

.map-modal p {
  margin: 0;
  text-align: center;
  font-weight: 600;
  color: #000;
  font-size: 16px;
}

.fc-h-event {
  background: transparent;
  border: 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.c-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.c-tag {
  background: #fff;
  padding: 3px 8px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 12px;
}

.c-tag.speed {
  background: #74c118;
}

.c-tag.alarm {
  background: #ff8400;
}

.fc-toolbar-title {
  font-size: 15px;
  font-weight: 800;
  color: #000;
}

.fc-daygrid-day-top {
  font-weight: 600;
}

.fc .fc-daygrid-day.fc-day-today {
  background-color: var(--primary-color);
  color: #fff;
}

.fc-theme-standard td,
.fc-theme-standard th,
.fc-theme-standard .fc-scrollgrid {
  border: 1px solid #f3f3f3;
}

.fc .fc-button-primary {
  background: transparent !important;
  color: #000 !important;
  border: 0;
  text-transform: uppercase;
  font-weight: 700;
  box-shadow: none !important;
}

.fc-theme-standard th {
  padding: 6px 0;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.statistics img {
  width: 30px;
}

.statistics h3 {
  font-weight: 600;
  font-size: 16px;
}

.statistics span {
  font-size: 13px;
  font-weight: 500;
}

.nav-ui .nav-link {
  font-weight: 500;
  letter-spacing: 0.5px;
  min-width: 120px;
  min-height: 45px;
  color: #666;
  background-color: #fff;
  border-radius: 8px;
}

.nav-ui .nav-link.active,
.nav-ui .show > .nav-link {
  background-color: #0e4b89;
}

.nav-ui .tab-content {
  border-radius: 0.375rem !important;
}

.min-height {
  min-height: 80px;
  display: flex;
  align-items: center;
  width: 100%;
}

.mobile,
.m-header,
.menu-bottom,
.m-header-tab,
.m-access-list {
  display: none !important;
}

/* modal animated*/

.animated {
  animation-name: zoomIn;
  animation-duration: 0.5s;
  animation-timing-function: ease-in-out;
}

@keyframes zoomIn {
  from {
    transform: scale(0);
  }

  to {
    transform: scale(1);
  }
}

@keyframes zoomIn {
  from {
    transform: scale(0);
  }

  to {
    transform: scale(1);
  }
}

/* Responsive */

@media (max-width: 992px) {
  body {
    background: #fff !important;
  }

  .desktop {
    display: none !important;
  }

  .sidebar,
  .nav-bar {
    display: none !important;
  }

  .mobile {
    display: block !important;
    max-width: 100%;
    overflow: hidden;
  }

  .menu-bottom {
    display: flex !important;
  }

  .content-area {
    margin: 0px !important;
  }

  .m-header,
  .m-header-tab {
    display: flex !important;
  }

  .m-access-list {
    display: block !important;
  }

  .contentbody {
    padding: 60px 0 80px !important;
    display: block !important;
    height: auto !important;
  }

  .min-h-screen {
    display: block !important;
  }

  .no-bottommenu {
    padding-bottom: 0 !important;
  }

  .small-modal {
    bottom: 0 !important;
    border-radius: 0 !important;
    border: 0 !important;
  }

  .dashboard-page {
    padding: 110px 0 0px !important;
  }
}

/* m-header */
.m-header {
  padding: 0 15px;
  align-items: center;
  height: 60px;
  position: fixed;
  width: 100%;
  background: #fff;
  z-index: 9;
}

.user-name {
  line-height: 15px;
}

.user-name span {
  color: #666666;
  font-size: 13px;
  font-weight: 500;
}

.user-name h1 {
  color: #000;
  font-size: 20px;
  font-weight: 800;
}

.user-img {
  width: 40px;
  height: 40px;
  border-radius: 50px;
  overflow: hidden;
}

.user-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.m-header h4 {
  font-size: 20px;
  font-weight: 600;
}

.m-header .back-arrow {
  font-size: 25px;
  opacity: 0.5;
  margin-right: 10px;
}

/* m-header */

/* header-tab */

.m-header-tab {
  position: fixed;
  width: 100%;
  top: 60px;
  background: #fff;
  height: 50px;
  overflow-x: auto;
  z-index: 9;
  box-shadow: 0px 2px 2px 0px hsl(0deg 0% 0% / 9%);
}

.m-header-tab ul {
  display: flex;
  align-items: center;
}

.m-header-tab ul a {
  display: flex;
  align-items: center;
  border-bottom: 2px solid #fff;
  padding: 0 15px;
  height: 50px;
  white-space: nowrap;
  font-weight: 500;
  font-size: 15px;
  min-width: 120px;
  justify-content: center;
  color: #666 !important;
  gap: 8px;
}

.m-header-tab ul a i {
  font-size: 16px;
}

.m-header-tab ul a.active {
  font-weight: 600;
  color: var(--primary-color) !important;
  border-color: var(--darkblue-color);
  background: #0e4b8912 !important;
}

/* menu-bottom */

.menu-bottom {
  background: #ffffff;
  height: 80px;
  position: fixed;
  bottom: 0;
  width: 100%;
  align-items: center;
  justify-content: center;
  z-index: 9;
  box-shadow: 0px -4px 22px 0px hsl(0deg 0% 0% / 10%);
}

.menu-bottom ul {
  display: flex;
  margin: 0;
  justify-content: space-between;
  padding: 0px;
  width: 100%;
  align-items: center;
}

.menu-bottom li {
  width: calc(100% / 5);
  position: relative;
}

.menu-bottom a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  filter: grayscale(1);
  opacity: 0.5;
  height: 80px;
  color: var(--primary-color);
}

.menu-bottom a.active {
  opacity: 1;
  filter: grayscale(0);
}

.menu-bottom a.active::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  background: var(--primary-color);
  top: 0;
}

.menu-bottom a img {
  height: 32px;
}

.menu-bottom a span {
  font-size: 13px;
  font-weight: 600;
}

/* menu-bottom */

/* banner */

.banner {
  margin: 0 15px;
  background: #fff url(/img/map-banner.svg);
  min-height: 150px;
  display: flex;
  align-items: center;
  padding: 15px;
  border-radius: 15px;
  border: 1px solid #e8e8e8;
  background-size: 150%;
  background-position: -10px;
  position: relative;
  overflow: hidden;
  box-shadow: 0px 12px 27px 0px rgba(0, 0, 0, 0.06);
}

.banner .b-text {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 8px;
}

.banner h1 {
  font-size: 26px;
  font-weight: 800;
  color: var(--primary-color);
}

.banner::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0px;
  top: 0;
  background: rgb(255, 255, 255);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0) 100%
  );
}

.btn-2 {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  background: var(--secondary-color);
  border-radius: 20px;
  padding: 8px 15px;
  font-size: 14px;
}

.btn-2 i {
  font-size: 12px;
}

.ripple-container {
  position: relative;
  width: 25px;
  height: 25px;
  right: -50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ripple-dot {
  width: 20px;
  height: 20px;
  background: var(--secondary-color);
  border-radius: 50px;
}

.ripple {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  animation: ripple 1.5s infinite;
}

@keyframes ripple {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 1;
  }

  70% {
    transform: translate(-50%, -50%) scale(2.5);
    opacity: 0.3;
  }

  100% {
    transform: translate(-50%, -50%) scale(3);
    opacity: 0;
  }
}

/* m-body */

.px-15 {
  padding: 0px 15px;
}

.m-title {
  font-weight: 600;
  font-size: 18px;
}

.m-tab {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 10px;
  padding: 0 15px;
}

.m-tab .nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px !important;
  background-color: #fff;
  border-radius: 30px;
  font-weight: 600;
  width: max-content;
  border: 1px solid #fff;
  box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.09);
}

.m-tab .nav-link img {
  width: 30px;
}

.m-tab .nav-link.active,
.nav-pills .show > .nav-link {
  color: initial;
  background-color: #fff;
  border-color: var(--primary-color);
}

/* d-list */

.d-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.d-info {
  display: flex;
  align-items: center;
  flex-direction: column;
  border-bottom: 1px solid #f1f1f1;
  padding: 0 15px 10px;
  width: 100%;
}

.d-info_inner {
  display: flex;
  align-items: center;
  gap: 5px;
  width: 100%;
}

.d-info .icon {
  width: 50px;
}

.d-info .d-text {
  display: flex;
  flex-direction: column;
  line-height: 18px;
}

.d-info .d-text h4 {
  font-size: 18px;
  font-weight: 600;
}

.d-info .d-text span {
  font-size: 13px;
  color: #696969;
  font-weight: 500;
}

.arrow-right {
  font-size: 25px;
  color: #696969;
}

.bell {
  width: 40px;
  height: 40px;
  position: relative;
  display: flex;
  justify-content: center;
  margin-left: auto;
}

.bell span {
  position: absolute;
  background: #faa01c;
  top: -3px;
  min-width: 20px;
  height: 20px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.bell .shake {
  animation: shake 0.5s infinite;
}

@keyframes shake {
  0%,
  100% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(-10deg);
  }

  75% {
    transform: rotate(10deg);
  }
}

/* Alarm */

.m-alarm-list {
  background: #f7fbff;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 15px;
  min-height: calc(100dvh - 140px);
}

.m-alarm {
  display: flex;
  align-items: center;
  border-radius: 15px;
  background-color: rgb(255, 255, 255);
  box-shadow: 0px 4px 4px 0 hsl(0deg 0% 0% / 3%);
  padding: 12px 15px;
  gap: 15px;
  position: relative;
}

.m-alarm img {
  width: 40px;
}
.signal-img {
  position: absolute;
  right: 15px;
  top: 69px;
  max-width: 20px;
}

.m-alarm .a-info {
  display: flex;
  flex-direction: column;
  line-height: 18px;
  position: relative;
  /* padding-bottom: 20px; */

  .info_text{
    font-size: 12px;
  }
}

.new-alarm-text {
  color: orange !important;
  font-weight: bold !important;
}
.overspeed-alarm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border: 2px solid red;
  border-radius: 50%;
  text-align: center;
  font-size: 12px !important;
  color: #f00 !important;
  font-weight: 600 !important;
  line-height: 13px;
}

.m-alarm h4 {
  font-size: 18px;
  font-weight: 600;
}

.m-alarm span {
  font-size: 13px;
  color: #696969;
  font-weight: 500;
}

.m-close {
  position: absolute;
  opacity: 1;
  background: #000 !important;
  color: #fff;
  border-radius: 50px;
  left: calc(50% - 15px);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  top: -50px;
}

.select-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.select-device {
  display: flex;
  align-items: center;
  gap: 10px;
}

.select-device i {
  font-size: 25px;
  color: var(--secondary-color);
}

.select-device h4 {
  font-size: 16px;
  font-weight: 600;
}

.select-device span {
  font-size: 13px;
  color: #696969;
}

/* commands */

.m-commands-list {
  background: #f7fbff;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 15px;
  min-height: calc(100dvh - 140px);
}

.commands-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.commands-menu a,
.commands-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  padding: 8px 15px;
  border-radius: 12px;
  height: 55px;
  font-weight: 500;
  width: 100%;
  box-shadow: 0px 2px 2px 0 hsl(0deg 0% 0% / 5%);
}

.commands-menu a img,
.commands-menu button img {
  width: 35px;
  display: flex;
  align-items: center;
}

/* v-alarm */
.m-valarm-list {
  background: #f7fbff;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 15px;
  min-height: calc(100dvh - 60px);
}

.v-alarm {
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  justify-content: space-between;
  box-shadow: 0px 2px 2px 0 hsl(0deg 0% 0% / 5%);
}

/* SOS */

.m-sos-list {
  background: #f7fbff;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 15px;
  min-height: calc(100dvh - 60px);
}

.m-card-ui {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0px 2px 2px 0px hsl(0deg 0% 0% / 6%);
}

.m-card-ui .card-body {
  padding: 15px;
}

.m-card-ui .card-footer {
  display: flex;
  align-items: center;
  padding: 0 15px 15px;
  justify-content: space-between;
}

.m-add-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 30px;
  font-weight: 500;
  justify-content: center;
  min-height: 50px;
  width: 50px;
  position: fixed;
  bottom: 15px;
  right: 15px;
}

/* Add Device */

.m-adddevice-list {
  background: #f7fbff;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 15px;
  min-height: calc(100dvh - 60px);
}

.bg-blue-700 {
  background-color: var(--primary-color) !important;
}

/* m-device-info */

.m-device-info {
  background: #f7fbff;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 15px;
  min-height: calc(100dvh - 60px);
}

.m-sub-header {
  display: flex;
  align-items: center;
}

.m-card {
  background: #fff;
  padding: 10px 15px;
  border-radius: 8px;
  box-shadow: 0px 2px 2px 0px hsl(0deg 0% 0% / 6%);
}

.m-card span {
  font-size: 14px;
  font-weight: 500;
  color: #666;
}

.m-card .card-inner {
  justify-content: space-between;
}

.m-card .card-inner h3 {
  font-size: 20px;
}

.m-card .d-title {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 10px;
}

.m-flex {
  display: flex;
  align-items: center;
}

.icon-text-m {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-text-m img {
  width: 40px;
}

.icon-text-m .text {
  font-size: 16px;
  font-weight: 500;
  color: #000;
}

.m-count {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-color) !important;
  font-weight: 600 !important;
  margin-left: auto;
  font-size: 16px !important;
}

.arrow-action {
  font-size: 25px;
  margin-left: 10px;
}

.m-command-c {
  display: flex;
  align-items: center;
  gap: 10px;
}

.m-command-c img {
  width: 40px;
}

.m-command-c span {
  font-size: 13px;
  font-weight: 500;
  color: #000;
}

/* m-calendar */

.m-calendar {
  background: #f7fbff;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 15px;
  min-height: calc(100dvh - 60px);
}

.m-full-calendar .fc-view-harness {
  height: auto !important;
}

.m-full-calendar .fc-toolbar.fc-header-toolbar {
  margin-bottom: 0 !important;
}

.m-full-calendar .fc-scroller-liquid-absolute {
  position: relative;
}

.m-full-calendar .fc-today-button {
  display: none !important;
}

.m-full-calendar .fc-theme-standard th {
  padding: 5px 0 !important;
}

.m-full-calendar .fc-theme-standard td,
.m-full-calendar .fc-theme-standard th,
.m-full-calendar .fc-theme-standard .fc-scrollgrid {
  border: 0 !important;
}

.m-full-calendar .fc-daygrid-day-top {
  justify-content: center;
}

.m-full-calendar .fc-view-harness-active > .fc-view {
  position: relative !important;
}

.m-calendar .m-card h3 {
  font-size: 18px;
}

.m-calendar .fc-button {
  padding: 0 !important;
}

/* statistics */

.m-nav-ui {
  height: 50px;
}

.m-nav-ui li {
  width: 50%;
}

.m-nav-ui li .nav-link {
  display: flex;
  align-items: center;
  width: 100%;
  border-bottom: 2px solid #fff;
  padding: 0 15px;
  height: 50px;
  white-space: nowrap;
  font-weight: 500;
  font-size: 15px;
  min-width: 120px;
  justify-content: center;
  color: #666 !important;
  background: #fff !important;
  border-radius: 0;
}

.m-nav-ui .nav-link.active {
  color: var(--primary-color) !important;
  border-color: var(--darkblue-color);
}

/* m-map-live */

.m-map-live {
  min-height: calc(100dvh - 140px);
}

.map-mobile .relative {
  height: calc(100dvh - 60px - 50px - 165px);
}

.m-position-info {
  position: fixed;
  z-index: 99;
  left: 0;
  bottom: 0;
  background: #ffffff5c;
  width: 100%;
  padding: 15px;
  height: 165px;
}

.m-status-bar {
  background: #d7d3d3;
  display: flex;
  border-radius: 40px;
  margin-bottom: 10px;
  padding-right: 15px;
}

.m-status-bar .b-status {
  padding: 4px 14px 4px 4px;
  background: #e5e5e5cc;
  border-radius: 50px;
  font-size: 14px;
  color: #fff;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #000;
}

.m-status-bar .b-status img {
  width: 25px;
}

.m-status-bar .status-icons {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.m-other-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.m-other-info .info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #2f2f2f;
}

/* m-tips-list */

.m-tips-list {
  background: #f7fbff;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 15px;
  min-height: calc(100dvh - 110px);
}

.m-tips-map {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fff;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0px 2px 2px 0px hsl(0deg 0% 0% / 6%);
}

.m-map {
  width: 100%;
  height: 180px;
  border-radius: 8px;
}

.m-date {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
}

.m-other-info-column {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

.map-other-info {
  display: flex;
  flex-direction: column;
  text-align: center;
  line-height: 18px;
}

.map-other-info .m-data {
  color: #000;
  font-weight: 600;
  font-size: 16px;
}

.map-other-info .m-label {
  font-size: 13px;
  font-weight: 500;
  color: #666;
}

/* m-device-setting */

.m-device-setting {
  background: #f7fbff;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 15px;
  min-height: calc(100dvh - 110px);
}

/* battery */

.battery {
  width: 35px;
  height: 18px;
  border: 1px solid #333;
  border-radius: 5px;
  position: relative;
  display: inline-block;
}

.battery:before {
  content: "";
  position: absolute;
  top: 2px;
  right: -5px;
  width: 5px;
  height: 14px;
  background: #333;
  border-radius: 2px;
}

.battery-level {
  height: 100%;
  background: #4caf50;
  width: 75%;
  transition: width 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
}

.percentage {
  text-align: center;
  font-size: 12px;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

/* m-access */

.m-access {
  background: #f7fbff;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 15px;
  min-height: calc(100dvh - 110px);
}

/* m-settings */
.m-settings {
  background: #f7fbff;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 15px;
  min-height: calc(100dvh - 110px);
}

.access-info {
  font-weight: 500;
  margin-bottom: 5px;
}

/* Log */

.m-log {
  background: #f7fbff;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 15px;
  min-height: calc(100dvh - 110px);
}

.log-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.log-info {
  flex-grow: 1;
}

/* m-geofence */

.m-geofence {
  background: #f7fbff;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 15px;
  min-height: calc(100dvh - 60px);
}

.geofence-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.geofence-info {
  flex-grow: 1;
}

.geofence-info p {
  font-size: 15px;
  font-weight: 500;
}

.m-action-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}

/* m-command */

.m-command {
  background: #f7fbff;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 15px;
  min-height: calc(100dvh - 60px);
}

.m-command-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.m-command-info {
  flex-grow: 1;
}

.m-command-info p {
  font-size: 15px;
  font-weight: 500;
}

.info-icon {
  font-size: 20px;
}

.m-info p {
  font-size: 14px;
  margin-bottom: 10px;
  font-weight: 500;
}

.m-btn-close {
  font-size: 24px;
  margin-left: auto;
}

.m-offcanvas {
  height: auto !important;
  max-height: 60vh;
}

.card-inner i.i-icon {
  font-size: 22px;
  color: #666;
}

.loader {
  text-align: center;
  margin-top: 20px;
}

.no-alarms-message {
  text-align: center;
  color: #777;
  margin-top: 20px;
  font-size: 1.2em;
}

/* m-sidebar */

.m-sidebar .offcanvas-header {
  padding: 15px;
  gap: 15px;
  background: #ffe7ba;
}

.m-back {
  border: 0px;
  background: transparent;
  width: 25px;
  padding: 0;
}

.m-sidebar_info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.m-sidebar__userimg {
  width: 40px;
  height: 40px;
  border-radius: 50px;
  overflow: hidden;
}

.m-sidebar__userinfo {
  line-height: 20px;
}

.m-sidebar__userinfo p {
  margin: 0px;
  font-weight: 600;
  font-size: 18px;
}

.m-sidebar__userinfo span {
  font-size: 14px;
  font-weight: 600;
  color: #666;
}

.user__setting {
  width: 30px;
  margin-left: auto;
  opacity: 0.6;
}

.m-sidebar {
  --bs-offcanvas-width: 100%;
  border: 0;
}

.m-sidebar__list {
  list-style: none;
  padding: 0px;
  margin: 0px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.m-sidebar__list a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 16px;
  color: #000;
}

.m-sidebar__icon {
  width: 50px;
  background: #f6f4f4;
  height: 50px;
  border-radius: 50px;
  padding: 12px;
}

.sidebar__title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
}

.m-renewal {
  padding-left: 15px;
  background: var(--primary-color);
  color: #fff;
  font-weight: 500;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  margin-top: 5px;
}

.m-renewal a {
  background: var(--secondary-color);
  color: #000 !important;
  padding: 6px 15px;
  border-radius: 0;
}

.m-map__box {
  width: 100%;
  height: calc(78dvh - 60px);
}

.m-trip__control {
  padding: 15px;
  height: 22dvh;
  background: #fff;
  position: relative;
  box-shadow: 0px -4px 4px 0px rgb(0 0 0 / 14%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.m-date-time {
  display: flex;
  align-items: center;
  font-size: 13px;
  justify-content: space-between;
  font-weight: 500;
}

.m-trip__info {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.m-trip__text {
  display: flex;
  width: calc(50% - 5px);
  align-items: center;
  gap: 10px;
}

.m-trip__text div {
  line-height: 15px;
}

.m-trip__text p {
  font-size: 16px;
  font-weight: 600;
  color: #000;
}

.m-trip__text span {
  font-size: 13px;
  font-weight: 500;
  color: #666;
}

.m-trip__control input {
  height: 4px;
  border-radius: 50px;
  margin: 0 !important;
}

.m-login__page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
}

.signal-icon-live-tracking {
  width: 1.5em;
  height: 1.5em;
  vertical-align: middle;
}

.m_logo {
  width: 40px;
}

.m-monitor-map {
  height: calc(30dvh + 60px);
  margin-top: -60px;
}

.m-monitor-map .flex {
  height: 100%;
}

.monitor-page {
  margin-top: -60px;
}

.monitor-header {
  background: hsl(0deg 0% 100% / 30%);
  backdrop-filter: blur(2px);
}

.m-monitor_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding: 0 15px;
}

.m-modal_header {
  padding: 0 15px;
  align-items: center;
  height: 60px;
  position: fixed;
  width: 100%;
  background: #fff;
  z-index: 9;
  border: 0;

  h4 {
    font-size: 20px;
    font-weight: 600;
  }

  .back-arrow {
    font-size: 25px;
    opacity: 0.5;
    margin-right: 10px;
  }
}

.m-modal_body {
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  padding: 0;
  transform: 0.5s ease;

  .m-parking {
    margin-top: auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50%;
    overflow: hidden;
    opacity: 0.3;
    filter: grayscale(1);
    box-shadow: inset 0px -5px 5px 0px rgb(0 0 0 / 3%);

    img {
      width: 90%;
      height: 100%;
      object-fit: contain;
      position: relative;
      z-index: 10;
      transform: translateY(30%);
      animation: slidedown 1s ease-in-out backwards;
      padding: 15px 0;
    }

    .bg-car_border {
      background: rgb(255, 255, 255);
      background: linear-gradient(
        0deg,
        rgba(139, 195, 74, 1) 0%,
        rgba(255, 255, 255, 1) 100%
      );
      height: 100%;
      width: 2px;
      margin: 2px;
    }
  }

  h5 {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    margin-top: auto;
    color: #000;
  }

  p {
    text-align: center;
    color: #666;
    margin-top: 10px;
    padding: 0 15px;
  }
}

.m-parking.active-bg {
  opacity: 1;
  filter: grayscale(0);

  img {
    animation: slideUp 1s ease-in-out forwards;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(30%);
  }

  to {
    transform: translateY(0);
  }
}

@keyframes slidedown {
  from {
    transform: translateY(0%);
  }

  to {
    transform: translateY(30%);
  }
}

.parking-btn {
  width: 80%;
  height: 60px;
  background: #fff;
  border-radius: 50px;
  margin: auto auto 30px auto;
  border: 2px solid #e7e7e7;
  font-size: 18px;
  font-weight: 800;
  position: relative;
  box-shadow: 0px 0px 50px 0px #ebebeb;
  transition: transform 0.2s;
  text-transform: uppercase;
}

.parking-btn:before,
.parking-btn:after {
  content: "";
  display: block;
  position: absolute;
  top: -2px;
  right: 0;
  bottom: 0;
  left: 0;
  border: 1px solid #e7e7e7;
  border-radius: 60px;
  height: 60px;
  z-index: 0;
}

.parking-btn:before {
  animation: ripple 2s linear infinite;
}

.parking-btn:after {
  animation: ripple 2s linear 1s infinite;
}

@keyframes ripple {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
    opacity: 1;
  }

  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}

.parking-btn.active {
  border-color: rgb(139, 195, 74);
  background: rgb(139, 195, 74);
  box-shadow: 0px 0px 50px 0px rgb(139, 195, 74);
  color: #fff;
}

.parking-btn.active:before,
.parking-btn.active:after {
  border-color: rgb(139, 195, 74);
}

.ripple-1,
.ripple-2,
.ripple-3,
.ripple-4,
.ripple-5 {
  height: 1px;
  width: 1px;
  position: absolute;
  left: 50%;
  bottom: 50%;
  background-color: rgb(139, 195, 74);
  border-radius: 50%;
  transform: translate3d(50%, 50%, 0);
  animation-name: ripple1;
  animation-duration: 8s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-out;
  will-change: transform, opacity;
}

.ripple-1 {
  animation-delay: 0;
}

.ripple-2 {
  animation-delay: 1s;
}

.ripple-3 {
  animation-delay: 2s;
}

.ripple-4 {
  animation-delay: 3s;
}

.ripple-4 {
  animation-delay: 4s;
}

.ripple-5 {
  animation-delay: 5s;
}

@keyframes ripple1 {
  0% {
    transform: translate3d(50%, 50%, 0) scale(0);
    opacity: 0.33;
  }

  100% {
    transform: translate3d(50%, 50%, 0) scale(1000);
    opacity: 0;
  }
}

.car-power {
  margin-top: auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: inset 0px -5px 5px 0px rgb(0 0 0 / 3%);

  .car_img {
    width: 70%;
    position: absolute;
    z-index: 1;
    bottom: 0;
  }
}

.image-wrapper {
  display: flex;
  width: 100%;
  animation: scrollRight 10s linear infinite;
  animation-play-state: paused;
}
.moving-bg {
  animation-play-state: running;
  animation: scrollRight 10s linear infinite;
}
.moving-image {
  width: 100vw !important;
}

@keyframes scrollRight {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.m_alarmdetail .relative {
  height: calc(100dvh - 60px - 0px - 165px);
}
.battery-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.battery-icon {
  font-size: 24px; /* Adjust as needed */
}

.text h3 {
  font-weight: bold;
  margin: 0;
}

.text span {
  font-size: 12px;
  color: gray;
}
.battery_power {
  display: flex
;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  margin-bottom: auto;
}