.cban {
  --toggle-background-otoggln: #4C85A4;
  --toggle-background-off: #94cddb;
  --toggle-background-on-hover: #0891b2;
  --scrollbar-track: #94cddb69;
  --scrollbar-thumb: #94cddb;
  --button-background: #0891B2;
  --button-hover-background: #0E7490;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;

  /* Center positioning start*/
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* Center positioning end*/

  background-color: white;
  
  box-shadow: 0 5px 20px rgba(0, 0, 0, .1);
  border: 1px solid #e5e7eb;
  border-radius: 0.375rem;
  z-index: 10000;
  width: 50vw;
  max-height: 70vh;
  font-family: ui-sans-serif, system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 0px;
}

.cc-main-scroll {
  max-height: calc(70vh - 100px);
  border-radius: 0.375rem;
  overflow-y: auto;
  overflow-x: auto;
  margin: 1.5rem 0;
  border: 1px solid #e5e7eb;
  /* box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.05) inset,
              0px -10px 20px rgba(0, 0, 0, 0.05) inset; */
}

.cc-main-scroll::-webkit-scrollbar-track {
  margin: 0.5rem;
}

.cc-main-scroll::-webkit-scrollbar {
  width: 4px;
  height: 4px;
  border-radius: 10px;
}

.cc-main-scroll::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: var(--scrollbar-thumb);
}

.smooth-appearance {
  -webkit-animation: fadein 1s; /* Safari, Chrome and Opera > 12.1 */
  -moz-animation: fadein 1s; /* Firefox < 16 */
  -ms-animation: fadein 1s; /* Internet Explorer */
  -o-animation: fadein 1s; /* Opera < 12.1 */
  animation: fadein 1s;
}

@keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Internet Explorer */
@-ms-keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.cban p {
  margin: 1.5rem 0;
}

.cban h4 {
  font-size: 0px;
}

.cban h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: capitalize;
}

.cban * {
  font-size: 1rem;
}

.cc-buttons {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 1rem;
}

.btn-outline {
  border: 1px solid rgb(186 230 253);
  background-color: white;
  padding: 0.5rem 1.5rem;
  color: #0891B2;
  font-weight: 600;
  border-radius: 0.375rem;
  min-width: 12rem;
}

.btn-success {
  border: 0px;
  background-color: var(--button-background);
  padding: 0.5rem 1.5rem;
  color: white;
  font-weight: 600;
  border-radius: 0.375rem;
  min-width: 12rem;
}

.cc-options {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.btn-outline:hover {
  border: 1px solid #0891B2;
  cursor: pointer;
}

.btn-success:hover {
  background: var(--button-hover-background);
  color: white;
  cursor: pointer;
}

.cc-settings {
  position: fixed;
  bottom: 15px;
  left: 15px;
  z-index: 9999;
  cursor: pointer;
}

.fold-button {
  display: block;
  background: none;
  border: none;
  color: var(--toggle-background-on-hover);
  cursor: pointer;
  width: 100%;
  text-align: left;
  margin-bottom: 0.75rem;
  padding: 0; /* Added padding to remove default padding for button element */
}

.fold-content {
  max-height: 100rem;
  transition: all 0.3s ease;
}

.cc-section.folded .fold-content {
  max-height: 0px;
  overflow: hidden;
}

.fold-content table {
  padding: 0; /* Added padding to remove default padding for table element */
}

.cc-section {
  padding: 1rem;
  /* margin-bottom: 4vh; */
}

.cc-section > p {
  margin: 0.75rem 0;
}

.header-popup {
  display: inline-flex;
  align-items: center;
}

/* .header-popup label.switch {
  margin-right: 10px;
} */

.header-popup .section-name {
  margin-right: 10px;
  margin-left: 10px;
  font-weight: 500;
}

.switch {
  position: relative;
  display: inline-block;
  /* margin-top: 10px;
  margin-left: 10px; */
  width: 40px;
  height: 24px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  border-radius: 9999px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--toggle-background-off);
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  border-radius: 9999px;
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

.logo-image {
  height: 32px;
}

table tbody td {
  font-size: 90% !important;
  padding: 2px 10px;
}

table {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
}

table > thead > tr > th {
  vertical-align: bottom;
  border-bottom: 1px solid #808080;
}

table > tbody > tr:hover {
  background-color: #cccccc30;
}

th:nth-child(2),
td:nth-child(2) {
  padding: 0px 20px;
}

input:checked + .slider {
  background-color: var(--toggle-background-on-hover);
}

input:disabled + .slider {
  background-color: gray;
}

input:focus + .slider {
  box-shadow: 0 0 1px var(--toggle-background-on-hover);
}

input:checked + .slider:before {
  -webkit-transform: translateX(16px);
  -ms-transform: translateX(16px);
  transform: translateX(16px);
}

@media screen and (max-width: 1024px) {
  .cban {
    width: 70vw;
    max-height: 80vh;
  }

  .cban h4 {
    font-size: 50px;
    margin: 0;
    margin-right: auto;
    padding-bottom: 5px;
  }

  .cban h3 {
    font-size: 0px;
  }
}

@media screen and (max-width: 782px) {
  .cban {
    width: 80vw;
    max-height: 80vh;
  }

  .cc-buttons {
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
  }

  .cc-options {
    flex-direction: column;
  }

  .cban h4 {
    font-size: 50px;
    margin: 0;
    margin-right: auto;
    padding-bottom: 5px;
  }

  .cban h3 {
    font-size: 0px;
  }
}
