
  #ulc-custom-prechat-close-btn,
  #ulc-custom-launcher {
    position: fixed;
    bottom: 24px;
    right: 28px;
    background: #467c55;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    user-select: none;
    transition: background-color 0.3s ease;
    z-index: 2147483639;
    display: flex;
    justify-content: center;
    align-items: center;
    display: none; /* hidden until Messenger.ready */
  }
  #ulc-custom-prechat-close-btn {
    background: #ffffff;
    display: none;
  }
  #ulc-custom-prechat-close-btn:hover,
  #ulc-custom-launcher:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 8px 0px rgba(0, 0, 0, 0.3);
  }
  #ulc-custom-launcher img {
    object-fit: contain;
    width: 100%;
    height: 100%;
    user-select: none;
    pointer-events: none;
  }

  #ulc-custom-launcher.disabled {
    background: #999999 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    opacity: 0.6;
  }

  #ulc-prechat-form-container {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 320px;
    background: white;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    padding: 15px 15px 15px 15px;
    display: none; /* hidden initially */
    z-index: 2147483639;
    height: 520px;
    max-height: calc(100% - 120px);
    overflow: hidden auto;
  }

  #ulc-prechat-close-btn {
    position: absolute;
    top: -2px;
    right: 0;
    font-size: 45px;
    line-height: 30px;
    font-weight: normal;
    color: #777777;
    cursor: pointer;
    user-select: none;
    width: 35px;
    height: 35px;
    text-align: center;
    display: none;
  }
  #ulc-prechat-close-btn:hover {
    color: #000000;
  }

  #ulc-prechat-form input,
  #ulc-prechat-form textarea {
    width: 100%;
    margin-bottom: 10px;
    padding: 8px 10px;
    font-size: 14px;
    border-radius: 4px;
    border: 1px solid #cccccc;
    box-sizing: border-box;
    font-family: inherit;
  }
  #ulc-prechat-form input {
    margin-bottom: 5px;
    height: 35px;
  }
  #ulc-prechat-form textarea {
    resize: vertical;
  }

  #ulc-prechat-form button {
    width: 100%;
    background: #467c55;
    color: white;
    border: none;
    padding: 12px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 5px;
  }
  #ulc-prechat-form button:hover {
    background: #002b2a;
  }

  #ulc-custom-text {
    position: fixed;
    bottom: 70px;
    right: 70px;
    background: #ffffff;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    user-select: none;
    white-space: nowrap;
    z-index: 9999;
    transition: 1s;
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    max-width: 120px;
    cursor: pointer;
    display: none;
  }
  #ulc-custom-text.visible {
    transition: 1s;
    opacity: 1;
    display: flex;
  }

  #ulc-custom-text-close {
    position: absolute;
    top: -30px;
    right: -30px;
    font-size: 45px;
    line-height: 30px;
    font-weight: normal;
    color: #777777;
    cursor: pointer;
    user-select: none;
    width: 35px;
    height: 35px;
    text-align: center;
  }
  #ulc-custom-text-close:hover {
    color: #000000;
  }
  #ulc-widget label {
    font-size: 14px;
  }
  #ulc-widget .req-mark:after {
    content: " *";
    color: #467c55;
  }
  @media (max-width: 768px) {
    #ulc-custom-text {
      display: none !important;
    }
  }

#ulc-widget [hidden] { display: none !important; }
#ulc-widget button { font-family: inherit; }
#ulc-custom-launcher, #ulc-custom-prechat-close-btn { border: 0; padding: 0; }
#ulc-custom-prechat-close-btn { font-size: 32px; color: #467c55; }
#ulc-prechat-form-container { box-sizing: border-box; width: min(350px, calc(100vw - 40px)); height: auto; max-height: calc(100dvh - 120px); }
#ulc-custom-text img { display: block; max-width: 120px; height: auto; }
#ulc-widget :focus-visible { outline: 1px solid #467c55; outline-offset: 1px; }
#ulc-after-hours { overflow-wrap: anywhere; color: #333; }
#ulc-after-hours img { max-width: 100%; height: auto; }
#ulc-status { color: #467c55; }
#ulc-prechat-message { overflow-wrap: anywhere; color: #333; font-size: 14px; }
#ulc-prechat-message img { max-width: 100%; height: auto; }
