/* Custom styling */
.chat-container {
    max-width: 400px;
    margin: 20px auto;
    font-family: Arial, sans-serif;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    min-height: 500px;
  }
  .chat-container img{
  width: 85px;
  margin-right: auto;
  margin-left: auto;
}
  .chat-header {
    color: #333;
    padding: 10px;
    text-align: left;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
    background-color: white;
  }

  .online-dot {
    width: 10px;
    height: 10px;
    background-color: #4CAF50;
    border-radius: 50%;
    margin-right: 10px;
  }

  .chat-messages {
    padding: 10px;
    flex-grow: 1;
  }

  .message-container {
    display: flex;
    flex-direction: column;
    padding: 0 10px;
    margin-bottom: 10px;
  }

  .user-message-container {
    align-items: flex-end;
  }

  .message {
    padding: 12px;
    border-radius: 20px;
    max-width: 80%;
    word-wrap: break-word;
  }

  .bot-message {
    background-color: #e0e0e0;
    align-self: flex-start;
  }

  .user-message {
    background-color: #2196F3;
    color: white;
    margin-left: auto;
  }

  .options-container {
    background-color: #e0e0e0;
    border-radius: 20px;
    padding: 12px;
    margin-top: 5px;
    max-width: 80%;
  }

  .options {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .option-button {
    background-color: #2196F3;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 20px;
    cursor: pointer;
    margin: 5px 0;
    font-size: 16px;
  }

  .call-button {
    background: linear-gradient(to bottom, #33628f, #2b537a);
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    width: 90%;
    max-width: 400px;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation: heartbeat 1.5s ease-in-out infinite;
    position: relative;
  }

  .call-button::before {
    content: '';
    width: 12px;
    height: 12px;
    background-color: #4CAF50;
    border-radius: 50%;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
  }

  .call-button-text {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    font-weight: bold;
    margin-bottom: 4px;
  }

  .call-button-subtext {
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    opacity: 0.9;
  }

  @keyframes heartbeat {
    0% {
      transform: scale(1);
    }

    14% {
      transform: scale(1.1);
    }

    28% {
      transform: scale(1);
    }

    42% {
      transform: scale(1.1);
    }

    70% {
      transform: scale(1);
    }
  }

  /* Typing indicator styles */
  .typing-indicator {
    display: flex;
    padding: 12px;
    border-radius: 20px;
    background-color: #e0e0e0;
    align-self: flex-start;
    margin: 0 10px 10px 10px;
    max-width: 55px;
    gap: 2px;
  }

  .typing-dot {
    width: 8px;
    height: 8px;
    margin: 0 2px;
    background-color: #666;
    border-radius: 50%;
    opacity: 0.8;
    animation: typing-animation 1s infinite ease-in-out;
  }

  .typing-dot:nth-child(2) {
    animation-delay: 0.2s;
  }

  .typing-dot:nth-child(3) {
    animation-delay: 0.4s;
  }

  @keyframes typing-animation {
    0% {
      transform: translateY(0px);
    }

    25% {
      transform: translateY(-5px);
    }

    50% {
      transform: translateY(0px);
    }
  }

  @media (max-width: 480px) {
    .call-button {
      width: 95%;
      padding: 12px 15px;
    }
  }

  /* Estilo base del componente */
  call-button {
    display: none;
    /* Oculto por defecto */
  }
.sp-text{
    font-weight: 700;
    color:#cf0003;
}
.p-text{
    font-size: 23px;
    font-weight: 400;
}
.footer p{
    font-size: 16px;
    color: #000;
    text-align: justify;
}