/* ===== USER DROPDOWN CUSTOM ===== */
.dropdown-menu {
  border-radius: 14px !important;
  border: 1px solid #eee !important;
  box-shadow: 0 7px 18px rgba(0,0,0,0.12) !important;
  overflow: hidden;
}

/* Elementi del menu */
.dropdown-menu .dropdown-item {
  padding: 8px 14px !important;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  transition: background .15s ease, color .15s ease;
}

/* Hover effetto verde/limone */
.dropdown-menu .dropdown-item:hover {
  background-color: #E8FFB2 !important;  /* verde lime pastello */
  color: #3B5B00 !important;
}

/* Icone generiche */
.dropdown-menu .dropdown-item i {
  font-size: 1.1rem;
  opacity: .85;
}

/* Logout rosso */
.dropdown-menu .dropdown-item.text-danger {
  color: #d9534f !important;
}

.dropdown-menu .dropdown-item.text-danger:hover {
  background-color: #ffe4e4 !important;
  color: #c9302c !important;
}

/* Divider più elegante */
.dropdown-divider {
  margin: 0 0 !important;
  border-top: 1px solid #ddd !important;
}



/* 🔴 Abbonamento scaduto */
.alert-badge-expired {
  width: 12px;
  height: 12px;
  background-color: red;
  border-radius: 50%;
  position: absolute;
  top: -2px;
  right: -5px;
  box-shadow: 0px 0px 4px rgba(0,0,0,0.7);
}

/* 🔔 Abbonamento in scadenza */
.alert-badge-warning {
  color: orange;
  font-size: 0.9rem;
  position: absolute;
  top: -5px;
  right: -8px;
  text-shadow: 0px 0px 4px rgba(0,0,0,0.7);
}


/* Messaggi chat compatti */
.chat-msg {
  max-width: 55%;
  padding: 6px 10px !important;
  border-radius: 12px;
  font-size: 0.85rem;
  line-height: 1.2;
  margin-bottom: 4px;
  word-break: break-word;
}

.chat-right {
  background: #0d6efd;
  color: white;
  align-self: flex-end;
}

.chat-left {
  background: #f5f5f5;
  color: #222;
  align-self: flex-start;
}


/* badge rosso pieno */
.alert-badge-expired {
  width: 12px;
  height: 12px;
  background: red;
  border-radius: 50%;
  position: absolute;
  top: -3px;
  right: -3px;
  border: 2px solid #fff;
}

/* campanella gialla */
.alert-badge-warning {
  color: #ffeb00 !important;
  font-size: 18px;
  position: absolute;
  top: -5px;
  right: -5px;
}

select[disabled] {
  background-color: #e9ecef;
  cursor: not-allowed;
}

