.ocTPA-base {
    all: unset; /* Reset everything */
    position: relative;
    border: var(--border);
    padding: 12px;
    border-radius: var(--baseBorderRadius);
    box-shadow: var(--boxShadow);
    height: auto;
    min-height:500px;
    width: 680px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: var(--backgroundColor);
    overflow-x: hidden;
  }
  
  .ocTPA-font * {
    font-family: var(--fontFamily);
    font-size: 16px;
    font-weight: 400;
    color: var(--bodyColor);
  }
  
  .ocTPA-font hr {
    width: 100%;
    height: 2px;
    border: none;
    margin-bottom: 16px;
    background-color: oklch(from var(--bodyColor) calc(l + 0.3) c h);
  }
  
  .ocTPA-base #ocTPA-content {
    padding: 12px;
  }
  
  .ocTPA-navigation-button {
    background-color: var(--navigationButtonBackgroundColor);
    border: none;
    color: var(--navigationButtonTextColor);
    font-size: 16px;
    /* Reduced font size */
    font-weight: 500;
    padding: 10px 16px;
    border-radius: var(--buttonBorderRadius);
    transition: background-color 200ms ease-in-out, transform 100ms ease-in-out;
    cursor: pointer;
  }
  
  .ocTPA-navigation-button:hover {
    background-color: oklch(from var(--navigationButtonBackgroundColor) calc(l - 0.1) c h);
    transform: scale(1.02);
    /* Slight scale-up on hover for interaction feedback */
  }
  
  #ocTPA-card-issuers-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 16px;
    align-items: stretch;
  }
  
  /* Content-sized cards; grid keeps them equal height without filling the whole plugin */
  .ocTPA-card-issuer {
    padding: 14px 16px;
    text-align: left;
    background-color: white;
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
    border-radius: 13px;
    box-sizing: border-box;
    overflow: hidden;
  }

  .ocTPA-card-issuer-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    gap: 6px;
    min-height: 0;
    box-sizing: border-box;
  }

  .ocTPA-card-issuer-desc {
    font-size: 12px;
    line-height: 1.35;
    flex: 0 0 auto;
  }

  .ocTPA-card-issuer-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    gap: 8px;
    margin-top: 10px;
  }

  .ocTPA-card-issuer-logo-wrap {
    width: 72px;
    height: 40px;
    flex: 0 0 72px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  .ocTPA-card-issuer-logo {
    max-width: 72px !important;
    max-height: 40px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: right center !important;
    display: block !important;
  }

  .ocTPA-card-scheme-logo-wrap {
    width: 44px;
    height: 28px;
    flex: 0 0 44px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-right: 10px;
  }

  .ocTPA-card-scheme-logo {
    width: 44px !important;
    height: 28px !important;
    max-width: 44px !important;
    max-height: 28px !important;
    min-width: 44px !important;
    min-height: 28px !important;
    object-fit: contain !important;
    object-position: left center !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    flex-shrink: 0;
  }
  
  .ocTPA-checkbox {
    align-self: center;
    margin-right: 8px;
    margin-top: 4px;
    margin-bottom: 4px;
    display: flex;
    align-content: center;
    justify-items: center;;
  }
  
  .ocTPA-title {
    font-weight: 700;
    font-size: 18px;
    color: var(--titleColor);
    /* Smaller, more modern title size */
  }
  
  .ocTPA-padding {
    padding-left: 12px;
    padding-right: 12px;
  }
  
  .ocTPA-margin-top {
    margin-top: 10px;
  }
  
  .ocTPA-input {
    border-radius: var(--inputBorderRadius);
    padding: 4px;
    border-style: solid;
    border-color: #e3e3e3;
  }
  
  .ocTPA-green-button {
    background-color: var(--activateButtonBackgroundColor);
    border: none;
    padding: 10px 16px;
    color: var(--activateButtonTextColor);
    font-size: 16px;
    /* Reduced font size */
    font-weight: 500;
    border-radius: var(--buttonBorderRadius);
    transition: background-color 200ms ease-in-out, transform 100ms ease-in-out;
    cursor: pointer;
  }
  
  .ocTPA-green-button:hover {
    background-color: oklch(from var(--activateButtonBackgroundColor) calc(l - 0.1) c h);
    transform: scale(1.02);
    /* Adds scale effect for hover */
  }
  
  .ocTPA-green-button-outline {
    background-color: transparent;
    border: #7a7a7a solid 1px;
    padding: 10px 16px;
    color: #7a7a7a;
    font-size: 16px;
    /* Reduced font size */
    font-weight: 500;
    border-radius: var(--buttonBorderRadius);
    transition: background-color 200ms ease-in-out, transform 100ms ease-in-out;
    cursor: pointer;
  }
  
  .ocTPA-green-button-outline:hover {
    background-color: oklch(from #7a7a7a calc(l - 0.01) c h);
    color: white;
    /* Adds scale effect for hover */
  }
  
  #ocTPA-signatory-combinations {
    height: 100%;
    overflow-y: hidden;
    position: relative;
  }
  
  .ocTPA-scrollable-container {
        overflow-y: hidden;
        position: relative;
        padding-bottom: 50px;
          height:auto;
          overflow-y: hidden;
          padding: 0;
          background-color: var(--backgroundColor);
  }
  
  .ocTPA-scrollable-content {
        max-height: 100%;
        overflow-y: scroll;
        padding: 10px;
  }
  
  .ocTPA-signatory-company {
      border: 1px solid #ddd;
      border-radius: var(--cardBorderRadius);
      margin-bottom: 12px;
      padding: 10px;
      width: fit-content;
      text-align: left;
      background-color: white;
      display: flex;
      flex-direction: column;
  }
  
  .ocTPA-signatory-company span {
    font-size: 13px;
  }
  
  
  .ocTPA-fade-top,
  .ocTPA-fade-bottom {
      position: absolute;
      left: 0;
      right: 0;
      height: 10px; /* Height of the fade effect */
      pointer-events: none; /* Prevents interaction with the fade */
      z-index: 1; /* Ensure the fade is above the content */
  }
  
  .ocTPA-fade-top {
      top: 0;
      background: linear-gradient(to bottom, var(--backgroundColor), rgba(255, 255, 255, 0)); /* Fade from solid to transparent */
  }
  
  .ocTPA-fade-bottom {
      bottom: 0;
      background: linear-gradient(to top, var(--backgroundColor), rgba(255, 255, 255, 0)); /* Fade from solid to transparent */
  }
  
  .ocTPA-signatory-combination {
    border: 1px solid #ddd;
    border-radius: var(--cardBorderRadius);
    margin-bottom: 12px;
    padding: 10px;
    width: 100%;
    text-align: left;
    background-color: white;
    transition: background-color 200ms ease-in-out;
    cursor: pointer;
  }
  
  .ocTPA-signatory-combination:hover {
    background-color: #f8f8f8;
  }
  
  .ocTPA-signatory-combination span {
    margin-right: 12px;
    font-size: 14px;
    width: 100%;
    display: inline-block;
    white-space: nowrap;
  }
  
  .ocTPA-signatory-email-container {
    height: 290px;
    overflow-y: hidden;
    position: relative;
  }
  
  .ocTPA-signatory-email {
    position: relative;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 12px;
    padding: 10px;
    width: 96%;
    text-align: left;
    background-color: white;
    display: flex;
    justify-content: space-between;
  }
  
  .ocTPA-signatory-email-name {
    font-size: 14px;
    align-self: center;
  }
  
  .ocTPA-signatory-email-email {
    font-size: 14px;
    width: 43%;
  }
  
  .ocTPA-trash-button {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 28px;
    width: 28px;
    position: absolute;
    right: -37px;
    background-color: white;
    margin-left: 8px;
    border: solid;
    border-width: thin;
    border-color: #ddd;
    color: var(--bodyColor);
    font-size: 16px;
    /* Reduced font size */
    font-weight: 500;
    padding: 1px 3px 1px 3px;
    border-radius: var(--buttonBorderRadius);
    transition: background-color 200ms ease-in-out, transform 100ms ease-in-out;
    cursor: pointer;
  }
  
  .ocTPA-trash-button:hover {
    background-color: #e0e0e0;
  }
  
  .ocTPA-trash-button svg {
    fill: var(--bodyColor);
  }
  
  #ocTPA-powered-by-bank {
    position: absolute;
    right: 32px;
    top: 32px;
    max-height: 32px;
    max-width: 160px;
  }
  
  /* center this aboslute */
  .ocTPA-powered-by {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
  }
  
  .ocTPA-checkmark-container {
    width: 20px;
    height: 20px;
    background-color: white;
    border: 2px solid var(--bodyColor);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.3s ease, background-color 0.3s ease;
  }
  
  .ocTPA-checkmark {
    width: 20px;
    height: 20px;
    position: relative;
    opacity: 0;
    /* Initially hidden */
    transition: opacity 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    background-color: var(--bodyColor);
  }
  
  .ocTPA-checkmark-stem {
    position: absolute;
    width: 3px;
    height: 12px;
    background-color: white;
    left: 10px;
    top: 4px;
    border-radius: 2px;
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.4s ease;
  }
  
  .ocTPA-checkmark-kick {
    position: absolute;
    width: 3px;
    height: 6px;
    background-color: white;
    left: 5px;
    top: 9px;
    border-radius: 2px;
    transform: rotate(-45deg);
    opacity: 0;
    transition: opacity 0.4s ease;
  }
  
  .ocTPA-checked .ocTPA-checkmark {
    opacity: 1;
    /* Animates the checkmark scaling in */
  }
  
  .ocTPA-checked .ocTPA-checkmark-stem,
  .ocTPA-checked .ocTPA-checkmark-kick {
    opacity: 1;
    /* Fades in checkmark lines */
  }
  
  .ocTPA-checked .ocTPA-checkmark-container {
    background-color: var(--bodyColor);
  }
  
  /* .ocTPA-disabled {
    background-color: #ccc;
    border-color: #ccc;
    pointer-events: none;
  }
  
  .ocTPA-disabled .ocTPA-checkmark {
    background-color: #ccc;
    border-color: #ccc;
    pointer-events: none;
  }
  
  .ocTPA-disabled:hover {
    background-color: #ccc;
    border-color: #ccc;
    pointer-events: none;
  } */
  
  .ocTPA-fade-in {
    animation: ocTPA-fadeIn 300ms;
  }
  
   /* Popup container */
   .ocTPA-popup {
     position: relative;
     display: inline-block;
     cursor: pointer;
     background-color: var(--errorColor);
     border-radius: 100px;
   }
  
   /* The actual popup (appears on top) */
   .ocTPA-popup .ocTPA-popuptext {
     visibility: hidden;
     width: 160px;
     background-color: var(--bodyColor);
     color: #fff;
     text-align: center;
     border-radius: 6px;
     padding: 5px 0;
     position: absolute;
     z-index: 1000;
     bottom: 125%;
     left: 50%;
     margin-left: -80px;
     font-size: 13px;
   }
  
   /* Popup arrow */
   .ocTPA-popup .ocTPA-popuptext::after {
     content: "";
     position: absolute;
     top: 100%;
     left: 50%;
     margin-left: -5px;
     border-width: 5px;
     border-style: solid;
     border-color: var(--bodyColor) transparent transparent transparent;
   }
  
   /* Toggle this class when clicking on the popup container (hide and show the popup) */
   .ocTPA-popup:hover .ocTPA-popuptext {
     visibility: visible;
     -webkit-animation: ocTPA-fadeIn 1s;
     animation: ocTPA-fadeIn 200ms
   }
  
   .ocTPA-loader {
     width: 50px;
     aspect-ratio: 1;
     --corner: no-repeat radial-gradient(farthest-side, var(--bodyColor) 84%, #0000);
     background:
       var(--corner) top,
       var(--corner) left,
       var(--corner) right,
       var(--corner) bottom;
     background-size: 14px 14px;
     animation: ocTPA-rotate 1s infinite;
   }
  
   .ocTPA-error-text {
    color: red;
    font-size: 13px;
   }
  
   .ocTPA-hidden {
     opacity: 0;
     transition: opacity 0.4s ease;
   }
  
   .ocTPA-shown {
    opacity: 1;
    transition: opacity 0.4s ease;
   }
  
   .ocTPA-scroll-arrow {
    margin-top: -60px;
    position: absolute;
    left: 0;
    right: 0;
    margin-inline: auto;
    width: fit-content;
    border-style: solid;
    border-width: 1px;
    border-radius: 100px;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 30;
    border-color: var(--bodyColor);
    background-color: var(--bodyColor);
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
   }
  
   .ocTPA-scroll-arrow svg {
    fill: var(--backgroundColor)
   }
  
   .ocTPA-description {
    font-size: var(--descriptionFontSize);
   }
  
   @keyframes ocTPA-rotate {
     to {
       transform: rotate(.5turn)
     }
   }
  
   /* Add animation (fade in the popup) */
   @-webkit-keyframes ocTPA-fadeIn {
     from {
       opacity: 0;
     }
  
     to {
       opacity: 1;
     }
   }
  
   @keyframes ocTPA-fadeIn {
     from {
       opacity: 0;
     }
  
     to {
       opacity: 1;
     }
   }