/**
* 2007-2023 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-2023 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*/

.rb-cookies-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: calc(100% - 48px);
    max-width: 340px;
    z-index: 10000;
    padding: 32px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: rbSlideIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes rbSlideIn {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.rb-cookies-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.rb-cookies-icon {
    font-size: 24px;
    margin-right: 12px;
    animation: rbWave 2s infinite ease-in-out;
}

@keyframes rbWave {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-10deg);
    }

    75% {
        transform: rotate(10deg);
    }
}

.rb-cookies-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: inherit;
    letter-spacing: -0.5px;
    margin-top: 10px;
}

.rb-cookies-content {
    margin-bottom: 28px;
}

.rb-cookies-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: inherit;
    opacity: 0.95;
}

.rb-cookies-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 10px;
}

.rb-cookies-btn {
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    border: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rb-cookies-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.rb-btn-accept {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.rb-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.rb-btn-accept:active {
    transform: translateY(0);
}

.rb-btn-refuse {
    opacity: 0.9;
    filter: brightness(0.95);
}

.rb-btn-refuse:hover {
    opacity: 1;
    filter: brightness(1);
}

@media (max-width: 991px) {

    .footer-container .row>div,
    .footer-container .col-md-3 {
        width: 90%;
        max-width: 90%;
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    .rb-cookies-banner {
        left: 10px;
        bottom: 10px;
        width: calc(100% - 20px);
        max-width: none;
        padding: 16px;
        border-radius: 12px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        /* Restore subtle border if needed */
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.05);
        /* Restore original shadow */
    }

    .rb-cookies-header {
        margin-bottom: 10px;
    }

    .rb-cookies-icon {
        font-size: 20px;
        margin-right: 8px;
    }

    .rb-cookies-title {
        font-size: 15px;
        margin-top: 0;
    }

    .rb-cookies-content {
        margin-bottom: 15px;
    }

    .rb-cookies-text {
        font-size: 12px;
        line-height: 1.4;
    }

    .rb-cookies-actions {
        gap: 8px;
        margin-bottom: 0;
    }

    .rb-cookies-btn {
        padding: 10px 12px;
        font-size: 13px;
        border-radius: 8px;
        width: auto;
        /* Revert width 100% */
    }
}