/* De wrapper voor de hele beacon */
.mt-beacon {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* De kaart (het formulier) */
.mt-card {
  display: none;
  width: 400px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* Wanneer de kaart actief is (getoggled via JS) */
.mt-card.active {
  display: block;
  animation: mtSlideUp 0.3s ease-out;
}

/* Header van de beacon */
.wp-admin .mt-fab {
  display: none;
}
.mt-header {
  background-color: #007bff;
  /* Of gebruik je eigen btn-primary kleur */
  color: #fff;
  padding: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
}

.mt-header strong {
  font-size: 16px;
  letter-spacing: 0.5px;
}

.mt-title {
  font-size: 18px;
  font-weight: 600;
}

.mt-subtitle {
  color: #f8f9fa !important;
  font-size: 80%;
  font-weight: 400;
}

.mt-header button {
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  opacity: 0.8;
}

.mt-header button:hover {
  opacity: 1;
}

/* Body van het formulier */
.mt-body {
  padding: 20px;
}

.mt-body input,
.mt-body select,
.mt-body textarea {
  width: 100%;
  margin-bottom: 12px;
  padding: 10px 12px;
  border: 1px solid #e1e1e1;
  border-radius: 6px;
  font-size: 14px;
  box-sizing: border-box;
}

.mt-body textarea {
  height: 100px;
  resize: none;
}

/* Verzendknop */
.mt-submit-btn {
  width: 100%;
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.mt-submit-btn:hover {
  background-color: #0056b3;
}

/* Scheidingslijn en WhatsApp link */
hr {
  border: 0;
  border-top: 1px solid #eee;
  margin: 15px 0;
}

.mt-direct-links {
  text-align: center;
}

.mt-wa-link {
  display: inline-flex;
  align-items: center;
  color: #25D366;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.mt-wa-link i {
  margin-right: 8px;
  font-size: 18px;
}

/* De ronde Trigger knop (Beacon FAB) */
.mt-fab {
  width: 50px;
  height: 50px;
  border-radius: 100%;
  background-color: #007bff;
  color: #fff;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  float: right;
  transition: transform 0.2s ease;
}

.mt-fab:hover {
  transform: scale(1.2);
}

.mt-fab i {
  font-size: 22px;
  transition: transform 0.3s ease, opacity 0.2s;
}

/* Animatie */
@keyframes mtSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobiele optimalisatie */
@media (max-width: 480px) {
  .mt-card {
    width: calc(100vw - 40px);
    right: 20px;
  }
}

.mt-notification {
  display: none;
  position: absolute;
  bottom: 65px;
  /* Net boven de FAB */
  right: 0;
  width: 360px;
  background: #28a745;
  /* Succes groen */
  color: white;
  padding: 12px 15px;
  border-radius: 8px;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1001;
  text-align: center;
}

.mt-notification.error {
  background: #dc3545;
  /* Fout rood */
}

.mt-notification.show {
  display: block;
  animation: mtFadeInUp 0.3s ease-out;
}

@keyframes mtFadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}