.alertas {
  color: #eaeaea;

  .alertas_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;

    h1 {
      font-size: 26px;
      font-weight: 600;
      letter-spacing: 0.3px;
    }

    p {
      color: #7a7a7a;
      font-size: 13px;
      margin-top: 4px;
    }

    .btn_nuevo {
      background: #850e48;
      color: #fff;
      border: 1px solid transparent;
      padding: 10px 18px;
      border-radius: 4px;
      cursor: pointer;
      font-weight: 600;
      letter-spacing: 0.3px;
      transition: all 0.25s ease;
      box-shadow: 0 0 0 rgba(0, 0, 0, 0);

      &:hover {
        background: #6f0c3c;
        transform: translateY(-1px);
        box-shadow: 0 8px 20px rgba(133, 14, 72, 0.15);
      }

      &:active {
        transform: translateY(0px);
      }
    }
  }

  .alertas_list {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .alerta_card {
    display: flex;
    gap: 14px;
    padding: 16px;
    border-radius: 12px;
    background: #0f0f0f;
    border: 1px solid #1f1f1f;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;

    &:hover {
      transform: translateX(4px);
      background: #131313;
      border-color: #262626;
    }

    .alerta_icon {
      width: 10px;
      height: 10px;
      margin-top: 6px;
      border-radius: 50%;
      flex-shrink: 0;
    }

    .alerta_content {
      h3 {
        font-size: 15px;
        font-weight: 600;
        margin-bottom: 4px;
        color: #f0f0f0;
      }

      p {
        font-size: 13px;
        color: #a3a3a3;
        margin-bottom: 6px;
        line-height: 1.4;
      }

      span {
        font-size: 11px;
        color: #666;
      }
    }
  }

  /* TIPOS DE ALERTA */
  .alerta_card.info {
    .alerta_icon {
      background: #38bdf8;
      box-shadow: 0 0 10px rgba(56, 189, 248, 0.25);
    }
  }

  .alerta_card.warning {
    .alerta_icon {
      background: #facc15;
      box-shadow: 0 0 10px rgba(250, 204, 21, 0.25);
    }
  }

  .alerta_card.critica {
    border-color: rgba(248, 113, 113, 0.25);

    .alerta_icon {
      background: #f87171;
      box-shadow: 0 0 12px rgba(248, 113, 113, 0.35);
    }

    &:hover {
      border-color: rgba(248, 113, 113, 0.4);
    }
  }
}
