

.chat-container {
    width: 500px;
    max-height: 100%;
    height: auto;
    margin: auto;
    border-radius: 10px;
    padding: 10px;
    background: #121619;
    position: fixed;
    bottom: 0;
    right: 0;
    display: none;
    z-index: 9999;
    border: 2px solid #30C680;
    transition: all 0.4s ease;
}
.chat-fullscreen {
    width: 50% !important;
}
@media screen and (max-width: 1199px) {
    .chat-fullscreen {
        width: 70% !important;
    }
    
}
@media screen and (max-width: 991px) {
    .chat-fullscreen {
        width: 100% !important;
    }
    
}
@media screen and (max-width: 767px) {
    #extend-chat{
        display: none;
    }
    
}
.chat-header{
    height: auto !important;
    width: 100% !important
}

#close-libia{
    display: flex;
    position: relative;
    gap: 10px;
}
#close-libia button{
    float: left;
    background-color: transparent;
    border: none;
    color: #fff;
}

#chat-body-user {
    height: 400px;
    overflow-y: auto;
    padding: 10px;
    border-bottom: 1px solid #ddd;
    width: 100%;
}

#chat-body-user::-webkit-scrollbar {
    width: 10px;
}

#chat-body-user::-webkit-scrollbar-track {
    background: #000000;
}

#chat-body-user::-webkit-scrollbar-thumb {
    background: #40cd76;
    border-radius: 5px;
}

.message-container {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}

.user-message {
    justify-content: flex-end;
}

.bot-message {
    justify-content: flex-start;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
}

.message-text {
    background: #000;
    color: #fff;
    padding: 10px;
    border-radius: 8px;
    max-width: 70%;
    font-size: 14px;
    text-align: left;
    white-space: pre-line;
}
.message-text img{
    padding: 20px 40px;
    width: 100%;
}
.message-text a{
    color: #40cd76;
    text-decoration: none;
}

.message-text iframe{
    width: 100% !important;
}

.user-message .message-text {
    background: #3E3C3C;
    color: #fff;
    font-size: 14px;
}

.quick-reply-container {
    margin-top: 10px;
    max-height: 200px;
    overflow: auto;
}
.quick-reply-container::-webkit-scrollbar {
    width: 10px;
}

.quick-reply-container::-webkit-scrollbar-track {
    background: #000000;
}

.quick-reply-container::-webkit-scrollbar-thumb {
    background: #40cd76;
    border-radius: 5px;
}

.quick-reply-container img{
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease-in-out;
}
.chat-popup {
    position: fixed;
    bottom: 110px;
    right: 20px;
    background-color: #08090B;
    color: #fff;
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    font-size: 14px;
    display: none;
    z-index: 10001;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media(max-width: 991px){
    .chat-popup{
        max-width: 225px;
        border: 1px solid #29C480;
        bottom: 4rem;
        right: 4rem;
        z-index: 998;
    }
}

#toggle-quick-replies {
    background-color: transparent;
    color: #30C680;
    border: none;
    margin: 5px;
    border-radius: 8px;
    cursor: pointer;
    float: right;
    font-size: 12px;
    font-weight: 700;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: right;
    flex-direction: row;
    gap: 15px;

}


#quick-replies {
    display: none;
}
.quick-replies {
    padding: 10px;
}

.quick-reply {
    background: #f0f0f0;
    border: none;
    padding: 5px 10px;
    margin: 5px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #000;
}

.quick-reply:hover {
    background: #0084ff;
    color: white;
}

.chat-header {
    background: #121619;
    padding: 10px;
    color: white;
    text-align: center;
    font-size: 18px;
}

.chat-input {
    display: flex;
    padding: 10px;
}

.chat-input textarea {
    flex-grow: 1;
    padding: 10px;
    border: none;
    font-size: 12px;
    border-radius: 10px;
    background-color: #1E1E1E;
    color: #fff;
}

.chat-input button {
    background: #51D271;
    color: #000;
    border: none;
    padding: 10px;
    border-radius: 5px;
    margin-left: 5px;
    cursor: pointer;
}
#reset-button{
   background-color: #ff4141;
}
#reset-button img{
    width: 20px;
    height: 20px;
}
#chat-button {
    position: fixed;
    z-index: 10000;
    bottom: 0%;
    right: 0%;
    margin-right: 20px;
    margin-bottom: 20px;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    animation: heartbeat 1.5s infinite ease-in-out;
}

@media(max-width: 991px){
    #chat-button{
        z-index: 998;
        width: 50px;
        height: 50px;
    }
}

#chat-button img {
    width: 100%;
    height: 100%; 
    border-radius: 50%;
    object-fit: cover;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 12px rgba(82, 163, 121, 0.8);
    }
    14% {
        transform: scale(1.15);
        box-shadow: 0 0 24px rgba(82, 163, 121, 1);
    }
    28% {
        transform: scale(1);
        box-shadow: 0 0 12px rgba(82, 163, 121, 0.8);
    }
    42% {
        transform: scale(1.1);
        box-shadow: 0 0 24px rgba(82, 163, 121, 1);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 12px rgba(82, 163, 121, 0.8);
    }
}

@media screen and (max-width: 767px) {
    
.chat-container {
    width: 100%;
}
.quick-reply-container{
    max-height: 200px;
    overflow-x: auto;
}
#chat-body-user {
    overflow-y: auto;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}
}
@media screen and (max-width: 480px) {
 
.quick-replies {
    display: none;
    padding: 10px;
}
.quick-reply {
    width: 300px;
}
.chat-input {
    width: 100%;
}
.chat-input input{
    width: 90%;
}

}
@media screen and (max-width: 380px) {
.quick-reply {
    width: 200px;
}

}

/* 🔹 Contenedor de la respuesta */
.response-box {
    color: #fff;
    border-radius: 10px;
    font-size: 15px;
    padding-inline: 5px;
    margin-top: 10px;
    line-height: 1.6;
}

.response-box h2 {
    color: #40cd76; 
    font-size: 18px;
    padding-top: 20px;
    padding-bottom: 5px;
}

.response-box em {
    color: #ddd; 
    font-style: italic;
}

.response-box ul {
    margin-top: 10px;
    padding-left: 10px;
}

.response-box li {
    margin-bottom: 8px;
    list-style-type: disc;
}

.response-box p {
    margin-bottom: 12px;
}
.response-box a {
    color: #40cd76;
    text-decoration: none;
    display: flex;
    justify-content: center;
}

.liberty-club {
    color: #40cd76;
    font-weight: bold;
}

  
  /* 🎨 Resaltar "LibertyClub" en verde */
  .liberty-club {
    color: #40cd76;
  }
  
  .message-container li strong{
      color: #40cd76; 
      font-size: 16px;
      padding-top: 20px;
      padding-bottom: 5px;
  
  }
  
  .message-container li b{
      color: #40cd76; 
      font-size: 16px;
      padding-top: 20px;
      padding-bottom: 5px;
  
  }

  .message-text li strong{
    color: #40cd76; 
    font-size: 16px;
    padding-top: 20px;
    padding-bottom: 5px;
  }
  .message-text ul {
      margin-top: 10px;
      padding-left: 10px;
  }