﻿.xp-cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 999999;
    max-width: 760px;
    margin: 0 auto;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    background: #111827;
    color: #f9fafb;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.xp-cookie-banner[hidden] {
    display: none !important;
}

.xp-cookie-banner__title {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 800;
}

.xp-cookie-banner__text {
    margin: 0;
    color: #d1d5db;
    font-size: 0.95rem;
    line-height: 1.55;
}

.xp-cookie-banner__text a {
    color: #67e8f9;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.xp-cookie-banner__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.xp-cookie-button {
    min-height: 44px;
    padding: 11px 16px;
    border: 2px solid #ffffff;
    border-radius: 11px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.xp-cookie-button:hover {
    transform: translateY(-1px);
    opacity: 0.92;
}

.xp-cookie-button--accept {
    background: #ffffff;
    color: #111827;
}

.xp-cookie-button--reject {
    background: #111827;
    color: #ffffff;
}

.xp-cookie-manage {
    position: fixed;
    left: 14px;
    bottom: 14px;
    z-index: 999998;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: #111827;
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
}

.xp-cookie-manage[hidden] {
    display: none !important;
}

@media (max-width: 560px) {
    .xp-cookie-banner {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 18px;
    }

    .xp-cookie-banner__actions {
        grid-template-columns: 1fr;
    }
}
