/*For the dot dot dot effect, used on bot placeholder*/
.dots span {
    display: inline-block;
    opacity: 0;
    transform: scale(0);
    font-size: 40px; 
    text-align: center;
    color: #181818;    
    animation: dotPulse 1.5s infinite ease-in-out;
  }
  
  .dots span:nth-child(1) { animation-delay: 0.2s; }
  .dots span:nth-child(2) { animation-delay: 0.4s; }
  .dots span:nth-child(3) { animation-delay: 0.6s; }
  
  @keyframes dotPulse {
    0%, 100% {
      opacity: 0;
      transform: scale(0);
    }
    50% {
      opacity: 1;
      transform: scale(1);
    }
  }


  /*For the header shiny effect*/
  .msger-header {
    display: flex;
    max-height: var(--header_height);
    justify-content: space-between;
    align-items: center; 
    padding: 10px;
    border-bottom: var(--border);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.184));
    background-color: #cdcdcd;
    color: #1d1c1c;
    position: relative;
    /*overflow: hidden;*/
    z-index: 1; 
  }
  
  .msger-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: -25%;
    width: 25%; /* Shorter shine size */
    height: 100%;
    background: rgba(243, 243, 243, 0.378); /* Handle contrast */
    transform: skewX(-15deg);
    animation: shiny 10s linear infinite; /* Adjust timing */
    z-index: -1;
  }
  
  @keyframes shiny {
    0%, 30% { /* Pause at the beginning */
      left: -45%;
      opacity: 0;
    }
    30%, 60% { /* Active effect */
      left: 120%;
      opacity: 1;
    }
    60%, 100% { /* Pause at the end */
      left: -45%;
      opacity: 0;
    }
  }