/* Cookie Banner Styles */

/* Hide cookie banner by default, show with CSS checkbox hack */
#cookie-consent-toggle {
    display: none;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #0F172A;
    color: white;
    padding: 1.5rem 0;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(0);
    transition: transform 0.3s ease;
}
/* Hide banner when consent is given */
#cookie-consent-toggle:checked ~ .cookie-banner {
    transform: translateY(100%);
    pointer-events: none;
}

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

.cookie-text {
    margin-bottom: 1rem;
}

.cookie-text p {
    color: #CBD5E1;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

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

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

.cookie-btn {
    display: inline-block;
    text-decoration: none;
}

.cookie-btn.accept {
    background-color: #F97316;
    color: white;
}

.cookie-btn.accept:hover {
    background-color: #EA580C;
}

.cookie-btn.decline {
    background-color: transparent;
    color: #CBD5E1;
    border: 1px solid #CBD5E1;
}

.cookie-btn.decline:hover {
    background-color: #CBD5E1;
    color: #0F172A;
}

.cookie-btn.reject {
    background-color: transparent;
    color: #CBD5E1;
    border: 1px solid #CBD5E1;
}

.cookie-btn.reject:hover {
    background-color: #CBD5E1;
    color: #0F172A;
}

.cookie-btn.customize {
    background-color: transparent;
    color: #CBD5E1;
    border: 1px solid #CBD5E1;
}

.cookie-btn.customize:hover {
    background-color: #CBD5E1;
    color: #0F172A;
}

.cookie-link {
    color: #CBD5E1;
    text-decoration: underline;
    font-size: 0.9rem;
    margin-left: auto;
}

/* Responsive Design for Cookie Banner */
@media (max-width: 768px) {
    .cookie-buttons {
        justify-content: center;
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 1rem 0;
    }

    .cookie-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    .cookie-btn {
        padding: 10px 16px;
    }

    .cookie-link {
        text-align: center;
        margin-left: 0;
        margin-top: 0.5rem;
    }
}
