/* Cookie Consent Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    border-top: 3px solid var(--dark-color);
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.4s ease-in-out;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-banner.active {
    transform: translateY(0);
}

.cookie-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 1.5rem 2rem;
}

.cookie-banner h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
}

.cookie-banner h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
}

.cookie-banner p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: #666;
}

.cookie-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.cookie-option {
    background-color: var(--light-color);
    border: 2px solid var(--dark-color);
    padding: 1.25rem;
    border-radius: var(--border-radius);
    position: relative;
    box-shadow: 4px 4px 0 0 rgba(44, 62, 80, 0.1);
}

.cookie-option input[type="checkbox"] {
    margin-right: 0.75rem;
    transform: scale(1.2);
    accent-color: var(--primary-color);
}

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

.cookie-option p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.cookie-actions button {
    padding: 12px 20px;
    font-weight: 600;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    border: 2px solid var(--dark-color);
    box-shadow: 4px 4px 0 0 var(--dark-color);
}

.cookie-actions .btn-primary {
    background-color: var(--primary-color);
    color: var(--dark-color);
}

.cookie-actions .btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.cookie-actions .btn-tertiary {
    background-color: white;
    color: var(--dark-color);
}

.cookie-actions button:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 0 var(--dark-color);
}

@media (max-width: 768px) {
    .cookie-actions {
        flex-direction: column;
    }
    
    .cookie-content {
        padding: 1rem;
    }
    
    .cookie-option {
        padding: 1rem;
    }
}

/* Cookie settings button that appears after consent is given */
.cookie-settings-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--dark-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 99;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
}

.cookie-settings-btn.visible {
    opacity: 1;
    visibility: visible;
}

.cookie-settings-btn:hover {
    background-color: var(--primary-color);
    color: var(--dark-color);
    transform: scale(1.1);
}

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

/* Cookie banner with new retro style */
.cookie-banner {
    border-top: 5px solid var(--primary-color);
    position: relative;
}

.cookie-banner::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--dark-color);
}

.cookie-option::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    width: 10px;
    height: 10px;
    background-color: var(--primary-color);
    z-index: 1;
}

.cookie-option::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 10px;
    height: 10px;
    background-color: var(--primary-color);
    z-index: 1;
}
