/* Style dla systemu zarządzania cookies */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 1rem 0;
    z-index: 9999;
    display: none;
}

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

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

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-content p {
    flex: 1;
    min-width: 300px;
    margin-bottom: 0;
}

.cookie-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.cookie-customization-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.cookie-customization-panel.visible {
    visibility: visible;
    opacity: 1;
}

.cookie-panel-content {
    background-color: white;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.cookie-panel-content h3 {
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--dark-color);
}

.cookie-options {
    margin-bottom: 2rem;
}

.cookie-option {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-light);
    padding-bottom: 1.5rem;
}

.cookie-option:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.cookie-option label {
    display: flex;
    align-items: center;
    font-weight: 600;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.cookie-option label input {
    margin-right: 10px;
}

.cookie-option p {
    margin-left: 28px;
    font-size: 0.9rem;
    color: var(--text-color);
}

.cookie-panel-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Responsywność */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-panel-buttons {
        flex-direction: column;
    }
    
    .cookie-panel-buttons button {
        width: 100%;
    }
}
