@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;
  --large:1.1rem;
  --small: 0.9rem;
  --xs: 0.8rem;
  --xxs: 0.75rem;
  --primary: #ffb300;
  --off-white: #f8fafb;
  --light-gray: #fafafa;
  --gray: #474747;
  --white: #ffffff;
  --blue: #3937e4;
  --blue2: #3d2de3;
  --blue3: #007bff;
  --green: #00d56e;
  --green2: #0CA34F;
  --dgreen: #28a745;
  --purple: #a700fe;
  --yellow: #FFB133;
  --orange: #fd7e14;
  --light-blue: #d3e8ff;
  --baby-blue: #f5f7ff;
  --light-green: #d8ffec;
  --red: #EF0117;
  --pastel-red: #ffd7d7;
  --pastel-orange: #ffe8d4;
  --pastel-purple: #f0d9ff;
}

.app-sidebar {
  width: 280px;
  background-color: var(--white);
  /* 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 {
  width: 260px;
  margin-inline: auto;
  border-radius: 8px;
}

.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: black;
}

.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: black;
}

.sidebar-item > .current {
  background-color: var(--red);
  /* color: black; */
  width: 100%;
  display: block;
  border-radius: 4px;
}
.sidebar-item > *:not(:fourth-child) {
  background-color: transparent;
  width: 100%;
  display: block;
  border-radius: 4px;
}

.sidebar-item > *:nth-child(4) {
  background-color: transparent; 
}

.sidebar-item > .current svg {
  color: white;
}

.sidebar-item > .current a {
  color: white;
}

.nav-container {
  background-color: var(--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;
}

.accordions-button .collapsed{
  background-color: var(--red) !important;
  border: none !important;
  width: 100% !important;
}

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

.grid{
    display: grid;
}

.grid-cols-2{
  grid-template-columns: repeat(2,1fr);
}

.grid-cols-5{
    grid-template-columns: repeat(5,1fr);
}

.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;
}

.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);
}

.bg-red{
  background-color: var(--red) !important;
  color: var(--white) !important;
}

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

.unset {
  all: unset;
}

.cursor-pointer {
  cursor: pointer;
}

.plan-wrapper input[type="radio"] {
  display: none;
}

.excel-btn{
  background-color: var(--red);
  color: var(--white);
  border-radius: 0.3rem;
  padding: 0.2rem 1rem;
  text-decoration: none;
  font-size: var(--small);
  font-weight: 500;
  vertical-align: middle;
}

.cplan-card {
  border: 2px solid #e6e6e6;
  border-radius: 0.5rem;
  padding: 1rem;
  transition: border 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.plan-wrapper input[type="radio"]:checked + .cplan-card {
  border-color: #28a745;
  box-shadow: 0 0 10px rgba(40, 167, 69, 0.2);
}

.theme-gradient {
  background: rgb(255, 255, 255) !important;
  background: linear-gradient(
    126deg,
    rgba(255, 255, 255, 0.6907095601912641) 0%,
    rgba(255, 248, 225, 1) 43%,
    rgba(255, 233, 128, 0.6430905125722164) 97%
  ) !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%);
}

.signin-img {
  max-width: 400px;
}

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

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

.custom-message {
  animation: fadeSlide 0.3s ease-in-out;
}

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

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


 .keywords-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  display: inline-flex;
  align-items: center;
  background-color: var(--white);
  padding: 5px 10px;
  border-radius: 0.3rem;
  font-size: var(--xs);
}

.tag .material-symbols-outlined {
  margin-left: 5px;
  cursor: pointer;
  font-size: 1rem;
}

.cinput::placeholder{
  color: #6e6e6e;
  font-size:var(--xs);
}

.keywords{
  background-color: #F6F6F6;
  padding: 0.2rem 0.5rem;
  margin-left: 4px;
}

 .view-btn-gray{
  vertical-align: middle !important;
  background-color: #DCDCDC !important;
  border-radius: 5px;
  color: black;
  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;
  }
  
  .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.9rem 0.5rem !important;
  }
  
  .custom-table > :not(caption) > * > :first-child {
    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;
  }
  
  .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;
    
  }
  
  .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(--green2);
    border-radius: 5px;
    color: var(--white);
    padding-block: 0.3rem;
    text-align: center;
  }
  .custom-table .download {
    vertical-align: middle;
    background-color: var(--gray);
    border-radius: 5px;
    color: var(--white);
    padding-block: 0.3rem;
    text-align: center;
  }

  .custom-table .active-pill {
    vertical-align: middle;
    background-color: var(--white);
    border-radius: 2rem;
    color: var(--green2);
    border:1px solid var(--green2);
    padding-block: 0.2rem;
    font-size: var(--xxs);
    text-align: center;
  }

  .custom-table .suspended-pill {
    vertical-align: middle;
    background-color: var(--white);
    border-radius: 2rem;
    color: var(--gray);
    border:1px solid var(--gray);
    padding-block: 0.3rem;
    padding: 5px;
    font-size: var(--xxs);
    text-align: center;
  }

  .custom-table .view-btn-gray{
    vertical-align: middle;
    background-color: #DCDCDC;
    border-radius: 5px;
    color: black;
    padding: 0.3rem 0.5rem;
    text-align: center;
  }

  .custom-table .change-plan-btn{
    vertical-align: middle;
    background-color: var(--yellow);
    border-radius: 5px;
    color: var(--white);
    padding: 0.3rem 0.5rem;
    text-align: center;
  }

  .custom-table .view-btn-red{
    vertical-align: middle;
    background-color: var(--red);
    border-radius: 5px;
    color: var(--white);
    padding: 0.3rem 0.5rem;
    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: var(--green2) !important;
    color: white !important;
    all: unset;
    border-radius: 0.3rem;
    padding: 0.3rem 0.4rem;
  }
  
  .text-gray {
    color: var(--gray);
  }

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

  .text-gray-30 {
    color: #C1C1C1 !important;
  }
  
  .line-clamp-2{
    overflow: hidden;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
  }

  .line-clamp-3{
    overflow: hidden;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
  }

  .line-clamp-4{
    overflow: hidden;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 4;
  }

  .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(--small);
    --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(--red);
  }

  .plan-card {
    border: 2px solid #28a745;
    border-radius: 10px;
    padding: 20px;
    max-width: 500px;
    margin: 20px auto;
}

.price {
    font-size: 1.7rem;
    font-weight: bold;
}

.original-price {
    text-decoration: line-through;
    color: #6c757d;
    font-size: 1rem;
}

.period {
    font-size: 1rem;
    color: #6c757d;
}

.billing-info {
    color: #6c757d;
    margin-bottom: 20px;
}

.view-subscribers {
    color: #007bff;
    text-decoration: none;
    margin-right: auto;
}

.suggested-badge {
    background-color: var(--green2);
    color: white;
    border-radius: 5px;
    padding: 6px 12px;
    font-size: var(--xxs);
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.subscription-cards-container > .col-4:first-child > .card.suggested {
  border: 2px solid var(--green2);
}

.cstm-select:hover{
  background-color: var(--red);
}

/* chart */
.chart-container {
  width: 100%;
  max-width: 600px;
  height: 350px;
  background-color: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
}

#chart-wrapper {
  width: 100%;
  height: 350px;
  position: relative;
}

.legend-container {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

.legend-item {
  display: flex;
  align-items: center;
}

.legend-color {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 8px;
}

.legend-text {
  font-weight: 500;
}

.bg-zinc{
  background-color: #F8F8F8;
}

@media (max-width: 480px) {
  .chart-container {
      padding: 15px;
  }
  
  #chart-wrapper {
      height: 220px;
  }
}

.options-c{
border-radius: 6px;
border: 1px solid #C5C5C5;
background-color: #F6F6F6;
font-size: var(--xs);
color: #323232;
padding: 0.4rem 0.5rem;
}

.options-c input[type="radio"] {
  transform: scale(0.8);
  margin: 0; 
  padding: 0;
  vertical-align: middle; 
}

.basis-10{
  flex-basis: 10%;
  flex-shrink: 0;
  flex-grow: 0;
}
.basis-20{
  flex-basis: 20%;
  flex-shrink: 0;
  flex-grow: 0;
}
.basis-30{
  flex-basis: 30%;
  flex-shrink: 0;
  flex-grow: 0;
}
.basis-40{
  flex-basis: 40%;
  flex-shrink: 0;
  flex-grow: 0;
}
.basis-50{
  flex-basis: 50%;
  flex-shrink: 0;
  flex-grow: 0;
}
.basis-60{
  flex-basis: 60%;
  flex-shrink: 0;
  flex-grow: 0;
}
.basis-70{
  flex-basis: 70%;
  flex-shrink: 0;
  flex-grow: 0;
}
.basis-80{
  flex-basis: 80%;
  flex-shrink: 0;
  flex-grow: 0;
}


.accordion-button:not(.collapsed) {
  color: white!important;
  background-color:  var(--green) !important;
}

.accordion-button:focus{
  box-shadow: none!important;
}

.accordion-button:not(.collapsed)::after{
  filter: brightness(0) invert(1); 
  
}
.accordion-button::after {
  filter: none;
}

[id^="selected-items-"] {
  padding-top: 2rem; /* Adjust padding as needed */
}

.rule-container{
  height: 160px;
  overflow-y: auto;
}
@media (min-width: 1200px) {
  .modal-xl {
    --bs-modal-width: 1340px!important;
  }
}

.formula-block:first-child .mandatory-label::after {
  content: " *";
  color: red;
}

.page-link{
  color: var(--red)!important;
}
.active>.page-link{
  color: var(--white)!important;
  background-color: var(--red)!important;
  border: var(--red)!important;
}

.tryit-btn{
  border:1px var(--red) solid;
  color: var(--red);
  text-decoration: none;
  font-weight: 500;
  font-size: var(--xs);
  padding: 0.2rem 1rem;
  border-radius: 1rem;
}


.sidebar-item .accordion-button:not(.collapsed){
  background-color: var(--red)!important;
}

.sidebar-item .accordion-button svg{
  color: black;
}

.sidebar-item .accordion-button:not(.collapsed) svg{
color: white;
}

.sidebar-item .accordion-body{
  padding-top: 0.2rem;
  padding-inline: 0.5rem;
}

.sidebar-item .acd-list li{
margin-bottom: 0.4rem;
border-radius: 0.3rem;
}

 /* .upload-container {

            background: white;
            padding: 2rem;
            border-radius: 12px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }
         */

        .file-input-wrapper {
            position: relative;
            display: inline-block;
            margin-top: 0.5rem;
            /* width: 100%; */
        }
        
        .file-input {
            position: absolute;
            opacity: 0;
            width: 100%;
            height: 100%;
            cursor: pointer;
        }
        
        .file-input-button {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 16px;
            background: #EF0117;;
            color: white;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 500;
            font-size: var(--small);
            transition: all 0.3s ease;
            box-shadow: 0 2px 8px rgba(239, 1, 23, 0.4);
        }
        
        .file-input-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(239, 1, 23, 0.4);
        }
        
        .upload-icon {
            width: 20px;
            height: 20px;
        }
        
        .image-preview {
            width: 100%;
            height: 250px;
            border: 2px dashed #e0e6ed;
            margin-top: 1rem;
            border-radius: 12px;
            background-color: #f8f9fa;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
            transition: all 0.3s ease;
        }
        
        .image-preview:hover {
            border-color: #EF0117;
            background-color: #f0f4ff;
        }
        
        .image-preview.has-image {
            border-style: solid;
            border-color: #EF0117;
        }
        
        .preview-placeholder {
            color: #6c757d;
            text-align: center;
            font-size: 0.9rem;
        }
        
        .preview-placeholder svg {
            width: 48px;
            height: 48px;
            margin-bottom: 8px;
            opacity: 0.5;
        }
        
        .remove-image {
            position: absolute;
            top: 10px;
            right: 10px;
            background: rgba(220, 53, 69, 0.9);
            color: white;
            border: none;
            border-radius: 50%;
            width: 32px;
            height: 32px;
            cursor: pointer;
            display: none;
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease;
        }
        
        .remove-image:hover {
            background: rgba(220, 53, 69, 1);
            transform: scale(1.1);
        }
        
        .image-preview.has-image .remove-image {
            display: flex;
        }
        
        .image-preview.has-image .preview-placeholder {
            display: none;
        }