@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");
@import url("https://unpkg.com/boxicons@2.1.2/css/boxicons.min.css");

.cookie-wrapper {
    position: fixed;
    bottom: 50px;
    right: -370px;
    max-width: 345px;
    width: 100%;
    background: #fff;
    border-radius: 8px;
    padding: 15px 25px 22px;
    transition: right 0.3s ease;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    z-index: 1050;
    font-family: "Poppins", sans-serif;
}

.cookie-wrapper.show {
    right: 20px;
}

.cookie-wrapper header {
    display: flex;
    align-items: center;
    column-gap: 15px;
}

header i {
    color: var(--primary05);
    font-size: 32px;
}       

header h2 {
    color: var(--primary05);
    font-weight: 500;
    font-size: 1.25rem;
    margin: 0;
}

.cookie-wrapper .data {
    margin-top: 16px;
}

.cookie-wrapper .data p {
    color: #333;
    font-size: 0.95rem;
    margin: 0;
}

.cookie-wrapper .data p a {
    color: var(--primary05);
    text-decoration: none;
    font-weight: 500;
}

.cookie-wrapper .data p a:hover {
    text-decoration: underline;
}

.cookie-wrapper .buttons {
    margin-top: 16px;
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
}

.buttons .button {
    border: none;
    color: #fff;
    padding: 8px 0;
    border-radius: 4px;
    background: var(--primary05);
    cursor: pointer;
    width: 50%;
    font-weight: 500;
    font-size: 0.95rem;
}

#acceptBtn:hover {
    background-color: var(--primary02);
}

#declineBtn {
    border: 2px solid #af81fa;
    background-color: #fff;
    color: #af81fa;
}

#declineBtn:hover {
    background-color: #af81fa;
    color: #fff;
}

.cookie-wrapper.hide {
    right: -400px;
    opacity: 0;
    transition: all 0.4s ease;
}

.cookie-wrapper.show {
    right: 20px;
    opacity: 1;
    transition: all 0.4s ease;
}