/* 
 * KubkiPlus - Style dla systemu zarządzania ciasteczkami
 * Autor: KubkiPlus Team
 * Wersja: 1.0
 */

/* === System zarządzania ciasteczkami === */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    padding: 20px;
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
}

.cookie-content {
    max-width: 800px;
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cookie-content h3 {
    margin-bottom: 15px;
    color: #1a73e8;
}

.cookie-content p {
    margin-bottom: 20px;
}

.cookie-options {
    margin-bottom: 25px;
}

.cookie-option {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 4px;
    background-color: #f8f9fa;
}

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

.cookie-option label {
    font-weight: 600;
    flex: 1;
    margin-bottom: 5px;
}

.cookie-option p {
    width: 100%;
    margin: 5px 0 0 25px;
    font-size: 0.9rem;
    color: #5f6368;
}

.cookie-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* === Widok układania ciastek (cookiebar) === */
.cookie-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    padding: 15px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9990;
    display: none;
    justify-content: space-between;
    align-items: center;
}

.cookie-bar-content {
    flex: 1;
}

.cookie-bar h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.cookie-bar p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: #5f6368;
}

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

.cookie-settings-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #1a73e8;
    color: #fff;
    display: none;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 9980;
}

.cookie-settings-button svg {
    width: 24px;
    height: 24px;
}

/* === Responsywność dla systemu ciasteczek === */
@media (max-width: 768px) {
    .cookie-content {
        width: 95%;
        padding: 20px;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-buttons button {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .cookie-bar {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-bar-buttons {
        margin-top: 15px;
        width: 100%;
    }
    
    .cookie-bar-buttons button {
        flex: 1;
    }
}

@media (max-width: 576px) {
    .cookie-option {
        padding: 10px;
    }
    
    .cookie-option p {
        margin-left: 0;
        margin-top: 10px;
    }
}
