/**
* 2007-2022 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2022 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/
/* Style pour le chat-bubble */
.chat-bubble {
    position: fixed;
    bottom: 45px;
    right: 20px;
    background-color: #E7293A;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    text-align: center;
    line-height: 60px;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.5s ease-in-out;
}

.chat-bubble:hover {
    transform: rotate(360deg);
}


.chat-icon {
    font-size: 20px;
}


.chat-window {
    position: fixed;
    bottom: 45px;
    right: 20px;
    width: 350px;
    height: 500px;
    background-color: #f1f1f1;
    border-radius: 5px;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.2);
    display: none;
    z-index: 9999;
}


.chat-header {
    padding: 10px;
    background-color: #202A44;
    color: white;
    border-radius: 5px 5px 0 0;
    display: flex;
    justify-content: space-between;
}


.close-chat-btn {
    background-color: transparent;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}


.chat-body {
    height: 400px;
    overflow-y: scroll;
    padding: 10px;

}


.message {
    padding: 10px;
    margin: 5px;
    border-radius: 5px;
    display: inline-block;
}

.received {
    background-color: #ffffff;

}

.sent {
    background-color: #202A44;
    margin: 5px 0;
    float: right;

}

.sent p {
    color: white !important;
}

.sent p,
.received p {
    margin: 0 !important;
}


.chat-footer {
    display: flex;
    padding: 10px;
    background-color: #f1f1f1;
    border-radius: 0 0 5px 5px;
}


.chat-footer input {
    flex-grow: 1;
    margin-right: 10px;
    border: none;
    padding: 5px;
    border-radius: 3px;
}

.chat-footer button {
    border: none;
    padding: 5px 10px;
    background-color: #202A44;
    color: white;
    border-radius: 3px;
    cursor: pointer;
}

.close-chat-btn:focus,
.close-chat-btn:focus-visible,
.send-btn:focus,
.send-btn:focus-visible,
#input-chat:focus,
#input-chat:focus-visible {
    border: none !important;
    outline: none !important;
}

.chat-header h3 {
    margin: 0 !important;
}