/* 
* Cookie Consent Styles for Sprytne Porady Website
* Author: Sprytne Porady Team
* Version: 1.0
*/

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 20px 0;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}

.cookie-consent.hidden {
    display: none;
}

.cookie-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: #333;
    border-radius: 6px;
    overflow: hidden;
}

.cookie-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #1a695b;
}

.cookie-header h3 {
    margin: 0;
    color: #fff;
}

.cookie-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.cookie-close:hover {
    opacity: 0.8;
}

.cookie-body {
    padding: 20px;
}

.cookie-body p {
    margin-bottom: 20px;
    line-height: 1.5;
}

.cookie-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

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

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

.cookie-option label {
    font-weight: bold;
    margin-bottom: 5px;
    flex: 1 0 calc(100% - 30px);
}

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

.cookie-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 15px 20px;
    background-color: rgba(0, 0, 0, 0.3);
}

.cookie-footer button {
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 14px;
    transition: all 0.3s;
}

#accept-necessary, #accept-selected {
    background-color: transparent;
    color: #fff;
    border: 1px solid #fff;
}

#accept-necessary:hover, #accept-selected:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

#accept-all {
    background-color: #1a695b;
    color: #fff;
}

#accept-all:hover {
    background-color: #125048;
}

/* Media Queries */

@media (max-width: 768px) {
    .cookie-content {
        margin: 0 20px;
    }
    
    .cookie-footer {
        flex-wrap: wrap;
    }
    
    .cookie-footer button {
        flex: 1 0 calc(50% - 5px);
    }
    
    #accept-all {
        flex: 0 0 100%;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .cookie-option {
        padding: 10px;
    }
    
    .cookie-footer button {
        flex: 0 0 100%;
        margin-top: 10px;
    }
    
    .cookie-header {
        padding: 12px 15px;
    }
    
    .cookie-body {
        padding: 15px;
    }
}
