@import url("https://fonts.googleapis.com/css2?family=Poppins&display=swap");

:root {
  --theme-color: #ff0202;
  --secondary-color: #2563eb;
  --green: #16a34a;
  --white: #ffffff;
  --white-800: #fefefe;
  --gray-800: #d8d8d8;
  --black-800: #1f1e1e;
  --royalblue: 21, 70, 178;
  --purple: 100, 49, 186;
}
.bg-primary {
  background-color: var(--theme-color) !important;
}
.bg-soft-primary {
  background-color: rgba(255, 2, 2, 0.1) !important;
  border: 1px solid var(--theme-color);
}
.bg-soft-royalblue {
  background-color: rgba(var(--royalblue), 0.1);
  border: 1px solid rgba(var(--royalblue), 1);
  color: rgba(var(--royalblue), 1);
}
.bg-soft-purple {
  background-color: rgba(var(--purple), 0.1);
  border: 1px solid rgba(var(--purple), 1);
  color: rgba(var(--purple), 1);
}
.text-primary {
  color: var(--theme-color) !important;
}
.text-green {
  color: var(--green) !important;
}
.text-muted {
  color: #848484 !important;
}
.text-black-800 {
  color: var(--black-800) !important;
}
.dropdown-toggle::after {
  content: "";
  display: inline-block;
  width: 10px;
  height: 6px;
  background-image: url('data:image/svg+xml;utf8,<svg width="10" height="6" viewBox="0 0 10 6" xmlns="http://www.w3.org/2000/svg"><path d="M4.80753 5.77L1.09253 1.312C0.995208 1.19516 0.933203 1.053 0.91378 0.902185C0.894357 0.751368 0.918319 0.598139 0.98286 0.460453C1.0474 0.322767 1.14985 0.206326 1.27819 0.124776C1.40654 0.0432255 1.55546 -5.69899e-05 1.70753 5.63173e-08H8.29153C8.4435 0.000132974 8.5923 0.0435533 8.7205 0.125178C8.84869 0.206803 8.95099 0.323256 9.01541 0.460905C9.07982 0.598555 9.1037 0.751706 9.08424 0.902433C9.06478 1.05316 9.00279 1.19522 8.90553 1.312L5.19153 5.77C5.16807 5.79814 5.13871 5.82077 5.10553 5.8363C5.07235 5.85184 5.03616 5.85989 4.99953 5.85989C4.96289 5.85989 4.92671 5.85184 4.89353 5.8363C4.86035 5.82077 4.83099 5.79814 4.80753 5.77Z" fill="%231F1E1E"/></svg>');
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: middle;
}
.form-select.number-of-row-select {
  background-image: url("data:image/svg+xml;utf8,<svg width='8' height='7' viewBox='0 0 8 7' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M8 0.078125L3.97 6.07812L0 0.078125H8Z' fill='%23FF0202'/></svg>");
}
.btn {
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.btn-primary {
  background-color: var(--theme-color);
  border-color: var(--theme-color);
  transition: opacity 0.3s ease-in-out;
}
.btn-primary:hover {
  background-color: var(--theme-color);
  border-color: var(--theme-color);
  opacity: 0.8;
}
.btn-secondary {
  background-color: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
  transition: opacity 0.3s ease-in-out;
}
.btn-secondary:hover {
  background-color: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
  opacity: 0.9;
}
#status {
  position: fixed;
}
body {
  background-color: #fff !important;
  font-family: "Poppins";
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins" !important;
}
a {
  font-family: "Poppins" !important;
}
button {
  font-family: "Poppins" !important;
}

/* Auth Pages Start */
.auth-body {
  background-color: #f7f7f7 !important;
  min-height: 100vh;
}
.auth-left-section {
  width: 50%;
  transition: all 0.3s ease-in-out;
}
.auth-left-section .left-inner {
  max-width: 510px;
  width: 100%;
}
.auth-left-section .signup-inner {
  max-width: 650px;
  width: 100%;
}
.auth-left-section .forgot-link {
  color: #000;
  transition: all 0.3s ease-in-out;
}
.auth-left-section .forgot-link:hover {
  color: var(--theme-color);
}
.auth-left-section .link-blue {
  color: #2563eb;
  transition: all 0.3s ease-in-out;
}
.auth-left-section .link-blue:hover {
  color: var(--theme-color);
}
.auth-right-section {
  padding: 0;
  width: 50%;
  height: 100vh;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
  border-bottom-left-radius: 40px;
  border-top-left-radius: 40px;
}
.auth-right-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 1439.99px) {
  .auth-left-section {
    width: 60%;
  }
  .auth-right-section {
    width: 40%;
  }
}
@media (max-width: 991.99px) {
  .auth-left-section {
    width: 100%;
  }
  .auth-right-section {
    width: 100%;
    height: 200px;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
    border-top-left-radius: 0;
    margin-bottom: 40px;
  }
}
@media (max-width: 767.99px) {
  .auth-right-section {
    height: 100px;
  }
}
/* Auth Pages End */
@media (min-width: 768px) {
  .main-content {
    margin-left: 260px;
  }
}
@media (min-width: 768px) {
  #page-topbar {
    left: 260px;
  }
}
.navbar-menu {
  width: 260px;
}
#back-to-top {
  bottom: 10px;
}

.navbar-menu .navbar-nav {
  padding: 0.625rem 1.5rem;
}
.navbar-menu .navbar-nav .nav-link {
  padding: 7px 10px;
  border-radius: 8px;
  margin-bottom: 10px;
  border: 1px solid transparent;
}
.navbar-menu .navbar-nav .nav-link {
  font-size: 16px;
  font-weight: 500;
}
.navbar-menu .navbar-nav .nav-link.active,
.navbar-menu .navbar-nav .nav-link:hover {
  color: var(--theme-color);
  background-color: #f5f6fa;
  border: 1px solid var(--gray-800);
}
:is([data-layout="vertical"], [data-layout="semibox"])[data-sidebar-size="sm"]
  .navbar-menu
  .navbar-nav {
  padding: 0;
}
:is([data-layout="vertical"], [data-layout="semibox"])[data-sidebar-size="sm"]
  .navbar-menu
  .navbar-nav
  .nav-link {
  padding: 0.625rem 1.5rem;
}
:is([data-layout="vertical"], [data-layout="semibox"])[data-sidebar-size="sm"]
  .navbar-menu
  .navbar-nav
  .nav-item:hover
  > a.menu-link {
  position: relative;
  width: calc(200px + 70px);
  color: #fff;
  background-color: var(--theme-color);
  -webkit-transition: none;
  transition: none;
}
.navbar-header,
.navbar-brand-box {
  border-bottom: 1px solid var(--gray-800);
  height: 71px;
}
.navbar-menu {
  border-right: 1px solid var(--gray-800);
  box-shadow: none;
}
.btn-notifications {
  background-color: transparent;
  border: 1px solid var(--gray-800);
  border-radius: 8px;
}
.btn-notifications:hover {
  background-color: #f5f6fa;
  border-color: var(--gray-800);
}

:is(
    .btn-notifications.show,
    .btn-notifications:first-child:active,
    :not(.btn-check) + .btn-notifications:active
  ) {
  background-color: #f5f6fa;
  border-color: var(--gray-800);
}

.custom-card {
  border: 1px solid var(--gray-800);
  border-radius: 0.75rem !important;
  background: var(--white-800) !important;
  box-shadow: none;
  padding: 0;
}

.card {
  margin-bottom: 0;
}
.chart-box {
  width: 8px;
  height: 8px;
  border-radius: 2px;
}

.app-search .custom-search {
  background-color: var(--white-800);
  border: 1px solid var(--gray-800);
  border-radius: 8px;
  color: black;
}
.form-label {
  font-size: 12px;
  font-weight: 500;
  color: #3e3d3d;
}
.form-control {
  border-radius: 8px;
  padding: 0.7rem;
}
.form-control:focus {
  border-color: var(--theme-color);
}

.btn-outline-light {
  border-color: var(--gray-800);
  border-radius: 8px;
  color: #000;
}
.btn-outline-light:hover {
  border-color: var(--gray-800);
}
.custom-table {
  min-width: 650px;
}
.custom-table .thead-light {
  background-color: #f3f5f7;
}
.custom-table thead tr {
  border-style: hidden !important;
}
.custom-table .thead-light tr th:first-child {
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}
.custom-table .thead-light tr th:last-child {
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}
.badge {
  font-size: 11px;
  font-weight: 500;
  border-radius: 8px;
}
.bg-soft-green {
  background-color: #dcfce7;
}
.btn-secondary {
  background-color: var(--secondary-color);
}

.max-height-scroll {
  max-height: 400px;
  overflow-y: auto;
}

.timeline-items::before {
  content: "";
  position: absolute;
  left: -11px;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #999;
  z-index: 1;
}
.timeline-items.active::before {
  background: red;
}

.timeline-items::after {
  content: "";
  position: absolute;
  left: -6px;
  top: 18px;
  width: 2px;
  height: calc(100% - 0px);
  border-left: 2px dotted #d8d8d8;
}

.timeline-items.active::after {
  border-left-color: red;
}

.timeline-items:last-child::after {
  content: none;
}

.timeline-items.active .timeline-line {
  border-top: 1px solid #d8d8d8;
}

/* leads page */
.custom-select {
  max-width: 135px;
  width: 100%;
  border-color: var(--gray-800);
  border-radius: 8px;
  padding: 0.5rem 2.7rem 0.5rem 0.9rem !important;
}
.custom-select:focus {
  border-color: var(--theme-color);
}

.custom-checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  background-color: rgb(255, 202, 202);
  border: 1px solid var(--theme-color);
  width: 16px;
  height: 16px;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

.custom-checkbox input[type="checkbox"]::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 5px;
  width: 5px;
  height: 10px;
  border: solid red;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  display: none;
}

.custom-checkbox input[type="checkbox"]:checked::after {
  display: block;
}

.table-link {
  color: var(--black-800);
  transition: all 0.3s ease-in-out;
}
.table-link:hover {
  color: var(--theme-color);
}

.max-height-scroll.leads-table .custom-table {
  min-width: 1200px;
}
.max-height-scroll.leads-table,
.max-height-scroll.inventory-table,
.max-height-scroll.dealer-table,
.max-height-scroll.car-seller-table {
  max-height: 540px;
  overflow-y: auto;
}
.max-height-scroll.inventory-table .custom-table,
.max-height-scroll.dealer-table .custom-table {
  min-width: 810px;
}
.max-height-scroll.car-seller-table .custom-table {
  min-width: 500px;
}

.custom-pagination .page-link {
  border: none;
  color: rgba(31, 30, 30, 0.5);
  border-radius: 2px;
}
.custom-pagination .page-item.disabled .page-link {
  color: rgba(31, 30, 30, 0.5);
  cursor: not-allowed;
}
.custom-pagination .page-item.active .page-link {
  background-color: #ededed;
  color: var(--black-800);
}
.custom-pagination .page-item .page-link:hover {
  background-color: #ededed;
  color: var(--black-800);
}

.z-1 {
  z-index: 1;
}

.dealer-table .table-img,
.dealer-table .banner-img {
  width: 80px;
  height: 45px;
  border-radius: 8px;
  border: 1px solid #dddddddd;
}

.dealer-table .banner-img {
  width: 52px;
  height: 51px;
}

.dropzone {
  border: 2px dashed #6c757d;
  text-align: center;
  border-radius: 10px;
  color: #6c757d;
  cursor: pointer;
}
.dropzone.dragover {
  background-color: #f8f9fa;
  border-color: #007bff;
  color: #007bff;
}
.dropzone img {
  max-width: 300px;
  max-height: 200px;
  border: 1px solid #dddddd;
  border-radius: 8px;
  margin-top: 10px;
  padding: 5px;
}

@media (max-width: 768px) {
  .dropzone img {
    max-width: 240px;
    max-height: 130px;
  }
}

.swiper {
  width: 100%;
  height: 100%;
}
.vehicle_img {
  border: 1px solid var(--gray-800);
  border-radius: 16px;
}
.swiper-slide {
  text-align: center;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.swiper {
  width: 100%;
  height: 300px;
  margin-left: auto;
  margin-right: auto;
}

.swiper-slide {
  background-size: cover;
  background-position: center;
}

.vehicle_img_thimb {
  height: 80px;
}

.vehicle_img_thimb .swiper-slide {
  width: 80px !important;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--gray-800);
}

.vehicle_img_thimb .swiper-slide-thumb-active {
  border: 1px solid var(--theme-color);
}

/* setting page */

.pills-wrapper {
  border: 0.5px solid var(--gray-800);
  padding: 3px;
  background: #f5f6fa;
  border-radius: 12px;
  display: inline-block;
}
@media (max-width: 424.99px) {
  .pills-wrapper {
    display: block;
  }
}
.pills-wrapper .nav-primary {
  border-radius: 11px;
}
.pills-wrapper .nav-primary .nav-item {
  border-radius: 11px;
}
.pills-wrapper .nav-primary .nav-item .nav-link {
  font-size: 16px;
  font-weight: 500;
  color: var(--black-800);
  border-radius: 11px;
  transition: 0.3s ease-in-out;
}
.pills-wrapper .nav-primary .nav-item .nav-link.active {
  background-color: var(--theme-color);
  color: var(--white);
}
.setting-profile-img {
  width: 120px;
  height: 120px;
  border: 2px solid var(--theme-color);
}
.setting-profile-img img {
  border: 1px solid var(--theme-color);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.devices-table {
  min-height: 250px;
}

.modal-del {
  max-width: 442px;
}
.modal-del .modal-content {
  border-radius: 18px;
}

.iti.iti--allow-dropdown.iti--separate-dial-code {
  width: 100%;
}

/* leads chat style */
.leads-search .form-control {
  background-color: #f9f9f9;
  border-radius: 13px;
  border: none;
  padding: 14px 14px 14px 40px;
}
.leads-search .search-widget-icon {
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  font-size: 24px;
}

.leads-wrapper .lead .lead-user-profile {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
}
.leads-wrapper {
  max-height: 530px;
  overflow-y: auto;
}
/* .leads-wrapper::-webkit-scrollbar{
  appearance: none;
  width: 0;
} */
.leads-wrapper .lead.active-lead .lead-user-profile {
  border: 2px solid var(--theme-color);
  padding: 2px;
}
.leads-wrapper .lead .lead-user-profile img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.leads-wrapper .lead .lead-info .lead-message {
  width: 130px;
}
.leads-wrapper .lead .lead-time {
  color: #adafbb;
}
.leads-wrapper .lead .new-leads {
  width: 17px;
  height: 17px;
  display: none;
}
.leads-wrapper .lead.active-lead .new-leads {
  display: flex;
  justify-content: center;
  align-items: center;
}

.leads-wrapper li:not(:last-child) {
  border-bottom: 1px solid #e8e6ea;
  padding: 10px 0;
}
.lead-chats-wrapper {
  max-height: 488px;
  overflow-y: auto;
}
.lead-chats-wrapper::-webkit-scrollbar {
  appearance: none;
  width: 0;
}
.lead-chats-wrapper .message-day::before,
.lead-chats-wrapper .message-day::after {
  content: "";
  position: absolute;
  width: calc(50% - 50px);
  height: 1px;
  background-color: #e8e6ea;
}
.lead-chats-wrapper .message-day::before {
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
.lead-chats-wrapper .message-day::after {
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}
.lead-chats-wrapper .chat {
  max-width: 85%;
}
@media (min-width: 768px) {
  .lead-chats-wrapper .chat {
    max-width: 75%;
  }
}
@media (min-width: 1024px) {
  .lead-chats-wrapper .chat {
    max-width: 70%;
  }
}
.lead-chats-wrapper .chat .message {
  width: fit-content;
  word-wrap: break-word;
}
.lead-chats-wrapper .chat:not(:last-child) {
  margin-bottom: 29px;
}
.lead-chats-wrapper .recevie {
  background: rgba(255, 2, 2, 0.07);
  border-radius: 12px 12px 12px 0;
}
.lead-chats-wrapper .send {
  background: #f8f8f8;
  border-radius: 12px 12px 0 12px;
}
.lead-chats-wrapper .message-time {
  color: #00000066;
}
.lead-info li {
  padding: 12px 0;
}
.lead-info li:not(:last-child) {
  border-bottom: 1px solid #e8e6ea;
}
.lead-info span {
  color: #3e3d3d;
}
.swiper-button-custom {
  width: 26px !important;
  height: 26px !important;
  border-radius: 8px;
  border: 1px solid #d8d8d8;
  background-color: transparent;
}
.swiper-button-custom::after {
  content: none !important;
}
.other-details-list li {
  min-width: 200px;
}
