/* ----------------------------------------------
 * Oklo-Plum - Style CSS dla system zarządzania cookies
 * www.oklo-plum.com
 * ---------------------------------------------- */

.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 480px;
    background-color: var(--white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border-radius: var(--border-radius-md);
    z-index: 1100;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.cookie-consent.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.cookie-content {
    padding: 20px;
}

.cookie-content h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: var(--secondary-color);
}

.cookie-content p {
    font-size: 0.9rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

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

.cookie-buttons button {
    font-size: 0.9rem;
    padding: 8px 12px;
}

/* Ustawienia cookies */
.cookie-settings {
    display: none;
    padding: 20px;
    border-top: 1px solid var(--light-accent);
}

.cookie-settings.show {
    display: block;
}

.cookie-setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--light-accent);
}

.cookie-setting-item:last-of-type {
    border-bottom: none;
}

.cookie-setting-item h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.cookie-setting-item p {
    font-size: 0.8rem;
    margin-bottom: 0;
    color: var(--light-text);
}

.cookie-setting-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary-color);
}

#saveCookieSettings {
    display: block;
    width: 100%;
    margin-top: 20px;
}

/* Media Queries dla responsywności */
@media (max-width: 768px) {
    .cookie-consent {
        left: 10px;
        right: 10px;
        bottom: 10px;
        max-width: none;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-buttons button {
        width: 100%;
    }
}

/* Animacja pojawienia się */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cookie-consent.animate {
    animation: slideUp 0.5s ease forwards;
}
