/* Cookie Consent Styles */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(33, 33, 33, 0.95);
    color: #fff;
    z-index: 999;
    padding: 20px;
    display: none;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

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

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

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

.cookie-content a {
    color: #fff;
    text-decoration: underline;
}

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

.cookie-option {
    padding: 15px;
    margin-bottom: 10px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
}

.cookie-option label {
    display: inline-block;
    margin-left: 10px;
    font-weight: bold;
}

.option-description {
    margin-top: 5px;
    margin-left: 30px;
    font-size: 0.9rem;
    color: #bbb;
}

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

.cookie-buttons button {
    margin-right: 10px;
    margin-bottom: 10px;
}

/* Checkbox custom styling */
input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    background-color: #fff;
    margin: 0;
    font: inherit;
    color: currentColor;
    width: 18px;
    height: 18px;
    border: 1px solid #ddd;
    border-radius: 3px;
    display: inline-grid;
    place-content: center;
    cursor: pointer;
}

input[type="checkbox"]::before {
    content: "";
    width: 10px;
    height: 10px;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    box-shadow: inset 1em 1em var(--primary-color, #E74C3C);
    background-color: var(--primary-color, #E74C3C);
    transform-origin: center;
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

input[type="checkbox"]:checked::before {
    transform: scale(1);
}

input[type="checkbox"]:focus {
    outline: 2px solid rgba(231, 76, 60, 0.5);
    outline-offset: 2px;
}

input[type="checkbox"]:disabled {
    background-color: #e0e0e0;
    cursor: not-allowed;
}

input[type="checkbox"]:disabled::before {
    box-shadow: inset 1em 1em #b0b0b0;
    background-color: #b0b0b0;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-buttons button {
        width: 100%;
        margin-right: 0;
    }
}
