/*------------------------
    Cookie Modal
-------------------------*/
@media only screen and (max-width: 768px) {
    .cookie-consent-modal {
        align-items: center !important;
    }

    .cookie-consent-modal .content {
        border-radius: 10px;
        padding: 10vw 10vw !important;
    }
}

.cookie-consent-modal {
    transition: all ease 1s;
    height: 100vh;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    display: none;
    align-items: flex-end;
}

.cookie-consent-modal a {
    color: blue;
}

.cookie-consent-modal .content {
    transition: all ease 1s;
    background-color: #fff;
    padding: 3vw 10vw;
    width: 100%;
    border-radius: 10px 10px 0 0;
}

.cookie-consent-modal.active {
    display: flex;
}

.cookie-btn {
    font-size: 15px;
    line-height: 40px;
    text-transform: unset;
    padding: 5px 30px 5px 30px;
    letter-spacing: normal;
}

/*------------------------
    Toasts CSS
-------------------------*/
.toast-buttons {
    max-width: 700px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin: 2em auto;
}

.toast-row {
    display: flex;
    justify-content: center;
    margin: 1em 0;
    padding: 1rem;
    flex-wrap: wrap;
}

.toasthnz {
    position: fixed;
    top: 65px;
    right: 25px;
    max-width: 400px;
    background: #fff;
    padding: 0.5rem;
    border-radius: 4px;
    box-shadow: -1px 1px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    animation: slideInRight 0.3s ease-in-out forwards;
    transform: translateX(110%);
}

.toasthnz.closing {
    animation: slideOutRight 0.5s ease-in-out forwards;
}

.toast-progress {
    position: absolute;
    display: block;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: #b7b7b7;
    animation: toastProgress 3s ease-in-out forwards;
}

.toast-content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.toast-icon {
    padding: 0.35rem 0.5rem;
    color: #fff;
    font-size: 1rem;
}

.toast-message {
    flex: 1;
    font-size: 1rem;
    color: #fff;
    padding: 0.5rem;
}

.toasthnz.toast-success {
    background: #95eab8;
}

.toasthnz.toast-success .toast-progress {
    background-color: #2ecc71;
}

.toasthnz.toast-danger {
    background: #efaca5;
}

.toasthnz.toast-danger .toast-progress {
    background-color: #e74c3c;
}

.toasthnz.toast-info {
    background: #fffb25fc;
}

.toasthnz.toast-info .toast-progress {
    background-color: #8500FD;
}

.toasthnz.toast-warning {
    background: #ead994;
}

.toasthnz.toast-warning .toast-progress {
    background-color: #f1c40f;
}

@keyframes slideInRight {
    0% {
        transform: translateX(110%);
    }

    75% {
        transform: translateX(-10%);
    }

    100% {
        transform: translateX(0%);
    }
}

@keyframes slideOutRight {
    0% {
        transform: translateX(0%);
    }

    25% {
        transform: translateX(-10%);
    }

    100% {
        transform: translateX(110%);
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes toastProgress {
    0% {
        width: 100%;
    }

    100% {
        width: 0%;
    }
}

/* floatbutton */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #4CAF50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    animation: pulse 2s infinite;
    box-shadow: 0 0 0 0 #4CAF50;
    -webkit-animation: pulsing 2s infinite cubic-bezier(0.66, 0, 0, 1);
    -moz-animation: pulsing 2s infinite cubic-bezier(0.66, 0, 0, 1);
    -ms-animation: pulsing 2s infinite cubic-bezier(0.66, 0, 0, 1);
    animation: pulsing 2s infinite cubic-bezier(0.66, 0, 0, 1);
    z-index: 99999;
}

.whatsapp-button i {
    font-size: 30px;
    color: white;
}

.whatsapp-chat {
    background-color: #e5ded6;
    border-radius: 10px;
    display: none;
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 300px;
    background-image: url('/static/website/assets/images/background/whats-background.jpg');
    background-size: cover;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    z-index: 99999;
}

.whatsapp-chat .fa {
    font-size: 15px;
}

@keyframes pulsing {
    to {
        box-shadow: 0 0 0 30px rgba(232, 76, 61, 0);
    }
}

.chat-header {
    border-radius: 10px 10px 0px 0px;
    background-color: #4CAF50;
    color: white;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
}

.chat-body {
    padding: 20px;
}

.close-chat {
    cursor: pointer
}

.user-message {
    background-color: white;
    color: black;
    position: relative;
    padding: 5px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.user-message p {
    font-size: 14px;
    padding: 7px;
    margin: 0;
}

.user-name {
    padding: 5px 0px 0px 5px;
    font-size: 13px;
    font-weight: 700;
    line-height: 18px;
    color: rgba(0, 0, 0, 0.4);
}

.arrow {
    position: absolute;
    top: -10px;
    left: 10px;
    border: solid;
    border-width: 0 10px 10px 0;
    border-color: transparent white transparent transparent;
}

.send-message {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
}

.chat-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

.message-input {
    width: 100%;
    flex-grow: 1;
    padding: 5px;
    border: none;
    font-size: 14px;
    border-radius: 5px;
    margin-right: 10px;
    background-color: white;
}

.typing-text {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.dot {
    display: inline-block;
    width: 5px;
    height: 5px;
    background-color: #3b3939;
    border-radius: 50%;
    margin: 0 3px;
    opacity: 0;
    animation: typing 0.6s infinite alternate;
}


@keyframes typing {
    from {
        opacity: 0.3;
    }

    to {
        opacity: 1;
    }
}

.alert-fixed {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
}