/* 
 * CarService - Style dla systemu zarządzania zgodami cookies
 */

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    padding: 1.5rem;
    display: none;
}

.cookie-consent.active {
    display: block;
}

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

.cookie-content h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.cookie-content p {
    margin-bottom: 1.5rem;
    max-width: 800px;
}

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

.cookie-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.cookie-btn.primary {
    background-color: #1a5dad;
    color: white;
}

.cookie-btn.primary:hover {
    background-color: #124a91;
}

.cookie-btn.secondary {
    background-color: #f0f4f8;
    color: #1a2a3a;
}

.cookie-btn.secondary:hover {
    background-color: #dfe5eb;
}

.cookie-settings-panel {
    max-width: 1200px;
    margin: 1.5rem auto 0;
    background-color: #f9fafb;
    border-radius: 5px;
    padding: 1.5rem;
}

.cookie-settings-panel h4 {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.cookie-option {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eaeef2;
}

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

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

.cookie-option label {
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.cookie-option p {
    margin-left: 25px;
    font-size: 0.9rem;
    color: #7a8a9a;
    margin-bottom: 0.5rem;
}

.cookie-settings-buttons {
    margin-top: 1.5rem;
    text-align: right;
}

@media (max-width: 768px) {
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
        text-align: center;
    }
    
    .cookie-settings-panel {
        padding: 1rem;
    }
}
