/* ===== COOKIE BOX ===== */
.cookiesbox {
    background-color: rgba(10, 20, 40, 0.9);
    border-top: 1px solid rgba(76, 175, 138, 0.3);
    padding: 28px 40px;
    bottom: 0;
    left: 0;
    position: fixed;
    z-index: 999999;
    width: 100%;
    box-sizing: border-box;
  /*  backdrop-filter: blur(8px); */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom:-80px;
}

.cookie_content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    max-width: 1200px;
    width: 100%;
}

.cookiesbox p {
    color: #c8d8e8;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    flex: 1 1 300px;
    text-align: left;
}

.cookiesbox a {
    color: #4caf8a;
    text-decoration: underline;
    white-space: nowrap;
    margin-left: 8px;
}

.cookiesbox a:hover {
    color: #7dd4b0;
}

/* ===== BUTTONS ===== */
.btn_accept_cookies {
    background-color: #3b6ef8;
    border: none;
    border-radius: 8px;
    min-width: 180px;
    height: 44px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.btn_accept_cookies:hover {
    background-color: #5a85fa;
}

.btndec {
    background-color: transparent;
    border: 1px solid rgba(200, 216, 232, 0.35);
    border-radius: 8px;
    min-width: 180px;
    height: 44px;
    color: #c8d8e8;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.btndec:hover {
    border-color: #4caf8a;
    color: #4caf8a;
}

.btn_accept_cookies p,
.btndec p {
    font-size: 14px;
    margin: 0;
    padding: 0;
    line-height: 1;
}

/* ===== BADGE ===== */
.cookiebadge {
    position: fixed;
    bottom: 16px;
    left: 16px;
    background-image: url(/wp-content/themes/avatarai/cookies_box/img/cookie.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-color: rgba(10, 20, 40, 0.95);
    border: 1px solid rgba(76, 175, 138, 0.4);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    z-index: 999999999;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
    transition: border-color 0.2s;
}

.cookiebadge:hover {
    border-color: #4caf8a;
}

/* ===== BADGE CONTENT ===== */
.badgecontent {
    position: fixed;
    bottom: 16px;
    left: -260px;
    background-color: rgba(10, 20, 40, 0.97);
    border: 1px solid rgba(76, 175, 138, 0.3);
    border-radius: 10px;
    width: 240px;
    z-index: 9999999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    padding: 14px 14px 10px 14px;
    box-sizing: border-box;
}

.badgecontentshow {
    transform: translateX(276px);
    transition-duration: 400ms;
}

.badgecontenthide {
    transform: translateX(-276px);
    transition-duration: 400ms;
}

.badgecontent p {
    color: #c8d8e8;
    font-size: 13px;
    line-height: 1.5;
    margin-top: 10px;
    cursor: pointer;
    float: none;
    text-align: center;
}

.badgecontent p:hover {
    color: #4caf8a;
}

.crossclose {
    position: absolute;
    right: 10px;
    top: 8px;
    font-size: 16px;
    color: #c8d8e8;
    cursor: pointer;
    line-height: 1;
}

.crossclose:hover {
    color: white;
}

/* ===== ANIMATIONS ===== */
.startanimation {
    transform: translateY(-80px);
    transition-duration: 400ms;
}

.endanimation {
    transform: translateY(80px);
    transition-duration: 400ms;
}

.hide_cb {
    display: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .cookiesbox {
        padding: 20px;
    }

    .cookiesbox p {
        text-align: center;
        flex: 1 1 100%;
    }

    .btn_accept_cookies,
    .btndec {
        width: 100%;
        max-width: 300px;
    }

    .cookiesbox a {
        display: block;
        margin: 8px auto 0;
        text-align: center;
    }
}