/* === Wrapper für Button + Overlay === */
.sales-rep-wrapper {
  position: relative;
  display: inline-block;
}

/* === Hover-Logik: zeigt Overlay bei Maus über Wrapper === */
.sales-rep-wrapper:hover .sales-rep-popup-box {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* === Button === */
.my-adm-label {
  background: #fad420;
  color: #000;
  font-weight: 700;
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 16px;
  cursor: pointer;
  display: inline-block;
  line-height: 1;
  animation: adm-professional-pulse 3s ease-in-out infinite;
  transition: all 0.3s ease;
  box-shadow: 0 0 0 rgba(250, 212, 32, 0);
}

.my-adm-label:hover {
  background: #f2cb00;
}

@keyframes adm-professional-pulse {
  0% { transform: scale(1); background-color: #fad420; box-shadow: 0 0 0 rgba(250, 212, 32, 0); }
  30% { transform: scale(1.03); background-color: #ffe75b; box-shadow: 0 0 8px rgba(250, 212, 32, 0.35); }
  70% { transform: scale(1.01); background-color: #fad420; box-shadow: 0 0 4px rgba(250, 212, 32, 0.15); }
  100% { transform: scale(1); background-color: #fad420; box-shadow: 0 0 0 rgba(250, 212, 32, 0); }
}

/* === Overlay (initial ausgeblendet) === */
.sales-rep-popup-box {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  position: absolute;
  background: #fff;
  padding: 12px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  width: 300px;
  right: 0;
  top: 100%;
  z-index: 9999;
  font-size: 13px;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

/* === Einzelner Eintrag im Overlay === */
.sales-rep-popup-box .sales-rep-entry {
  display: flex;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  gap: 12px;
}

.sales-rep-popup-box .sales-rep-entry:last-child {
  border-bottom: none;
}

.sales-rep-popup-box .sales-rep-entry img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  flex-shrink: 0;
}

.sales-rep-popup-box .rep-info {
  flex-grow: 1;
  line-height: 1.3;
  text-align: left;
}

.sales-rep-popup-box .rep-info strong {
  font-size: 14px;
  font-weight: 700;
  color: #000;
  margin-bottom: 4px;
  display: block;
}

.sales-rep-popup-box .rep-info .phone {
  font-size: 13px;
  color: #333;
  margin-bottom: 6px;
  display: block;
}

.sales-rep-popup-box .rep-info .sales-rep-message-link {
  background-color: #fad420;
  color: #000;
  font-weight: 600;
  font-size: 12.5px;
  padding: 6px 10px;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  display: inline-block;
  transition: background-color 0.2s ease;

  margin-top: 6px;
  display: inline-block;
}

.sales-rep-popup-box .rep-info .sales-rep-message-link:hover {
  background-color: #f2cb00;
}
