/* 
 * Arkusz stylów dla systemu zarządzania cookies
 * Przewodnik po Polsce
 * utonchyonnaya-kilika.com
 */

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 1.5rem;
    z-index: 9999;
    display: none;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
}

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

.cookie-content h3 {
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.cookie-content p {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
}

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

.btn-cookie {
    padding: 0.6rem 1.2rem;
    border-radius: 0.25rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    background-color: var(--primary-color);
    color: white;
}

.btn-cookie:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-cookie-outline {
    padding: 0.6rem 1.2rem;
    border-radius: 0.25rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    background-color: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-cookie-outline:hover {
    border-color: white;
    transform: translateY(-2px);
}

.cookie-settings-panel {
    display: none;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
}

.cookie-settings-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.cookie-option {
    display: flex;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 0.25rem;
}

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

.cookie-option input[type="checkbox"] {
    margin-right: 0.5rem;
    cursor: pointer;
    width: 16px;
    height: 16px;
}

.cookie-option p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.cookie-settings-buttons {
    display: flex;
    justify-content: flex-end;
}

/* Responsywność */
@media (max-width: 768px) {
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-buttons button {
        width: 100%;
    }
    
    .cookie-settings-options {
        grid-template-columns: 1fr;
    }
    
    .cookie-settings-buttons {
        justify-content: center;
    }
}
