.form-group.required .col-form-label:after {
  color: #d00;
  content: "*";
  position: absolute;
  margin-left: 3px;
}

.nav-user-menu .user-image {
  width: 20px;
  margin-right: 4px;
  margin-top: -4px;
}

.focused-backdrop-for-spotlight {
  position: relative !important;
  box-shadow: 0px 0px 0px 99999px rgba(0, 0, 0, 0.6) !important;
  z-index: 10001;
  border: 3px solid #78CBF2;
}

.inset-focused-backdrop-for-spotlight {
  box-shadow: inset 0px 0px 0px 99999px rgba(0, 0, 0, 0.8) !important;
  border-top: none !important;
  border-bottom: none !important;
}

.swal-for-showHowToGetBackFromRepresentativeAccountIfNeeded {
  background-color: #999999;
}
@media only screen and (max-width: 600px) {
  .swal-for-showHowToGetBackFromRepresentativeAccountIfNeeded {
    position: absolute;
    right: 0;
    bottom: 0;
  }
  .swal-for-showHowToGetBackFromRepresentativeAccountIfNeeded .swal-icon {
    display: none;
  }
}

.selection-person-type-card {
  background: #fff;
  border-radius: 2px;
  display: inline-block;
  position: relative;
  height: 350px;
  width: 100%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.small-selection-person-type-card {
  height: 100px;
}

.medium-selection-person-type-card {
  height: 150px;
}

.selection-person-type-card:hover {
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

/* Alerte utilizator - clopotelul din antet */
.nav-alerte .nav-alerte-toggle {
  position: relative;
}
.nav-alerte {
  /* position: relative ancoreaza inelul de pulsatie pe iconita; fara el s-ar centra pe tot
     link-ul, care include si insigna. */
}
.nav-alerte .nav-alerte-iconita {
  font-size: 1.1rem;
  position: relative;
  vertical-align: middle;
}
.nav-alerte .navbar-badge {
  font-size: 0.6rem;
  font-weight: 400;
  padding: 2px 4px;
  position: absolute;
  right: 1px;
  top: 4px;
}
.nav-alerte {
  /* Pulsatia se aplica pe un inel separat, nu pe iconita: iconita ramane perfect lizibila, iar
     cel care se uita in alta parte percepe doar o miscare periferica discreta. */
}
.nav-alerte .nav-alerte-pulseaza .nav-alerte-iconita:after {
  animation: nav-alerte-puls 2.4s ease-out infinite;
  border: 1px solid #dc3545;
  border-radius: 50%;
  content: "";
  height: 26px;
  left: 50%;
  margin: -13px 0 0 -13px;
  pointer-events: none;
  position: absolute;
  top: 50%;
  width: 26px;
}

/* Alerte utilizator - modala cu lista completa */
.alerte-modal {
  max-height: 70vh;
  overflow-y: auto;
  /* Titlu de grupa: separa alertele personale de cozile de lucru ale institutiei. */
}
.alerte-modal .alerte-grupa-titlu {
  background-color: #f1f3f5;
  border-bottom: 1px solid #dee2e6;
  color: #495057;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.4rem 0.75rem;
  position: sticky;
  text-transform: uppercase;
  top: 0;
  z-index: 1;
}
.alerte-modal .alerta-rand {
  align-items: center;
  border-bottom: 1px solid #edf0f2;
  border-left: 3px solid transparent;
  display: flex;
  padding: 0.75rem 1rem;
}
.alerte-modal {
  /* Singurul accent vizual ramas: prioritatea. Nu mai exista citit/necitit, pentru ca alertele
     nu se stocheaza si nu retin nimic despre utilizator. */
}
.alerte-modal .alerta-prioritara {
  background-color: rgba(220, 53, 69, 0.04);
  border-left-color: #dc3545;
}
.alerte-modal .alerta-prioritara .alerta-icona {
  color: #dc3545;
}
.alerte-modal .alerta-icona {
  color: #6c757d;
  flex: 0 0 auto;
  font-size: 1.1rem;
  text-align: center;
  width: 1.75rem;
}
.alerte-modal .alerta-continut {
  flex: 1 1 auto;
  min-width: 0;
  padding-right: 0.75rem;
}
.alerte-modal .alerta-titlu {
  font-weight: 600;
  line-height: 1.3;
}
.alerte-modal .alerta-mesaj {
  line-height: 1.35;
  margin-top: 0.15rem;
}
.alerte-modal .alerta-actiuni {
  flex: 0 0 auto;
}
.alerte-modal {
  /* Pe ecran ingust actiunea trece sub text, ca randul sa nu se comprime. */
}
@media (max-width: 575.98px) {
  .alerte-modal .alerta-rand {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .alerte-modal .alerta-continut {
    padding-right: 0;
  }
  .alerte-modal .alerta-actiuni {
    margin-top: 0.5rem;
    padding-left: 1.75rem;
    width: 100%;
  }
}

@keyframes nav-alerte-puls {
  0% {
    opacity: 0.55;
    transform: scale(0.8);
  }
  70% {
    opacity: 0;
    transform: scale(1.5);
  }
  100% {
    opacity: 0;
    transform: scale(1.5);
  }
}
/* Utilizatorii care au cerut mai putina miscare nu primesc pulsatia; insigna ramane. */
@media (prefers-reduced-motion: reduce) {
  .nav-alerte .nav-alerte-pulseaza .nav-alerte-iconita:after {
    animation: none;
    opacity: 0.55;
  }
}