﻿.cookiebanner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background-color: #1a1d20;
    color: #f8f9fa;
    padding: 1.5rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    font-size: 1rem;
    line-height: 1.6;
}

.cookiebanner-container {
    max-width: 1200px;
    margin: 0 auto;
}

.cookiebanner-info {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

    .cookiebanner-info .icon img {
        width: 48px;
        height: 48px;
    }

.cookiebanner-text {
    flex: 1;
    min-width: 300px;
}

    .cookiebanner-text p {
        margin-bottom: 0.75rem;
        color: #f8f9fa;
    }

    .cookiebanner-text a {
        color: #8cc8ff;
        text-decoration: underline;
    }

    .cookiebanner-text a:hover,
    .cookiebanner-text a:focus {
        color: #b8dcff;
        text-decoration: underline;
    }

.cookiebanner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    justify-content: flex-end;
}

    .cookiebanner-actions button {
        flex: 0 0 auto;
        width: auto;
        margin: 0;
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }

    .cookiebanner-actions button:focus {
        outline: 2px solid #8cc8ff;
        outline-offset: 2px;
    }

.cookiebanner-details {
    margin-top: 1rem;
    padding-top: 1rem;
}

.cookie-category {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.75rem;
    border-radius: 0.375rem;
}

    .cookie-category label {
        color: #f8f9fa;
    }

    .cookie-category p {
        color: #e9ecef;
    }

.cookie-description {
    color: #e9ecef !important;
}

.cookiebanner .form-check-input:focus {
    outline: 2px solid #8cc8ff;
    outline-offset: 2px;
    box-shadow: none;
}

.cookiebanner.fade-out {
    animation: fadeOut 0.3s ease-out forwards;
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(100%);
    }
}

.btn-default-green {
    color: #ffffff;
    background-color: #00852c;
}

    .btn-default-green:hover {
        color: #ffffff;
        background-color: #28a745;
    }

    .btn-default-green:focus {
        outline: 2px solid #8cc8ff;
        outline-offset: 2px;
    }

@media (max-width: 768px) {
    .cookiebanner {
        padding: 1rem;
        font-size: 0.95rem;
    }

    .cookiebanner-actions {
        flex-direction: column;
        align-items: stretch;
    }

        .cookiebanner-actions button {
            width: 100%;
            min-width: unset;
        }
}
