@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --poppins: "Poppins", sans-serif;
  --small: 0.9rem;
  --xs: 0.8rem;
  --xxs: 0.75rem;
  --primary: #174C4F;
  --off-white: #f8fafb;
  --light-gray: #fafafa;
  --gray: #6e6e6e;
  --white: #ffffff;
  --blue: #3937e4;
  --blue2: #3d2de3;
  --blue3: #007bff;
  --green: #00d56e;
  --green2: #42e0a1;
  --dgreen: #28a745;
  --purple: #a700fe;
  --yellow: #ffc336;
  --orange: #fd7e14;
  --light-blue: #d3e8ff;
  --baby-blue: #f5f7ff;
  --light-green: #d8ffec;
  --red: #f60000;
  --pastel-red: #ffd7d7;
  --pastel-orange: #ffe8d4;
  --pastel-purple: #f0d9ff;
}

.app-sidebar {
  width: 280px;
  background-color: var(--primary);
  /* min-height: 100vh; */
  /* position: fixed; */
  min-height: 97vh;
  height: 100%;
  overflow-y: auto;
  /* -ms-overflow-style: none; 
      scrollbar-width: none; */
  padding: 0;
  z-index: 1003;
  /* border: 2px solid #e6e6e6; */
  /* border-radius: 1rem; */
  box-shadow: 0 0 11px 1px rgba(0, 0, 0, 0.05);
  -webkit-box-shadow: 0 0 11px 1px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: 0 0 11px 1px rgba(0, 0, 0, 0.05);
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.app-container {
  /* margin-left: 280px; */
  /* width: calc(100vw - 280px); */
  font-family: var(--poppins);
  height: 100%;
  /* background-color: var(--off-white); */
  position: relative;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.poppins {
  font-family: var(--poppins);
}

.brand-logo {
  margin-inline: auto;
  border-radius: 8px;
  max-width: 100%;
}

.sidebar-item {
  list-style: none;
  text-align: left;
  padding-inline: 0;
  font-family: var(--poppins);
  padding-top: 0.5rem;
  /* padding-bottom: 2rem; */
  /* max-height: 100vh; */
  height: 100%;
  display: flex;
  flex-direction: column;

  /* overflow-y: auto; */
  /* -ms-overflow-style: none; 
      scrollbar-width: none; */
}

.sidebar-item a {
  text-decoration: none;
  color: white;
}

.sidebar-item li {
  margin-bottom: 1.3rem;
  font-size: var(--small);
  padding: 0.5rem 0.4rem;
}

/* .sidebar-item >li:last-child{
      margin-top: 2rem;
    } */

.sidebar-item li svg {
  margin-right: 0.5rem;
  color: white;
}

.sidebar-item > .current {
  background-color: white;
  color: var(--primary);
  width: 100%;
  display: block;
  border-radius: 4px;
}

.sidebar-item > .current svg {
  color:var(--primary);
}

.sidebar-item > .current a {
  color: var(--primary);
}

.nav-container {
  background-color:white;
  padding-inline: 2rem;
  display: flex;
}

.nav-container > .child1 {
  padding-top: 2rem;
  padding-bottom: 1rem;
  flex-grow: 1;
}

.nav-container > .child1 h1 {
  font-size: 1.1rem;
  font-weight: 600;
}

.nav-container > .child2 {
  /* border-left: 1px solid #B6BBC4; */
  padding-left: 1rem;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav-container > .child2 img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 100%;
  object-fit: cover;
}

.nav-container > .child2 span {
  font-size: 0.75rem;
  text-align: center;
  color: #b6bbc4;
}

.main-content > div > h1 {
  font-size: 1.3rem;
  padding-bottom: 2rem;
}

.nav-container .notification-dot {
  background-color: red;
  height: 5px;
  width: 5px;
  border-radius: 100%;
  display: block;
  position: absolute;
  right: 6px;
  top: 4px;
}

.main-content {
  padding: 2rem 1.5rem;
  background-color: #f0f0f0;
  min-height: 100vh;
}

.custom-multiselect-js .dropdown-toggle::after{
  position: absolute;
  right: 1rem;
  top: 1rem;
}

.btn-close{
  --bs-btn-close-opacity: 1 !important
}

.fh-1 {
  font-size: 1.2rem !important;
}

.w-fitcontent {
  width: fit-content !important;
}

.fs-7 {
  font-size: var(--small) !important;
}

.fs-8 {
  font-size: var(--xs) !important;
}

.fs-9 {
  font-size: var(--xxs) !important;
}

.fs-10{
  font-size: 0.6rem;
}

.text-gray-50 {
  color: #898989 !important;
}

.bg-yellow{
  background-color: #ffb300 !important;
}

.border-yellow{
  border:1px solid #ffb300 !important;
}

.bg-green{
  background-color: var(--green2) !important;
} 

.px-7 {
  padding-inline: 4rem;
}

.px-12 {
  padding-inline: 8rem;
}

.space-y-2 > *:not(:first-child) {
  margin-top: 0.5rem;
}

.space-y-3 > *:not(:first-child) {
  margin-top: 1rem;
}

.gridspan-2 {
  grid-column: span 2;
}

.text-green {
  color: var(--green2);
}
.text-theme{
 color:var(--primary);
}

.text-red {
  color: var(--red);
}

.text-blue {
  color: var(--blue);
}

.cursor-pointer {
  cursor: pointer;
}

.text-gray-30 {
  color: #5C5C5C !important;
}

.secondary-gradient {
  background: linear-gradient(181.27deg, #f2f2f2 1.08%, #fff4d7 151.46%);
}

.index-card-gradient {
  background: linear-gradient(137.72deg, #f5f5f5 12.63%, #faf7ed 109.87%);
}



.cinput {
  border: 1px solid #f2f2f2;
  border-radius: 0.3rem;
  padding: 0.4rem 0.5rem;
  width: 100%;
}

.message-container {
  z-index: 1050; /* Make sure it's above most elements */
}


.custom-message {
  animation: fadeSlide 0.3s ease-in-out;
  border-color: var(--primary) !important;
  background-color:var(--primary) !important;
  color: white !important;
  font-family: var(--poppins);
  padding: 10px 40px !important;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--primary);
}

input:checked + .slider:before {
  transform: translateX(26px);
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* .cinput::-moz-placeholder {
  color: #6e6e6e;
  font-size: var(--xs) !important;
} */

.cinput::placeholder{
  color: #6e6e6e;
  font-size:var(--xs);
}
.rose-underline {
  border-bottom: 1px solid #FF4081 !important;
  padding: 5px 0;
}
.flex-fill {
  flex: 1 !important;
}
.addquestion {
  background-color: var(--primary) !important;
  color: white !important;
  font-weight: 500;
  border: none;
  padding: 8px 18px;
  border-radius: 10px;
}
.edit-btn {
  background-color: #00d56e;
  border: none;
  padding: 5px;
  border-radius: 10px;
}
.edit-btn svg{
  color: white;
}
.delete-btn {
  background-color: #E31409;
  border: none;
  padding: 5px;
  border-radius: 10px;
}
.delete-btn svg{
  color: white;
}
.valign{
  vertical-align: middle;
}
.upload-btn {
  background-color: #B7B7B7 !important;
}
.upload-btn:hover {
  opacity: 0.8;
}

.upload-btn:active {
  transform: scale(0.95);
}
.sigin-container {
  /* display: grid;
    place-content: center; */
  max-width: 500px;
  max-height: 500px;
}

.status-button {
  width: 120px !important;
  text-align: center;
}

.table-wrapper {
  border-radius: 0 0 1rem 1rem;
  overflow: hidden;
  background-color: var(--white);
}

.custom-table {
  --bs-table-bg: var(--white) !important;
  border-collapse: collapse !important;
  table-layout: auto !important;
  width: 100%;
  margin-bottom: 0;
}

.pagination-btn {
  color: var(--primary) !important;
}
.table.custom-table thead tr:first-child th:first-child {
  border-top-left-radius: 8px; /* Adjust the value as needed */
}

.table.custom-table thead tr:first-child th:last-child {
  border-top-right-radius: 8px; /* Adjust the value as needed */
}

.table.custom-table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 8px; /* Adjust the value as needed */
}

.table.custom-table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 8px; /* Adjust the value as needed */
}

.custom-table > :not(caption)  {
  padding: 0.8rem 0.5rem !important;
}

.custom-table > :not(caption) {
  padding-left: 1rem !important; /* Custom padding for the first <th> and <td> */
}
.custom-table thead > tr th {
  background-color: #f4f6f8;
  border-color: #f4f6f8;
  font-weight: 500;
  padding-left: 25px;
}

.custom-table th,
.custom-table td {
  font-size: var(--small);
}

.custom-table tbody {
  border-collapse: separate;
}

.custom-table tbody td {
  background-color: white;
  font-size: var(--xs);
  color: #474747;
  padding-left: 25px;
}


.custom-table tbody td p {
  margin-bottom: 0;
}

.custom-table th {
  color: black !important;
  font-weight: 400;
}

.custom-table .view-btn {
  border: 1px var(--gray) solid;
  color: var(--gray);
  border-radius: 0.4rem;
  padding: 0.2rem 0.6rem;
}
.custom-table .edit-btn {
  border: 1px var(--green2) solid;
  color: var(--green2);
  border-radius: 0.4rem;
  padding: 0.2rem 0.6rem;
}

.custom-table .delete-btn {
  border: 1px #FEA6A6 solid;
  color: var(--red);
  border-radius: 0.4rem;
  padding: 0.2rem 0.6rem;
}

.custom-table .reject-btn{
  border: 1px #FEA6A6 solid !important;
  color: #FEA6A6 !important;
  border-radius: 0.4rem !important;
  padding: 0.2rem 0.6rem !important;
}

.custom-table .accept-btn{
  border: 1px var(--green2) solid !important;
  color: var(--green2) !important;
  border-radius: 0.4rem !important;
  padding: 0.2rem 0.6rem !important;
}
.custom-table .active {
  vertical-align: middle;
  background-color: var(--primary);
  border-radius: 5px;
  color: var(--white);
  padding-block: 0.3rem;
  text-align: center;
}
.custom-table .draft {
  vertical-align: middle;
  background-color: #f0f0f0;
  border-radius: 5px;
  color: var(--gray);
  padding-block: 0.3rem;
  text-align: center;
}

.custom-table .bg-pastel-red {
  background-color: #FEA6A6!important;
  color: var(--white)!important;
}

.custom-table .border-pastel-red{
  border-color: #FEA6A6!important;
  color: #FEA6A6!important;;
}

.btn-green {
  background-color: #06A857 !important;
  color: white !important;
  all: unset;
  border-radius: 0.3rem;
  padding: 0.3rem 0.4rem;
}

.btn-red {
  background-color: red!important;
  color: white !important;
  all: unset;
  border-radius: 0.3rem;
  padding: 0.3rem 0.4rem;
}

.btn-black {
  background-color: black!important;
  color: white !important;
  all: unset;
  border-radius: 0.3rem;
  padding: 0.3rem 0.4rem;
}

.text-gray {
  color: var(--gray);
}

/* Base truncated text styles */
.truncated-text {
  color: #555;
  text-align: justify;
  position: relative;
}

/* Not expanded state - truncated to 4 lines */
.truncated-text:not(.expanded) {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4em;
  max-height: calc(5 * 1.5em);
}

/* Expanded state - show full text */
.truncated-text.expanded {
  display: block;
  -webkit-line-clamp: unset;
  max-height: none;
  -webkit-box-orient: unset;
  overflow: visible;
}

.view-more-btn {
  display: none;
}

.view-more-btn.show {
  display: inline-block;
}

/* Alternative fallback for browsers that don't support -webkit-line-clamp */
@supports not (-webkit-line-clamp: 4) {
  .truncated-text:not(.expanded) {
    max-height: 6em; /* Approximate 4 lines with 1.5em line-height */
    line-height: 1.5em;
    overflow: hidden;
    display: block;
  }
}

.invisible-spacer {
  visibility: hidden;
  font-weight: 500;
  font-size: 14px;
}

.description-container {
  position: relative;
}

.description-text {
  line-height: 1.5;
  transition: all 0.3s ease;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  margin-bottom: 0;
}


.theme-btn {
  background-color: var(--primary) !important;
  color: white !important;
  all: unset;
  border-radius: 0.3rem;
  padding: 0.3rem 0.4rem;
}

.valign {
  vertical-align: middle;
}

.nav-link {
  --bs-nav-link-font-size: var(--xs);
  --bs-nav-link-font-weight: 500;
  --bs-nav-link-color: black;
  background: var(--white);
}

.nav-pills .nav-link.active {
  --bs-nav-pills-link-active-color: #fff; /* New text color */
  --bs-nav-pills-link-active-bg: var(--primary);
}

.upload-container {
  position: relative;
}

.upload-area {
  border: 2px dashed #ddd;
  border-radius: 8px;
  padding: 40px 20px;
  text-align: center;
  background-color: #f8f9fa;
  transition: all 0.3s ease;
  cursor: pointer;
}

.upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #666;
  font-weight: 500;
  cursor: pointer;
}

.upload-label .material-symbols-outlined {
  font-size: 2rem;
  color: #007bff;
}

#file-input {
  display: none;
}

.preview-container {
  display: none;
  position: relative;
  margin-top: 15px;
}

.preview-container.show {
  display: block;
}

.preview-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid #ddd;
}

.remove-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #dc3545;
  color: white;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s;
}

.remove-btn:hover {
  background-color: #c82333;
}

.upload-area.hidden {
  display: none;
}


.rounded-pills {
  background: white;
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: 5px 10px;
  font-size: 15px;
  font-weight: 400;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.lable-ei::after {
  content: "*";
  color: red;
  margin-left: 5px;
  position: relative;
  top: -0.2em;
  font-weight: 400;
}

.product-img-preview{
  width:7rem;
  height:7rem;
  object-fit:cover;
  position:absolute;
  border-radius:.5rem;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index:1
}

.brand-img {
  width:8rem;
  /* height:auto; */
  aspect-ratio:16/9;
  object-fit:cotain;
  margin-block:auto;
  transform: rotate(10deg);
} 

.options-preview{
  max-width: 200px;
  height: 200px; 
  object-fit: cover; 
  border-radius: 6px;
}
.logo-preview-image {
  max-width: 100%;
  max-height: 200px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.remove-btn {
  margin-top: 10px;
  background-color: #ff4d4d;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: var(--xs);
}

.remove-btn:hover {
  background-color: #e04343;
}

/* .event-img{
  height: 14rem;
  border-radius: .4rem .4rem 0 0;
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
} */

.event-img {
  width: 100%; 
  max-width: 1080px;
  height: auto;
  aspect-ratio: 1/1;
  border-radius: .4rem .4rem 0 0; 
  object-fit: cover; 
}

.event-detail-img {
  width: 100%; 
  max-width: 1080px;
  height: auto;
  aspect-ratio: 1/1;
  border-radius: .4rem .4rem 0 0; 
  object-fit: cover; 
}

/* .blogs-section img {
  width: 100%; 
  max-width: 1080px;
  height: 300px;
  border-radius: 1rem 1rem 0 0; 
  object-fit: cover; 
} */

.blog-image {
  width: 100%; 
  max-width: 1080px;
  height: 300px;
  border-radius: 1rem 1rem 0 0; 
  object-fit: cover; 
}

.blog-detailimg img{
  width: 400px; 
  height: 300px;
  border-radius: 1rem 1rem 0 0; 
  object-fit: cover; 
}
.bg-gray-50{
background-color: #F8F8F8;
}

.point-container{
  background-color: var(--light-blue);
  border-radius: 0.3rem;
  padding: 0.3rem 0.4rem;
}

.absolute{
  position: absolute;
  top: 10px;
  right: 5px;
}

.otp-form .input-field {
  flex-direction: row;
  column-gap: 10px;
}

.input-field input {
  height: 45px;
  width: 42px;
  border-radius: 10px;
  outline: none;
  font-size: 1.2rem;
  text-align: center;
  border: 1px solid #ddd;
}

.otp-img{
  max-width: 125px;
  width: 100%;
  height: 100%;
  object-fit: cover;

}

.form-check-input:checked{
  background-color: var(--primary)!important;
  border-color: var(--primary)!important;
}

.theme-outline-btn{
  border-color: var(--primary)!important;
  color: var(--primary)!important;
}

.chart-container {
  width: 100%;
  /* max-width: 800px; */
  padding-block: 2rem;
  min-width: 500px;
  max-height: 340px;
  background-color: white;

}

.visitorchart-container {
  position: relative;
  width: 100%;
  min-height: 150px; /* Minimum height */
}

#visitorChart {
  width: 100% !important;
  height: 100% !important;
}

.chart-container canvas{
  width: 100% !important;
}

.visitorchart-container {
  width: 100%;
  /* max-width: 800px; */
  padding-block: 2rem;
  min-width: 450;
  max-height: 280px;
  background-color: white;
}

.form-check.form-switch .form-check-input {
  transform: scale(1.5); /* Increase size of toggle switch */
  margin-right: 10px; /* Adjust spacing for larger toggle */
}
.form-check.form-switch .form-check-label {
  font-size: 1.2rem; /* Increase label font size */
  transform: scale(1.2); /* Slightly scale up label */
  transform-origin: left; /* Align scaling from left */
}
.form-step {
  display: none;
}
.form-step.active {
  display: block;
}

.invisible-scroll {
  /* Hide scrollbar for Chrome, Safari and Opera */
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.invisible-scroll::-webkit-scrollbar {
  display: none;  /* Chrome, Safari and Opera */
}

.close-icon {
  display: none !important;
  cursor: pointer;
}

.close-icon.show {
  display: block !important;
}

.circle-container {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}


.demo-value {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes fadeIn {
  from {
      opacity: 0;
      max-height: 0;
      transform: scale(0.8);
  }
  to {
      opacity: 1;
      max-height: 150px;
      transform: scale(1);
  }
}

@keyframes fadeOut {
  from {
      opacity: 1;
      max-height: 150px;
      transform: scale(1);
  }
  to {
      opacity: 0;
      max-height: 0;
      transform: scale(0.8);
  }
}