
.cookie-banner {
    position: fixed;
    bottom: 1.25rem;
    left: 1.25rem;
    right: 1.25rem;
    background: #ffffff;
    border-radius: 0.75rem;
    padding: 1rem;
    box-shadow: 0 0.25rem 1.5rem rgba(0, 0, 0, 0.15);
    z-index: 9999;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-family: inherit;
    border: 0.0625rem solid rgba(0, 0, 0, 0.08);
    max-width: 75rem;
    margin: 0 auto;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(1.25rem); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.cookie-banner.hidden {
    display: none;
    opacity: 0;
    pointer-events: none;
}

.cookie-banner__text {
    flex: 1 1 18.75rem;
    font-size: 0.875rem;
    color: #4b5563;
    line-height: 1.4;
    margin: 0;
}

.cookie-banner__text a {
    color: var(--primary-color, #6366f1);
    text-decoration: none;
    font-weight: 500;
}

.cookie-banner__text a:hover {
    text-decoration: underline;
}

.cookie-banner__buttons {
    display: flex;
    gap: 0.625rem;
}

.cookie-banner__btn {
    padding: 0.5rem 1.25rem;
    border-radius: 0.5rem;
    font-size: 0.813rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-family: inherit;
    white-space: nowrap;
}

.cookie-banner__btn--accept {
    background: var(--primary-color, #6366f1);
    color: white;
}

.cookie-banner__btn--accept:hover {
    opacity: 0.9;
    box-shadow: 0 0.125rem 0.5rem rgba(99, 102, 241, 0.3);
}

.cookie-banner__btn--decline {
    background: transparent;
    color: #6b7280;
    border: 0.0625rem solid #e5e7eb;
}

.cookie-banner__btn--decline:hover {
    background: #f9fafb;
    color: #374151;
    border-color: #d1d5db;
}


@media (max-width: 40rem) {
    .cookie-banner {
        bottom: 0;
        left: 0;
        right: 0;
        border-radius: 0.75rem 0.75rem 0 0;
        border-width: 0.0625rem 0 0 0;
        padding: 1rem;
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        margin-bottom: 0;
        box-shadow: 0 -0.25rem 0.625rem rgba(0,0,0,0.1);
    }

    .cookie-banner__text {
        font-size: 0.813rem;
        text-align: left;
        flex: initial;
    }

    .cookie-banner__buttons {
        width: 100%;
        display: flex;
        gap: 0.5rem;
    }

    .cookie-banner__btn {
        flex: 1;
        padding: 0.625rem 0;
        text-align: center;
        width: 100%;
    }
}
