.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 56px;
  padding: 0 14px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  border: 0;
  cursor: pointer;
}

.whatsapp-float:hover {
  filter: brightness(0.95);
}

.whatsapp-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.56);
}

.whatsapp-overlay[hidden] {
  display: none !important;
}

.whatsapp-modal {
  position: relative;
  width: min(100%, 440px);
  border-radius: 14px;
  background: #fff;
  padding: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.28);
}

.whatsapp-modal h3 {
  margin: 0 0 8px;
  color: #083d4c;
  font-size: 22px;
  line-height: 1.25;
}

.whatsapp-modal__subtitle {
  margin: 0 0 16px;
  color: #4d5f66;
}

.whatsapp-modal__form {
  display: grid;
  gap: 10px;
}

.whatsapp-modal__form label {
  color: #1e2f35;
  font-weight: 600;
  font-size: 14px;
}

.whatsapp-role-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.whatsapp-role-btn {
  height: 40px;
  border: 1px solid #c7d4d8;
  border-radius: 8px;
  background: #f7fbfc;
  color: #1e2f35;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.whatsapp-role-btn.is-active {
  border-color: #25d366;
  background: #eaf9f0;
  color: #14592f;
}

.whatsapp-modal__form select,
.whatsapp-modal__form input {
  height: 42px;
  border: 1px solid #ced8db;
  border-radius: 8px;
  padding: 0 12px;
  font-size: 14px;
}

.whatsapp-modal__hint {
  margin: 4px 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #f3faf5;
  color: #1f4630;
  font-size: 13px;
  line-height: 1.35;
  min-height: 40px;
}

.whatsapp-modal__submit {
  margin-top: 6px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.whatsapp-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #edf3f5;
  color: #274750;
  font-size: 18px;
  cursor: pointer;
}

@media (max-width: 480px) {
  .whatsapp-modal {
    padding: 18px;
  }

  .whatsapp-modal h3 {
    font-size: 20px;
  }
}
