.custom-consent-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 2147483014;
    max-width: 800px; /* Maximum width */
    width: calc(100% - 40px); /* Adjust width as needed */
    max-height: calc(100% - 40px); /* Adjust height as needed */
    padding: 20px;
    border-radius: 8px;
  }
  
  .custom-consent-popup p {
    color: #000;
  }
  
  .custom-consent-popup a,.custom-consent-footer a {
    text-decoration: underline;
  }
  
  .custom-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
  }
  
  .custom-logo {
    height: auto; /* Adjust height as needed */
    width: 160px;
  }
  
  .custom-close-btn {
    background: none;
    border: none;
    color: #000;
    font-size: 30px;
    cursor: pointer;
  }
  
  .custom-close-btn:hover {
    color: #000;
  }
  
  .custom-consent-content {
    overflow-y: auto; /* Enable vertical scrolling if content exceeds max-height */
    max-height: 47vh; /* Adjust max-height as needed */
    font-size: 13px;
    font-weight: 400;
  }
  
  .custom-consent-content h2 {
    margin-top:0;
    margin-bottom:0;
    font-weight: 700;
    font-size:22x;
  }
  
  .custom-consent-content h3 {
    margin-top: 15px;
    font-weight: 700;
    font-size:22px;
  }
  
  .custom-footer {
    margin-top: 20px;
    display: flex;
    gap: 10px;
  }
  
  .custom-consent-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2147483013;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently */
  }
  
  .custom-consent-footer {
    display: flex;
    flex-direction: column;
    position: fixed;
    bottom: 25px;
    right: 25px;
    padding: 10px 20px;
    background-color: #f4f4f4;
    padding:20px;
    border:1px solid #000;
    z-index: 2147483012;
    align-items: center;
    justify-content: space-between;
  }
  
  .custom-consent-footer p {
    display: inline-block;
    margin: 0;
    font-size:14px;
    line-height: 1.5;
    width: 360px;
    word-wrap: break-word;
    height: 45px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: height 0.5s;
  }
  .custom-consent-footer p.show {
    height: auto;
    -webkit-box-orient: unset;
    padding-bottom: 15px;
  }
  .custom-consent-footer .banner-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    width: 100%;
  }
  
  .custom-consent-footer button {
    font-weight: 400;
    float:right;
    border:none;
    font-size:14px;
    text-decoration:underline;
    cursor: pointer;
  }
  
  .custom-close-footer-btn {
    background: none;
    border: none;
    color: #000;
    font-size: 30px !important;
    cursor: pointer;
    position: absolute;
    top: -3px;
    right: 0px;
    text-decoration:none !important;
  }
  
  .custom-close-footer-btn:hover {
    color: #333;
  }
  
  button.primary-consent, button.secondary-consent {
    border: 2px solid transparent;
    text-align: center;
    text-decoration:none !important;
    padding: 0;
    cursor: pointer;
    display: inline-block;
    font-weight: 700;
    margin: 0;
    padding: 4px 16px;
    font-size: 14px;
    line-height: 1;
    box-sizing: border-box;
    vertical-align: middle;
  }
  
  .custom-footer button.primary-consent,
  .custom-footer button.secondary-consent {
    font-size: 16px;
  }
  
  .custom-consent-popup .custom-toggle h4 {
    display:inline-block;
    color:#000;
    font-size:20px;
    font-weight:700;
    margin:0;
  }
  
  /* The switch - the box around the slider */
  .custom-consent-popup .switch {
    margin-right: 1rem;
    float:right;
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
  }
  
  /* Hide default HTML checkbox */
  .custom-consent-popup  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  /* The slider */
  .custom-consent-popup  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  .custom-consent-popup  .slider:before {
    position: absolute;
    content: "";
    height: 12px;
    width: 12px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  .custom-consent-popup  input:checked + .slider {
    background-color: #001A71;
  }
  
  .custom-consent-popup  input:focus + .slider {
    box-shadow: 0 0 1px #001A71;
  }
  
  .custom-consent-popup input:checked + .slider:before {
    -webkit-transform: translateX(19px);
    -ms-transform: translateX(19px);
    transform: translateX(19px);
  }
  
  /* Rounded sliders */
  .custom-consent-popup .slider.round {
    border-radius: 34px;
  }
  
  .custom-consent-popup  .slider.round:before {
    border-radius: 50%;
  }
  
  @media (max-width: 768px) {
    .custom-consent-footer {
      width: auto;
      bottom: 0px;
      right: 0;
      left: 0;
      margin: 15px;
      padding: 10px;
    }
    .custom-close-footer-btn {
      display: none;
    }
    .custom-consent-footer p {
      width: auto;
      font-size: 12px;
      height: 35px;
    }
    .custom-consent-footer .show-more {
      display: inline-block !important;
      font-size: 12px;
      margin-right: auto;
      padding: 0;
    }
    .custom-close-btn {
      padding: 10px;
    }
    .custom-footer {
      flex-direction: column;
    }
  }