.complyfi_body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.complyfi_popup-container {
  width: 1000px;
  max-width: 100%;
  background: linear-gradient(135deg, #f9f4e8 0%, #fff 100%);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.complyfi_header {
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #f2e8d5 0%, #fff 100%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px dashed #d9cdb3;
  font-size: 18px;
}

.complyfi_logo-section {
  text-align: right;
}

.complyfi_logo img {
  width: 180px;
}

.complyfi_heading {
  color: #6e5c3e;
  font-size: 20px;
}

.complyfi_peragraph {
  color: #6e5c3e;
  font-size: 13px;
}

.complyfi_consent-btn {
  padding: 0.8rem 1.5rem;
  background: #c9b99b;
  border-radius: 25px;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 16px;
}

.complyfi_consent-btn:hover {
  background: #a08e6e;
  transform: scale(1.05);
}

.complyfi_profile-section {
  padding: 2rem;
  display: flex;
  gap: 2rem;
  align-items: center;
  border-bottom: 2px solid #f0e9d8;
}

.complyfi_profile-image {
  width: 120px;
  height: 120px;
  border-radius: 15px;
  background: #f0e9d8;
  object-fit: cover;
}

.complyfi_profile-info h2 {
  color: #6e5c3e;
  margin-bottom: 0.5rem;
}

.complyfi_profile-info p {
  color: #8a7a5c;
}

.complyfi_description {
  padding: 0;
  color: #6e5c3e;
  line-height: 1.6;
  max-height: 350px;
  overflow-y: auto;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #c9b99b;
  border-radius: 3px;
}

.complyfi_action-buttons {
  display: flex;
  gap: 1rem;
  padding: 0;
  margin-bottom: 20px;
}

.complyfi_action-btn {
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 16px;
  text-decoration: none;
}

.complyfi_action-btn {
  background: #c9b99b;
  color: white;
}

.complyfi_primary-btn:hover {
  background: #a08e6e;
}

.complyfi_action-btn.active {
  background: #a08e6e;
  color: white;
}

.complyfi_action-btn.active:hover {
  background: #a08e6e;
}

.complyfi_complyfi_accordion-section {
  padding: 0 2rem;
  margin-bottom: 60px;
}

.complyfi_accordion {
  margin-bottom: 1rem;
  border: 1px solid #e2dac8;
  border-radius: 8px;
  overflow: hidden;
}

.complyfi_accordion-header {
  padding: 10px;
  background: rgba(201, 185, 155, 0.2);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #ffffff;
  transition: background-color 0.3s ease;
}

.complyfi_accordion-header span {
  color: #6e5c3e;
  font-weight: 500;
  font-size: 18px;
}

.complyfi_accordion-header:hover {
  background: #a08e6e;
}

.complyfi_accordion-header:hover span {
  color: #ffffff;
}

.complyfi_accordion-content {
  padding: 1rem;
  display: none;
  background: white;
}

.complyfi_checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.complyfi_checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: #8a7a5c;
  padding: 0.5rem;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.complyfi_checkbox-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #c9b99b;
  cursor: pointer;
  position: relative;
  top: 1px;
}

.complyfi_content-wrapper {
  flex: 1;
  overflow-y: auto;
  padding-bottom: 0rem;
  margin-top: 0px;
}

.complyfi_bottom-buttons {
  position: relative;
  padding: 20px 20px 0px 20px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.complyfi_btn-sec {
  background: #a08e6e;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
}

.complyfi_bottom-btn {
  padding: 10px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 210px;
  font-size: 16px;
}

.complyfi_approve-btn {
  background: #c9b99b;
  color: rgb(255, 255, 255);
}

.complyfi_approve-btn:hover {
  background: #a08e6e;
}

.complyfi_review-btn {
  background: #c9b99b;
  color: white;
}

.complyfi_review-btn:hover {
  background: #a08e6e;
}

.complyfi_cancel-btn {
  background: #c9b99b;
  color: white;
}

.complyfi_cancel-btn:hover {
  background: #a08e6e;
}

.complyfi_selected-count {
  font-size: 14px;
  color: #6e5c3e;
  margin-top: 0.5rem;
}

hr.complyfi_complyfi_divider {
  border: 1px solid #c9b99b;
  margin: 15px 0px;
}

a.complyfi_complyfi_web-link {
  color: #a08e6e;
  font-size: 18px;
}

.complyfi_content-wrapper::-webkit-scrollbar {
  width: 6px;
}

.complyfi_content-wrapper::-webkit-scrollbar-track {
  background: #f2e8d5;
}

.complyfi_content-wrapper::-webkit-scrollbar-thumb {
  background: #a08e6e;
  border-radius: 3px;
}

.complyfi_content-wrapper::-webkit-scrollbar-thumb:hover {
  background: #6e5c3e;
}

.complyfi_accordion-section {
  padding: 0;
  max-height: 350px;
  overflow-y: auto;
}

.complyfi_accordion-section .complyfi_accordion:last-child {
  margin-bottom: 0px;
}

p.complyfi_main-message {
  font-size: 18px;
}

h3.complyfi_above-title {
  font-size: 22px;
  margin-bottom: 0px;
  margin-top: 0px;
  color: #6e5c3e;
}

p.complyfi_main-message {
  font-size: 18px;
  margin-top: 0px;
  color: #6e5c3e;
}

h4.complyfi_banner-title {
  font-size: 20px;
  margin-top: 0px;
  margin-bottom: 10px;
  color: #6e5c3e;
}

h5.complyfi_privacy-title {
  font-size: 18px;
  margin-bottom: 0px;
  margin-top: 10px;
  color: #6e5c3e;
}

.complify_collapse-layer1 {
  padding: 0px 10px !important;
  border-radius: 8px;
  font-size: 16px;
}

.complify_collapse-layer1-header {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  padding: 0px 0px 0px 0px;
  cursor: pointer;
  color: #6e5c3e;
}

.complify_collapse-layer1-header:hover {
  color: #a08e6e;
  font-weight: 500;
}

.complify_collapse-layer {
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
}

.complify_collapse-layer.show {
  max-height: fit-content !important;
  /* Adjust this value based on content height */
}

.complify_collapse-layer-inner-con {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
  padding-top: 5px;
  margin-top: 0px;
}

.complify_collapse-layer-inner-con.show {
  max-height: fit-content;
  /* Adjust based on content height */
}

.complify_content-sec {
  padding: 20px 20px 20px 20px;
  border-radius: 15px;
  background-color: #f2e8d5;
  border: 1px solid #d9cdb3;
  margin-top: 10px;
}

.complify_inner-title {
  margin-bottom: 5px;
  color: #6e5c3e;
}

.complify_div-sec {
  display: flex;
  gap: 10px;
}

.complify_w-50 {
  width: 50%;
}

.complify_collapse {
  border-bottom: 1px solid #d9cdb3;
  padding: 25px 10px;
}

.rotate-180 {
  transform: rotate(180deg);
}

.down-icon {
  transition: 0.3s ease-in-out;
}

@media (max-width: 767px) {
  .complify_w-50 {
    width: 100%;
  }

  .complify_div-sec {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
}

.show-btn {
  display: inline-block !important;
}

.hide-btn {
  display: none !important;
}

.complyfi_mid-con {
  padding: 20px 40px;
}

.complyfi_bottom-btn.complyfi_review-btn {
  background: #c9b99b;
}

p.complyfi_txt {
  color: rgb(255, 255, 255);
  margin: 0px;
  text-align: center;
  font-size: 16px !important;
  padding-bottom: 15px;
  padding-top: 5px;
}

.complyfi_icon {
  position: relative;
  top: 5px;
  margin-right: 3px;
}

.complyfi_link-2 {
  color: #ffffff !important;
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 500px) {
  .complyfi_action-btn {
    flex-grow: 1;
    text-align: center;
  }

  .complyfi_action-buttons {
    display: flex;
    gap: 5px;
    padding: 0;
    margin-bottom: 20px;
    flex-wrap: wrap;
  }
}

.complyfi_bottom-btn.complyfi_review-btn:hover {
  background: #a08e6e;
}

@media (max-width: 767px) {
  .complyfi_mid-con {
    padding: 10px 20px;
  }
}

#allConsent-button {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.complyfi_tabs {
  display: flex;
  gap: 20px;
}

.complyfi_tabs span {
  cursor: pointer;
  padding: 5px;
  transition: color 0.3s, border-bottom 0.3s;
  font-weight: bold;
  color: #a08e6e;
}

.complyfi_tabs span:hover {
  color: #6e5c3e;
  border-bottom: 2px solid #6e5c3e;
}

.complyfi_tabs span.active {
  border-bottom: 2px solid #a08e6e;
}

.complyfi_categories {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-grow: 1;
  align-items: center;
}

.complyfi_category {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f9f4e8;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid #d9cdb3;
  flex: 1;
  max-width: 180px;
  height: 200px;
  position: relative;
}

.complyfi_toggle {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
}

.complyfi_toggle input {
  display: none;
}

.complyfi_slider {
  width: 40px;
  height: 20px;
  background: #ccc;
  border-radius: 10px;
  position: relative;
  cursor: pointer;
}

.complyfi_slider:before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  background: white;
  border-radius: 50%;
  top: 1px;
  left: 2px;
  transition: 0.3s;
}

.complyfi_toggle input:checked+.complyfi_slider {
  background: #a08e6e;
}

.complyfi_toggle input:checked+.complyfi_slider:before {
  left: 20px;
}

.complyfi_buttons {
  display: flex;
  justify-content: space-around;
  margin-top: 10px;
}

.complyfi_button {
  padding: 8px 12px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  color: white;
}

.complyfi_button.allow {
  background: #6e5c3e;
}

.complyfi_button.allow:hover {
  background: #a08e6e;
}

.complyfi_privacy {
  font-size: 16px;
  color: #6e5c3e;
  text-decoration: none;
}

.complyfi_privacy:hover {
  font-size: 16px;
  color: #a08e6e;
  text-decoration: none;
}

.complyfi_privacy i {
  margin-right: 5px;
}

body {
  font-family: "Poppins", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  margin: 0;
  background: #f5f0e1;
}

.show-btn {
  display: inline-block !important;
}

.hide-btn {
  display: none !important;
}