/* DASHBOARD PAGE -------------------------------------------------------------- */
.dashboard {
  background-color: var(--darkblue-color);
  display: -webkit-box;
  min-height: 100vh;
}

.dash-main-title {
  color: var(--darkblack-color);
  font-size: 20px;
  font-weight: 600;
}

.dash-medium-title {
  font-size: 16px;
  font-weight: 600;
  color: #16192c;
}

.dashboard-logo {
  width: 250px;
  height: auto;
}

/* Layout ======================================= */
.dashboard-app {
  /* z-index: 5; */
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  flex-direction: column;
  -webkit-box-flex: 2;
  -webkit-flex-grow: 2;
  -ms-flex-positive: 2;
  flex-grow: 2;
  margin: 20px;
  margin-left: 300px;
  background-color: var(--whitecolor);
  position: absolute;
  width: -webkit-fill-available;
  overflow: hidden;
  max-height: -webkit-fill-available;
  height: 100%;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  -ms-border-radius: 30px;
  -o-border-radius: 30px;
  border-radius: 30px;
}

.dashboard-content {
  padding: 35px 50px 50px 50px;
  overflow-x: hidden;
  overflow-y: auto;
}

.login-userdropdown .dropdown-toggle {
  background: #fff;
  border-color: #fff;
  color: var(--darkblack-color);
  font-weight: 500;
  padding: 0px !important;
  text-align: left;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  max-width: 240px;
}

.login-userdropdown .dropdown-toggle:hover,
.login-userdropdown .dropdown-item.active,
.login-userdropdown .dropdown-item:active {
  background: #fff;
  border-color: #fff;
  color: var(--darkblack-color);
}

.login-userdropdown .dropdown-toggle::after {
  display: none;
}

.login-usering {
  min-width: 50px;
  max-width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 10px;
  object-fit: cover;
}

.login-userdropdown .dropdown-menu {
  box-shadow: 5px 5px 15px 0px #0000001a;
  border: 1px solid var(--whitecolor);
  border-radius: 15px;
}

.login-userdropdown .dropdown-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  padding: 10px 15px;
}

.login-userdropdown .dropdown-item.profile-logoutitem {
  color: #d50000;
  font-weight: 600;
}

.dashboard-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.dashboard-compact .dashboard-toolbar {
  left: 70px !important;
}

.maincard-sectionspace {
  margin-top: 30px;
}
.maincard-sectionspace #chartWrapper {
  height: 400px !important;
  width: 100% !important;
}

/* Sidebar ====================================== */
.dashboard-nav {
  min-width: 300px;
  max-width: 300px;
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  overflow: hidden;
  background-color: var(--darkblue-color);
}

.dashboard-nav header {
  padding: 30px 30px 50px 30px;
  display: flex;
  align-items: center;
}

.dashboard-nav .dashboard-nav-item {
  color: var(--whitecolor);
  text-decoration: none;
  display: flex;
  gap: 25px;
  transition: all 0.5s;
  border-right: 3px solid transparent;
}

.dashboard-nav .dashboard-nav-item img,
.dashboard-nav .dashboard-nav-item svg path {
  transition: all 0.5s;
}

.dashboard-nav .dashboard-nav-item:hover,
.dashboard-nav .dashboard-nav-item.active {
  background-color: var(--whitecolor);
  color: var(--darkblack-color);
  border-color: #08c0ff;
}

.dashboard-nav .dashboard-nav-item:hover img,
.dashboard-nav .dashboard-nav-item.active img {
  filter: brightness(0.1);
}

.dashboard-nav .dashboard-nav-item:hover svg path,
.dashboard-nav .dashboard-nav-item.active svg path {
  stroke: #000;
}

.dashboard-nav-list {
  display: flex;
  flex-direction: column;
  max-height: 80vh;
  overflow-y: auto;
  overflow-x: hidden;
}

.dashboard-nav-item {
  padding: 15px 15px 15px 50px;
  display: flex;
  align-items: center;
  transition: ease-out 0.5s;
  margin-bottom: 7px;
  position: relative;
}

.dashboard-nav-item::after {
  content: "";
  width: 0px;
  height: 100%;
  border-radius: 30px;
  background-color: var(--whitecolor);
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
}

/* .dashboard-nav-item.active::after {
  opacity: 1;
} */

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: #fff;
}

::-webkit-scrollbar-thumb {
  background: var(--lightblue-color);
}

.menu-toggle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #009cda;
  display: none;
}

.menu-toggle:hover,
.menu-toggle:active,
.menu-toggle:focus {
  text-decoration: none;
  color: #009cda;
}

.menu-toggle i {
  font-size: 20px;
}

.menu-toggle.responsive-close-btn {
  color: var(--whitecolor);
}

.dashboard::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #00000070;
  z-index: 1;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s, opacity 2s linear;
}

/* New submenu css ============================ */
.dashboard-nav-list .dropdown-menu {
  position: unset !important;
  inset: unset !important;
  transform: none !important;
  background-color: unset;
  border: 0px;
  padding: 0px 15px 0px 50px;
  /* list-style: circle; */
  width: 100%;
  max-height: 0;
  transition: max-height 0.5s ease;
  display: block !important;
  overflow: hidden;
  position: relative;
}

.dashboard-nav-list .dropdown-item:after {
  content: "";
  width: 8px;
  height: 8px;
  background: #fff;
  position: absolute;
  left: 12px;
  /* right: 0; */
  border-radius: 50%;
}

.dashboard-nav-list .dropdown-menu.show {
  max-height: 600px;
  overflow: auto;
}

.dashboard-nav-item.dropdown-toggle {
  justify-content: space-between;
}

.dashboard-nav-item.dropdown-toggle span {
  display: flex;
  align-items: center;
  gap: 25px;
}

.dashboard-nav-item.dropdown-toggle svg {
  transition: all 0.3s;
}

.dashboard-nav-item.dropdown-toggle.show svg {
  transform: rotate(180deg);
}

.dashboard-nav-list .dropdown-item {
  padding: 8px 10px 8px 30px;
  display: flex;
  align-items: center;
  transition: ease-out 0.5s;
  margin-bottom: 7px;
  position: relative;
  color: var(--whitecolor);
  white-space: unset;
}

.dashboard-nav-list .dropdown-item:hover {
  background-color: transparent;
}

.dashboard-nav-list .dropdown-item.active,
.dashboard-nav-list .dropdown-item:active {
  background-color: #000;
  color: #fff;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  border-radius: 5px;
}

.dashboard-nav-list li {
  color: var(--whitecolor);
}

/* Dashboard content section ------------------------------------------------------ */
.post-cardDiv {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  grid-gap: 20px;
}

.post-session-card {
  background: #f6e6e6;
  border-radius: 25px;
  padding: 15px;
  display: flex;
  gap: 15px;
  align-items: center;
  -webkit-border-radius: 25px;
  -moz-border-radius: 25px;
  -ms-border-radius: 25px;
  -o-border-radius: 25px;
}

.dropzone {
  border: 1px;
}

.post-cardDiv .post-session-card:nth-child(2) {
  background: #e6eaf6;
}

.post-cardDiv .post-session-card:nth-child(3) {
  background: #f6f0e6;
}

.post-cardDiv .post-session-card:nth-child(4) {
  background: #e6f3f6;
}

.post-cardDiv .post-session-card:nth-child(5) {
  background: #f1e6f6;
}

.post-sessionicon {
  padding: 10px;
  border-radius: 50%;
  background-color: var(--whitecolor);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
}

.post-content {
  color: var(--darkblack-color);
  font-size: 16px;
  font-weight: 600;
}

.chat-card {
  border: 1px solid #e5e5e5;
  border-radius: 25px;
  padding: 30px;
}
.new-status {
  background: #f6e6e6;
  font-weight: 600;
  font-size: 12px;
  border-radius: 16px;
  padding: 5px 10px;
}
.shop-status {
  background: #e6eaf6;
  font-weight: 600;
  font-size: 12px;
  border-radius: 16px;
  padding: 5px 10px;
}
.quote-status {
  background: #f6f0e6;
  font-weight: 600;
  font-size: 12px;
  border-radius: 16px;
  padding: 5px 10px;
}
.parts-status {
  background: #e6f3f6;
  font-weight: 600;
  font-size: 12px;
  border-radius: 16px;
  padding: 5px 10px;
}
.completed-status {
  background: #f1e6f6;
  font-weight: 600;
  font-size: 12px;
  border-radius: 16px;
  padding: 5px 10px;
}
.complete-status {
  color: #00a147;
  font-weight: 600;
  font-size: 12px;
  background: #d2f5e1;
  border-radius: 16px;
  padding: 5px 10px;
}

.pending-status {
  color: var(--redcolor);
  font-weight: 600;
  font-size: 12px;
  background: #fae7e7;
  border-radius: 16px;
  padding: 5px 15px;
}

.inprogress-status {
  color: #38629c;
  font-weight: 600;
  font-size: 12px;
  background: #e7effa;
  border-radius: 16px;
  padding: 5px 11px;
}

.action-dropdown .dropdown-toggle {
  border: 0px;
  padding: 0px;
  background-color: var(--whitecolor);
}

.action-dropdown .dropdown-toggle::after {
  display: none;
}

.action-dropdown .dropdown-menu {
  box-shadow: 5px 5px 15px 0px #0000001a;
  background-color: var(--whitecolor);
  border-radius: 10px;
  border: 1px solid #e6e6e6;
}

.action-dropdown .dropdown-item {
  font-size: 16px;
  font-weight: 500;
  padding: 8px 15px;
}

.action-dropdown .dropdown-item.active,
.action-dropdown .dropdown-item:active {
  background-color: var(--darkblue-color);
}

/* ticket detail page */
.ticket-info strong {
  min-width: 130px;
  display: inline-block;
}

.ticket-info p {
  margin-bottom: 15px;
}

.ticket-info p:last-child {
  margin-bottom: 0;
}

.ticket-detail strong {
  font-weight: 600;
  font-size: 16px;
}

.ticket-detail {
  font-size: 15px;
}

.status-tag {
  padding: 8px 10px;
  font-size: 12px;
}

.services-list {
  margin-top: 25px;
  display: flex;
  gap: 20px;
  row-gap: 10px;
}

.services-list ul {
  padding-left: 0;
  display: flex;
  margin: 0;
  row-gap: 8px;
  flex-wrap: wrap;
}

.services-list ul li {
  margin: 0 15px;
}

.upload-images img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
}

.ticket-detail .card {
  height: 100%;
}

.action-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--darkblue-color);
  border-radius: 5px;
}

.action-btn.edit {
  background-color: var(--darkblack-color);
}

.action-btn.delete {
  background-color: var(--redcolor);
}

.inner-title {
  font-size: 18px;
  font-weight: 600;
  color: #000000;
  margin-bottom: 30px;
}

/* Responsive(Functionality) sidebar ===========================*/
@media screen and (max-width: 1299px) {
  .dashboard-app {
    margin: 15px;
    margin-bottom: 0px;
  }

  .dashboard-nav {
    width: 0;
    min-width: 0;
    transition: width 0.5s ease-in-out, min-width 0.5s ease-in-out,
      transform 0.5s ease-in-out;
    z-index: 11;
  }

  .mobile-show.dashboard-nav {
    visibility: visible;
    opacity: 1;
    width: 346px;
    min-width: 346px;
    transition: width 0.5s ease-in-out, min-width 0.5s ease-in-out;
  }

  .dashboard-compact:after {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.5s ease-in-out, visibility 0s linear 0s;
  }

  .menu-toggle {
    display: block;
  }

  .dashboard-nav header {
    padding: 20px 20px 25px 20px;
  }

  .dashboard-nav-item {
    padding: 8px 15px 8px 35px;
  }
}
@media screen and (max-width: 992px) {
  .services-list {
    flex-wrap: wrap;
  }

  .upload-images img {
    width: 120px;
    height: 120px;
  }
}

@media screen and (max-width: 575px) {
  .services-list {
    margin-top: 15px;
  }

  .ticket-detail strong {
    font-size: 15px;
  }

  .ticket-detail {
    font-size: 14px;
  }

  .services-list ul {
    gap: 10px;
  }

  .ticket-info strong {
    min-width: 100px;
  }

  .upload-images img {
    width: 70px;
    height: 70px;
  }

  .ticket-info p {
    margin-bottom: 10px;
  }

  .mobile-show.dashboard-nav {
    width: 100%;
    min-width: 100%;
  }

  .dashboard-toolbar .dash-main-title{
    display: none;
  }
}

/* Responsive ============================= */
@media screen and (max-width: 1530px) {
  .post-session-card {
    padding: 20px;
  }

  .post-sessionicon {
    width: 55px;
    height: 55px;
    padding: 13px;
  }
}

@media screen and (max-width: 1280px) {
  .dashboard-content {
    padding: 25px 25px 25px 25px;
  }

  .post-session-card {
    gap: 12px;
    padding: 15px;
  }
}

@media screen and (max-width: 992px) {
  .inner-title {
    font-size: 16px;
    margin-bottom: 20px;
  }

  /* .login-userdropdown span {
    display: none;
  } */

  .login-usering {
    max-width: 40px;
    min-width: 40px;
    width: 40px;
    height: 40px;
    margin-right: 0px;
  }

  .dash-main-title {
    font-size: 18px;
  }

  .dash-medium-title {
    font-size: 15px;
  }

  .maincard-sectionspace {
    margin-top: 20px;
  }
}

@media screen and (max-width: 575px) {
  .dashboard-content {
    padding: 20px 15px;
  }

  .dash-main-title {
    font-size: 16px;
  }
}

/* Dahboard module page ------------------------------------------------------------------------------------------------------ */
/* Create ticket page ======================== */
.card {
  border: 1px solid #cfcfcf;
  border-radius: 25px;
  padding: 30px;
}

.drop_box {
  padding: 13px 20px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 1px solid #d2d2d2 !important;
  border-radius: 5px;
  border-radius: 16px;
  text-align: center;
}

.drop_box h4 {
  font-size: 16px;
  font-weight: 500;
  color: var(--darkblack-color);
  margin: 16px 0px 20px 0px;
}

.drop_box p {
  font-size: 14px;
  color: #6e6e6e;
}

.drop_box input {
  margin: 10px 0;
  width: 100%;
  background-color: #e2e2e2;
  border: none;
  outline: none;
  padding: 12px 20px;
  border-radius: 4px;
}

.dropuploadfile {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 24px;
}

.dropuploadfile > input[type="file"] {
  display: none;
}

.dropuploadfile > label {
  cursor: pointer;
  outline: 0;
  user-select: none;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 9px 18px;
}

.service-checkbox {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 0px;
}

.checkbox-cols {
  max-width: 50px;
  width: 50px;
}

.dash-maincardbtn {
  margin-top: 30px;
}

.card .card-body .card .card-body {
  padding-left: 0px;
  padding-right: 0px;
}

.maincard-sectionspace .top-input-space {
  display: flex; 
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

@media screen and (max-width: 1499px) {
  .card {
    padding: 20px;
  }
}

@media screen and (max-width: 575px) {
  .card,
  .drop_box {
    padding: 15px;
  }

  .drop_box h4 {
    font-size: 14px;
    margin: 15px 0px 15px 0px;
  }

  .drop_box p {
    font-size: 12px;
  }

  .dropuploadfile {
    margin-top: 15px;
  }

  .service-checkbox .form-check-input {
    width: 20px;
    height: 20px;
  }

  .service-checkbox .form-check-label {
    font-size: 14px;
  }
  
  .top-input-space .space, .top-input-space .space-filter{
        width: -webkit-fill-available;
  }
}

/* Custom file (ticket page) ====================================================================== */
.form-checkradio-card {
}

.form-checkradio-card [type="radio"]:checked,
.form-checkradio-card [type="radio"]:not(:checked) {
  position: absolute;
  left: -9999px;
}

.form-checkradio-card label {
  position: relative;
  cursor: pointer;
  display: inline-block;
  border: 1px solid #d4d4d4;
  padding: 20px;
  border-radius: 16px;
  padding-left: 55px;
  font-size: 18px;
  font-weight: 600;
  width: 100%;
}

.form-checkradio-card [type="radio"]:checked + label:before,
.form-checkradio-card [type="radio"]:not(:checked) + label:before {
  content: "";
  position: absolute;
  left: 20px;
  top: 22px;
  width: 20px;
  height: 20px;
  border: 1px solid var(--lightblue-color);
  border-radius: 100%;
  background: #fff;
}

.form-checkradio-card [type="radio"]:checked + label:after,
.form-checkradio-card [type="radio"]:not(:checked) + label:after {
  content: "";
  width: 12px;
  height: 12px;
  background: var(--lightblue-color);
  position: absolute;
  top: 26px;
  left: 24px;
  border-radius: 100%;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.form-checkradio-card [type="radio"]:not(:checked) + label:after {
  opacity: 0;
  -webkit-transform: scale(0);
  transform: scale(0);
}

.form-checkradio-card [type="radio"]:checked + label:after {
  opacity: 1;
  -webkit-transform: scale(1);
  transform: scale(1);
}

/*  */
.form-checkradio-withoutcard label {
  border: 0px;
  padding: 0px;
  padding-left: 38px;
  font-size: 16px;
  font-weight: 500;
}

.form-checkradio-withoutcard [type="radio"]:checked + label:before,
.form-checkradio-withoutcard [type="radio"]:not(:checked) + label:before {
  left: 0px;
  top: 3px;
}

.form-checkradio-withoutcard [type="radio"]:checked + label:after,
.form-checkradio-withoutcard [type="radio"]:not(:checked) + label:after {
  top: 7px;
  left: 4px;
}

@media screen and (max-width: 992px) {
  .form-checkradio-card label {
    font-size: 16px;
  }

  .form-checkradio-withoutcard label {
    font-size: 14px;
  }
}
