/* Last Updated: 08.07.2025 at 10:50 (CEST) */
/* =======================================================
   Cookie Consent Banner
   ======================================================= */
.cookie-container {
    /* Sticky bar anchored to the bottom of the viewport */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    transform: translateY(100%);

    /* Basic look and feel (colors are defined via mode classes) */
    padding: 1rem 2rem;
    box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.25);
    font-family: "Rubik", sans-serif;
    font-size: 0.95rem;

    /* Ensure banner stays above page content */
    z-index: 9999;

    /* Slide animation when toggling visibility */
    transition: transform 0.4s ease;

    /* Center text and button contents */
    text-align: center;
}

.cookie-container a {
    /* Style for links inside the banner */
    text-decoration: underline;
}

.cookie-container.active {
    /* Visible state once the class is applied */
    transform: translateY(0);
}

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

.cookie-actions .btn {
    padding: 0.6rem 2rem;
}

/* === Color Mode Classes === */
.cookie-container.cookie-dark,
.cookie-container.cookie-light {
    background: #1f1f1f;
    color: #f5f6fa;
}

.cookie-container.cookie-dark a,
.cookie-container.cookie-light a {
    color: var(--color-accent);
}

.cookie-container.cookie-dark p,
.cookie-container.cookie-light p {
    color: #f5f6fa;
}
