/* ==========================================================================
   LIDERARWEB · Avisos de la pantalla de acceso (rediseño)
   Reemplaza a _lib/libraries/grp/liderar/libs/css/styles.css
   ========================================================================== */

.alert-message {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 50;
  transform: translate(-50%, calc(-100% - 40px));
  width: min(440px, calc(100vw - 32px));
  padding: 12px 40px 12px 16px;
  border-radius: 12px;
  text-align: left;
  white-space: pre-line;
  font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  color: #ffffff;
  background: #0f766e;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .35);
  transition: transform .25s ease-in-out;
}

.alert-message span.close {
  position: absolute;
  right: 10px;
  top: 8px;
  width: 22px;
  height: 22px;
  line-height: 22px;
  text-align: center;
  border-radius: 6px;
  font-size: 20px;
  font-weight: 600;
  color: rgba(255, 255, 255, .75);
  cursor: pointer;
}
.alert-message span.close:hover { color: #ffffff; background: rgba(255, 255, 255, .15) }

.alert-message.active   { transform: translate(-50%, 0) }

.alert-message.primary  { background-color: #0f766e }
.alert-message.positive { background-color: #15803d }
.alert-message.negative { background-color: #dc2626 }
.alert-message.warning  { background-color: #d97706 }
