

.consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #ddd;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 10000;
    font-family: Montserrat;
    text-align: center;
}

.consent-content p {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 14px;
    line-height: 1.4;
}

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

.btn-primary, .btn-secondary {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: background 0.3s;
    font-family: 'Montserrat';
}

.btn-primary {
    background: #481E9C; 
    color: white;
}

.btn-primary:hover {
    background: #3a1678;
}

.btn-secondary {
    background: #f0f0f0;
    color: #333;
    border: 1px solid #ddd;
}

.btn-secondary:hover {
    background: #e0e0e0;
}

.preferences-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
    z-index: 10001;
    max-width: 600px;
    max-height: 70vh;
    overflow-y: auto;
    font-family: Montserrat;
    display: none;
}

.panel-content h3 {
    margin: 0 0 15px 0;
    color: #481E9C;
    font-size: 20px;
}

.panel-content p {
    margin: 0 0 20px 0;
    color: #666;
    font-size: 14px;
}

.category {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 5px;
}

.category label {
    display: flex;
    align-items: center;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 5px;
}

.category input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.2);
}

.category .description {
    font-size: 12px;
    color: #888;
    margin: 5px 0 0 25px;
    line-height: 1.3;
}

#necessary {
    opacity: 0.5;
}

.panel-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

#consent-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
}

@media (max-width: 600px) {
    .consent-banner {
        padding: 15px;
    }
    
    .consent-buttons {
        flex-direction: column;
    }
    
    .preferences-panel {
        width: 90%;
        max-width: 90%;
        padding: 20px;
        margin: 10px;
        max-height: 80vh;
    }
    
    .category {
        padding: 10px;
    }
}


.cookie-settings-link {
    color: #481E9C;
    text-decoration: underline;
    cursor: pointer;
    font-size: 14px;
}

.cookie-settings-link:hover {
    color: #3a1678;
}
