/**
 * Copyright © 2026 Moogento. All rights reserved.
 * See LICENSE.txt for license details.
 */

.moo-ae-consent {
    position: fixed;
    bottom: 16px;
    z-index: 9999;
    max-width: 420px;
    width: calc(100% - 32px);
    box-sizing: border-box;
    padding: 16px 18px;
    background: #1f2933;
    color: #ffffff;
    border-radius: 6px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
    font-size: 14px;
    line-height: 1.45;
}

.moo-ae-consent[hidden] {
    display: none;
}

.moo-ae-consent--bottom_left {
    left: 16px;
}

.moo-ae-consent--bottom_right {
    right: 16px;
}

.moo-ae-consent--bottom_center {
    left: 50%;
    transform: translateX(-50%);
}

.moo-ae-consent__body {
    margin-bottom: 12px;
}

.moo-ae-consent__text {
    margin: 0 0 6px;
    color: #ffffff;
}

.moo-ae-consent__link {
    color: #8ecbff;
    text-decoration: underline;
    font-size: 13px;
}

.moo-ae-consent__actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.moo-ae-consent__btn {
    appearance: none;
    border: 0;
    border-radius: 4px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    line-height: 1.2;
}

.moo-ae-consent__btn--reject {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.45);
}

.moo-ae-consent__btn--accept {
    background: #1979c3;
    color: #ffffff;
}

.moo-ae-consent__btn--accept:hover,
.moo-ae-consent__btn--reject:hover {
    opacity: 0.9;
}

@media (max-width: 520px) {
    .moo-ae-consent {
        left: 16px;
        right: 16px;
        transform: none;
        max-width: none;
        width: auto;
    }
}
