.viber-bubble {
  position: fixed;
  bottom: 20px;
  width: 60px;
  height: 60px;
  background-color: #7360f2;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  z-index: 9999;
}

.viber-bubble img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.viber-form-overlay {
  position: fixed;
  bottom: 100px;
  right: 20px;
  background: #fff;
  border: 1px solid #ccc;
  padding: 15px;
  border-radius: 0; /* ravne ivice */
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  display: none;
  z-index: 9999;
  width: 280px;
}

.viber-form-overlay h4 {
  margin: 5px 0 10px;
  font-size: 17px;
  text-align: center;
  font-family: Roboto;
  font-weight: 300;
}

.viber-form-overlay p {
  margin: 5px 0 10px;
  font-size: 14px;
  text-align: center;
}

.viber-form-overlay input,
.viber-form-overlay textarea,
.viber-form-overlay button {
  width: 100%;
  margin: 5px 0;
  padding-left: 3px;
  font-size: 16px;
  box-sizing: border-box;
}

.viber-form-overlay textarea {
  font-size: var(--theme-font-input_font-size);
  font-weight: var(--theme-font-input_font-weight);
  font-style: var(--theme-font-input_font-style);
  line-height: var(--theme-font-input_line-height);
  text-decoration: var(--theme-font-input_text-decoration);
  text-transform: var(--theme-font-input_text-transform);
  letter-spacing: var(--theme-font-input_letter-spacing);
  font-family: inherit;
}

.viber-form-overlay textarea {
  min-height: 60px;
  resize: vertical;
}


.viber-form-overlay button {
  background-color: #7360f2;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.viber-form-overlay button:hover {
  background-color: #5a4bd6;
}

.viber-form-overlay .close-btn {
  position: absolute;
  top: 5px;
  right: 10px;
  font-size: 18px;
  cursor: pointer;
  color: #333;
}

.viber-logo {
  max-width: 140px;
  display: block;
  margin: 0 auto 10px;
}

@media (max-width: 480px) {
  .viber-form-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    background: #fff;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto; /* ako ima puno sadržaja, skroluje se unutar popup-a */
    border-radius: 0;
    z-index: 9999;
  }

  .viber-form-overlay h4,
  .viber-form-overlay p {
    font-size: 16px;
    text-align: center;
  }

  .viber-form-overlay input,
  .viber-form-overlay textarea,
  .viber-form-overlay button {
    font-size: 16px;
    padding: 12px;
    width: 100%;
    box-sizing: border-box;
  }

  .viber-form-overlay textarea {
    min-height: 80px;
  }

  .viber-logo {
    max-width: 120px;
    margin: 0 auto 20px;
    display: block;
  }

  .viber-form-overlay .close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
  }
}