body {
  font-family: "Outfit", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f8f9fa;
}

.login-container {
  display: flex;
  width: 100%;
  height: 100vh;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
}

.login-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background-color: #fff5e6;
}

.login-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.login-left img {
  width: 100%;
  max-width: 365px;
}

.login-left h1 {
  color: #ff6b42;
  margin-top: 8rem;
}

.login-left h1 span {
  color: #282828;
}

.login-right form {
  width: 100%;
  max-width: 350px;
}

.login-right form label {
  font-size: 14px;
  font-weight: 500;
}

.login-form-group {
  position: relative;
}

.login-form-group .login-form-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 12px;
  font-size: 12px;
  color: #626262;
}

.login-form-group .login-form-icon::after {
  position: absolute;
  content: "";
  width: 1px;
  background-color: #626262;
  height: 84%;
  right: -13px;
  top: 60%;
  transform: translateY(-50%);
}

.login-right form input {
  width: 78%;
  padding: 10px 30px 10px 45px;
  margin: 10px 0;
  border: 1px solid #b7b7b78c;
  border-radius: 4px;
  font-weight: 500;
  font-size: 13px;
  font-family: "Outfit", sans-serif;
}

.login-right form input:focus {
  border: 1px solid #ff6b42;
  outline: none;
  box-shadow: none;
  color: #ff6b42;
}

.login-right form input:focus + .login-form-icon {
  color: #ff6b42 !important;
}

.login-right form input:focus + .login-form-icon::after {
  background-color: #ff6b42 !important;
}

.login-right form button {
  width: 100%;
  padding: 10px;
  margin: 20px 0;
  border: none;
  border-radius: 4px;
  background-color: #ff6b42;
  color: white;
  font-size: 12px;
}

.login-logo-box {
  text-align: center;
  margin-bottom: 2rem;
}

.login-form-icon-password {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 11px;
  font-size: 11px;
  color: #626262;
  cursor: pointer;
}

.login-footer-right {
  position: absolute;
  bottom: 0;
  right: 15px;
}

.login-footer-right p {
  color: #626262;
  text-transform: capitalize;
  font-size: 14px;
}

/* dashboard */

.main-container {
  display: flex;
  width: 100%;
  position: relative;
  height: 100vh;
}

.sidebar-main {
  /* width: 260px; */
  height: 100vh;
  /* background-image: url(../images/dashboard/sidebar-bg.svg);
    background-repeat: no-repeat;
    background-size: cover; */
  background-color: #1e1e1e;
  color: white;
  transition: transform 0.3s ease;
  /* overflow-y: scroll; */
}

.sidebar-main {
  /* transform: translateX(-100%); */
  width: 0;
  overflow: hidden;
}

.sidebar-main.show {
  /* transform: translateX(0); */
  width: 260px;
  /* position: absolute;
    z-index: 99; */
}

/* 
.sidebar-main::-webkit-scrollbar {
    width: 10px;
    background-color: #d9d9d9;
    border-radius: 20px;
} */

.sidebar-header {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #000;
  padding: 1rem 0;
}

.sidebar-main ul {
  list-style-type: none;
  padding: 0px 20px;
  margin: 0;
  margin-top: 0;
}

.sidebar-main ul li {
  padding: 8px 9px;
  cursor: pointer;
  position: relative;
  border-radius: 6px;
  /* width: 100%; */
}

.sidebar-main ul .active {
  background-color: #ffffff1a;
}

.sidebar-main ul .active a {
  color: #ffff;
}

.sidebar-main ul li:hover {
  background-color: #ffffff1a;
}

.sidebar-main ul li a {
  display: flex;
  align-items: center;
  color: #949495;
  font-size: 13px;
  text-decoration: none;
  gap: 0.5rem;
}

.sidebar-main ul li a:hover {
  color: #ffff;
}

.sidebar-main ul li a span svg {
  width: 17px;
}

.sidebar-main ul li a span svg:hover {
  width: 17px;
}

.sidebar-main ul .dropdown {
  display: none;
  list-style-type: none;
  padding-left: 20px;
}

.sidebar-main ul li.open > .dropdown {
  display: block;
}

.main-content {
  flex-grow: 1;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  overflow: auto;
}

.header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background-color: #ffffff;
  box-shadow: 0px 4px 8.4px 0px #0000001a;
}

.header-m-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-m-left h5 {
  margin: 0;
  font-weight: 500;
  font-size: 15px;
  line-height: 14px;
}

.header-m-left h5 span {
  font-weight: 400;
  font-size: 12px;
  color: #818181;
  text-transform: capitalize;
}

.header-m-left h5 span strong {
  color: #ff6b42;
}

.header-m-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-m-right-search-box {
  position: relative;
}

.header-m-right-search-box span {
  position: absolute;
  left: 10px;
  top: 46%;
  transform: translateY(-50%);
}

.header-m-right-search-box span i {
  font-size: 11px;
  color: #818181c4;
}

.header-m-right-search-box .header-search-filter {
  position: absolute;
  right: 0;
  top: 0;
  background-color: #282828;
  height: 100%;
  width: 39px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  cursor: pointer;
}

.header-m-right-search-box .header-search-filter img {
  width: 15px;
}

.header-m-right-search-box input {
  width: 585px;
  padding: 8px 44px 8px 25px;
  border: 1px solid #d9d9d945;
  border-radius: 4px;
  outline: none;
  background: #fafafa80;
  font-size: 12px;
  font-family: "Outfit", sans-serif;
}

.sidebar-footer {
  position: absolute;
  bottom: 0;
}

.dashboard-cards {
  display: flex;
  flex-wrap: wrap;
  padding: 20px 20px 0px 20px;
  gap: 13px;
}

.common-card {
  flex: 1 1 calc(33.333% - 17px);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  color: white;
  position: relative;
  display: flex;
  align-items: end;
  height: 60px;
}

.common-card h3 {
  margin: 0;
  position: absolute;
  right: 13px;
  top: 8px;
  font-size: 20px;
  font-weight: 500;
}

.common-card h3 span {
  font-family: sans-serif;
}

.cc-cart-title-box {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: space-between;
  width: 100%;
}

.cc-cart-title-box p {
  margin: 0;
  font-size: 12px;
}

.cc-cart-title-box span i {
  font-size: 10px;
}

.card-green {
  background-color: #ff6b42;
}

.card-cyan {
  background-color: #27c6d0;
}

.card-yellow {
  background-color: #cdd027;
}

.card-blue {
  background-color: #2775d0;
}

.card-purple {
  background-color: #b827d0;
}

.toggle-button {
  display: flex;
  align-items: center;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

.back-icon {
  display: none;
  font-size: 20px;
}

.toggle-button.back-active .menu-icon {
  display: none;
  /* Hide menu icon when back icon is active */
}

.toggle-button.back-active .back-icon {
  display: inline-block;
  /* Show back icon when active */
}

.arrow {
  position: absolute;
  right: 15px;
  top: 17px;
  transform: translateY(-50%);
  border: solid white;
  border-width: 0 1px 1px 0;
  display: inline-block;
  padding: 3px;
  transition: transform 0.3s ease;
}

.arrow {
  transform: rotate(45deg);
}

li.open .arrow {
  transform: rotate(225deg);
}

/* stats & table  */

.stats-dashboard {
  padding: 20px;
}

.stats-container {
  display: flex;
  justify-content: start;
  gap: 3rem;
  margin-bottom: 20px;
}

.stat-box {
  width: 12%;
  text-align: center;
}

.stat-box h3 {
  font-size: 24px;
  margin: 10px 0;
  font-weight: 500;
}

.stat-box p {
  font-size: 13px;
  color: #282828;
  margin: 10px 0;
  font-weight: 500;
}

.stat-count-box {
  padding: 10px;
  border-radius: 10px;
}

.stat-box .total {
  background-color: #ff6b421a;
  color: #ff6b42;
}

.stat-box .delivered {
  background-color: #cdd0271a;
  color: #cdd027;
}

.stat-box .undelivered {
  background-color: #2775d01a;
  color: #2775d0;
}

.stat-box .out-of-stock {
  background-color: #d027271a;
  color: #d02727;
}

.stat-box .low-stock {
  background-color: #b827d01a;
  color: #b827d0;
}

.dash-data-table {
  width: 100%;
  border-collapse: collapse;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  overflow: hidden;
}

.dash-data-table thead {
  background-color: #ff6b42;
  color: white;
}

.dash-data-table th {
  padding: 10px;
  border: 1px solid #ffffff;
  /* border-top: none;
    border-bottom: none; */
  text-align: left;
  font-size: 12px;
  font-weight: 400;
  text-align: center;
}

/* .dash-data-table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
    font-size: 12px;
    font-weight: 400;
    text-align: center;
} */

/* footer */

.footer {
  padding: 20px;
  text-align: end;
}

.footer p {
  font-size: 13px;
  color: #626262;
  text-transform: capitalize;
}

/* whatsapp setting  */

.whatsapp-setting-main {
  padding: 20px;
}

.ws-form-main {
  width: 100%;
}
.form-ck-editor {
  width: 100%;
}

.ws-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  width: 100%;
}

.ws-form-col {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.ws-form-group input {
  width: auto;
  padding: 0.5rem 1rem;
  font-family: "Outfit", sans-serif;
  border: 1px solid #d9d9d9;
  outline: none;
  transition: 0.3s linear;
}
.ws-form-group input:focus {
  border: 2px solid #2775d0;
  border-radius: 3px;
}
.ws-form-group textarea {
  width: auto;
  padding: 0.4rem 1rem;
  font-family: "Outfit", sans-serif;
  border: 1px solid #d9d9d9;
  outline: none;
  height: 180px;
}
.ws-form-group .select2-container {
  width: auto !important;
}
.ws-form-group .select2-container--default .select2-selection--multiple {
  width: 100%;
  padding: 0.1rem 0.5rem;
  font-family: "Outfit", sans-serif;
  border: 1px solid #d9d9d9;
  outline: none;
  border-radius: 0px;
}
.ws-form-group button {
  width: 100px;
  padding: 0.5rem 1rem;
  font-family: "Outfit", sans-serif;
  border: none;
  background-color: #2775d0;
  color: #fff;
  font-size: 13px;
}

.ws-form-status-sec {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.ws-form-status-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* contact group */

.contact-group-main {
  padding: 20px;
}

#contactTable th {
  text-align: center;
  font-size: 15px;
}

#contactTable td {
  text-align: center;
  font-size: 14px;
}

.contact-group-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.contact-group-header h3 {
  font-size: 16px;
  font-weight: 500;
  margin: 0;
}

.contact-group-header button {
  width: 100px;
  padding: 0.5rem 0.8rem;
  font-family: "Outfit", sans-serif;
  border: none;
  background-color: #2775d0;
  color: #fff;
  font-size: 13px;
  border-radius: 4px;
}

.table-action-icons-box {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.table-action-icons-box span {
  font-size: 13px;
}
.table-action-icons-box a:first-child {
  color: #1e1e1e;
}
.table-action-icons-box a:last-child {
  color: #ff4b3e;
}

.create-template-container {
  display: flex;
  width: 100%;
  border-top: 1px solid #ccc;
  height: 89vh;
}

/* filter */

.filters {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 1rem;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.filter-sub-box label {
  display: block;
  margin-bottom: 6px;
}

.filter-sub-box select,
.filter-sub-box input {
  padding: 7px 10px;
  font-family: Outfit, sans-serif;
  outline: none;
  width: 200px;
  border: 1px solid #c1c1c1;
  border-radius: 4px;
}

/* media query */

@media (min-width: 1600px) {
  .login-left h1 {
    margin-top: 12rem;
  }
  .login-left img {
    max-width: 605px;
  }
  .contact-list {
    height: 91vh;
  }
  /* .ct-preview-buttons button {
        width: 82%;
    } */
}

@media (max-width: 1200px) {
  .sidebar-main {
    transform: translateX(0);
    width: 260px;
    position: absolute;
    z-index: 99;
  }
  .sidebar-main.show {
    transform: translateX(-100%);
    width: 260px;
  }
  /* .sidebar-main {
        transform: translateX(-100%);
        width: 0;
    }
    .sidebar-main.show {
        transform: translateX(0);
        width: 260px;
        position: absolute;
        z-index: 99;
    } */
  .toggle-button {
    position: relative;
    z-index: 99;
  }
  .back-icon {
    color: #282828;
  }
  .header-main input {
    width: auto;
  }
  .common-card {
    flex: 1 1 calc(24.333% - 17px);
  }
}

@media (max-width: 1024px) {
  .ws-form-main {
    width: auto;
  }
}

@media (max-width: 767px) {
  .main-container {
    overflow-x: hidden;
  }
  .login-container {
    flex-direction: column;
  }
  .footer {
    display: none;
  }
  .login-right {
    padding: 20px;
  }
  .login-left {
    display: none;
  }
  .login-footer-right {
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 100%;
    text-align: center;
  }
  .common-card {
    flex: 1 1 calc(100%);
  }
  .header-m-left h5 {
    display: none;
  }
  .upload-form {
    width: 100%;
  }
  .upload-form-col-first {
    flex-wrap: wrap;
    justify-content: center;
  }
  .upload-file-action {
    text-align: center;
  }
  .stats-container {
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
  }
  .stat-box {
    width: 23%;
    text-align: center;
  }
  .filters {
    gap: 5px;
    justify-content: start;
  }
  .filter-sub-box select,
  .filter-sub-box input {
    width: auto !important;
  }
}

@media (max-width: 600px) {
  .stat-box {
    width: 43%;
    text-align: center;
  }

  .ws-form-col {
    gap: 1rem;
    margin-bottom: 1rem;
    flex-direction: column;
  }
  .ct-btn-container button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .login-left img {
    max-width: 200px;
  }
  .login-right form {
    max-width: 100%;
  }
  .login-right form input {
    font-size: 14px;
  }
  .login-right form button {
    font-size: 14px;
  }
  .header-m-right-search-box .header-search-filter {
    display: none;
  }
  .header-main input {
    width: 120px;
    padding: 8px 10px 8px 25px;
  }
  .ct-message-prev {
    width: auto;
  }
  .ct-preview-buttons {
    width: auto;
  }
}
