/**
 * Cookie Banner Styles
 * @package 7iber24
 */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(20, 20, 20, 0.98);
    color: #fff;
    padding: 24px;
    z-index: 99999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    direction: rtl;
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
}

.cookie-banner.is-visible {
    transform: translateY(0);
}

.cookie-banner__close {
    position: absolute;
    top: 10px;
    left: 15px;
    background: none;
    border: none;
    color: #999;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
}

.cookie-banner__close:hover {
    color: #fff;
}

.cookie-banner__content {
    max-width: 1100px;
    margin: 0 auto;
}

.cookie-banner__text {
    margin-bottom: 20px;
}

.cookie-banner__text p {
    margin: 0 0 15px;
    font-size: 14px;
    line-height: 1.6;
    color: #e0e0e0;
}

.cookie-banner__options {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 15px 0;
}

.cookie-banner__option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    transition: background 0.2s;
    font-size: 13px;
}

.cookie-banner__option:hover {
    background: rgba(255, 255, 255, 0.12);
}

.cookie-banner__option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #1e398c;
}

.cookie-banner__buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

.cookie-banner__btn {
    padding: 12px 28px;
    border: none;
    border-radius: 0px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
}

.cookie-banner__btn--primary {
    background: #1e398c;
    color: #fff;
}

.cookie-banner__btn--primary:hover {
    background: #162d70;
}

.cookie-banner__btn--secondary {
    background: #757575;
    color: #fff;
}

.cookie-banner__btn--secondary:hover {
    background: #616161;
}

.cookie-banner__btn--outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-banner__btn--outline:hover {
    border-color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 20px 15px;
    }

    .cookie-banner__options {
        flex-direction: column;
    }

    .cookie-banner__buttons {
        flex-direction: column;
    }

    .cookie-banner__btn {
        width: 100%;
    }
}
