.AB-powered-by {
    
    margin-top: 0.5em !important;
  }

  .alphabake-text {
    color: #00a67e;
    font-weight: bold;
  }

  /* Update existing AB-guidelines-modal-content padding */
  .AB-guidelines-modal-content {
    padding: 0 24px 24px !important;
  }

  .AB-guidelines-modal {
    display: none;
    position: fixed;
    top: 0 !important;
    left: 0 !important;
    right:unset !important; 
    bottom:unset !important;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
    justify-content: center !important;
    align-items: center !important;
    z-index: 10000 !important;
    margin: 0px !important;
    width: 100% !important;
    background: #00000061 !important;
  }

  .AB-guidelines-modal-content {
    background-color: white;
    padding: 0px 24px 24px !important;
    border-radius: 12px !important;
    max-width: 600px !important;
    width: 90% !important;
    max-height: 99vh !important;
    overflow-y: auto !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    z-index: 10000 !important;
  }

  .AB-guidelines-modal-header {
    display: flex !important;
    justify-content: flex-end !important;
    padding: 10px !important;
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    bottom:unset !important;
    left:unset !important;
    z-index: 10 !important;
  }

  .AB-guidelines-modal .AB-close-button {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    padding: 0 !important;
    margin: 10px !important;
    transition: background-color 0.3s ease;
  }

  .AB-guidelines-modal .AB-close-button:hover {
    background: rgba(0, 0, 0, 0.8);
  }

  /* Update guidelines modal content to account for header */
  .AB-guidelines-modal-content {
    padding-top: 40px !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    background: white !important;
    border-radius: 8px !important;
    overflow: hidden !important;
  }

  /* Ensure the modal image fits properly */
  .AB-guidelines-modal-content img {
    max-width: 90% !important;
    height: 90% !important;
    display: block !important;
  }

  

  



  

  .AB-full-width {
    width: 100% !important;
    margin-top: 0px !important;
    padding: 12px !important;
  }

  @media (max-width: 768px) {
    .AB-guidelines-modal-content {
      width: 95% !important;
      padding: 0px 16px 16px !important;
    }

    
  }


  .AB-terms-modal {
    display: none;
    position: fixed;
    top: 0 !important;
    left: 0 !important;
    right:unset !important; 
    bottom:unset !important;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
    z-index: 10000 !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .AB-terms-modal-content {
    background-color: white;
    padding: 30px !important;
    border-radius: 8px !important;
    max-width: 500px !important;
    width: 90% !important;
    max-height: 80vh !important;
    overflow-y: auto !important;
  }

  .AB-terms-text {
    margin: 20px 0 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    text-align: justify !important;
  }

  .AB-terms-text ul {
    padding-left: 20px !important;
    margin: 15px 0 !important;
  }

  .AB-terms-text li {
    list-style: none !important; 
  }

  .AB-terms-buttons {
    display: flex !important;
    justify-content: flex-end !important;
    gap: 10px !important;
    margin-top: 20px !important;
  }

  .AB-terms-buttons button {
    padding: 10px 20px !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer !important;
  }

  @media (max-width: 768px) {
    .AB-terms-modal {
      margin: 0px !important;
      background: #00000061 !important;
    }
  }

  .AB-terms-link {
    color: #00a67e !important;
    text-decoration: underline !important;
    cursor: pointer !important;
  }

  .AB-terms-link:hover {
    color: #008c69 !important;
  }

  .AB-variant-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    color: black;
  }

  .AB-variant-modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    max-width: 400px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
  }

  .AB-variant-modal-content-variants {
    display: flex;
    gap: 20px;
  }

  /* mobile view */
  @media (max-width: 768px) {
    .AB-variant-modal-content-variants {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
  }

  .AB-variant-modal-content-variant.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #ccc;
  }
