/* 
   Przewodnik po Polsce - Arkusz stylów dla systemu zarządzania cookies
   Autor: Przewodnik po Polsce
   Wersja: 1.0
*/

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    color: #fff;
    z-index: 9999;
    display: none;
}

.cookie-banner.active {
    display: block;
    animation: slideUp 0.5s forwards;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.cookie-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.cookie-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.cookie-option {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 4px;
}

.cookie-option input[type="checkbox"] {
    margin-right: 10px;
}

.cookie-option label {
    font-weight: bold;
}

.cookie-description {
    margin-top: 5px;
    font-size: 0.9rem;
    color: #ccc;
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.cookie-info {
    font-size: 0.9rem;
    color: #ccc;
}

.cookie-info a {
    color: #fff;
    text-decoration: underline;
}

/* Responsywność */
@media (max-width: 768px) {
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-buttons button {
        width: 100%;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .cookie-content h3 {
        font-size: 1.2rem;
    }
    
    .cookie-options {
        grid-template-columns: 1fr;
    }
}
