/* AbildskovUndervisning - abildskovundervisning.dk */
/* Cookie banner (bottom left) */

.cookie-banner {
    position: fixed;
    left: 12px;
    bottom: calc(12px + var(--touch-pad-h, 0px));
    z-index: 60;
    width: min(340px, calc(100vw - 24px));
    box-sizing: border-box;
    padding: 14px 16px;
    background: #000000;
    border: 2px solid #770000;
    border-radius: 10px;
    box-shadow: 0 0 14px rgba(255, 0, 0, 0.35);
    color: #cccccc;
    font-size: 0.85rem;
    line-height: 1.4;
}

.cookie-banner[hidden],
.cookie-reopen[hidden] {
    display: none;
}

.cookie-banner-title {
    display: block;
    margin-bottom: 4px;
    color: #ff0000;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.cookie-banner-text {
    margin: 0 0 12px;
}

.cookie-banner-actions {
    display: flex;
    gap: 8px;
}

.cookie-banner-button {
    flex: 1;
    min-height: 44px;
    padding: 0 10px;
    background: #000000;
    color: #ff0000;
    border: 2px solid #770000;
    border-radius: 8px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.cookie-banner-button:hover,
.cookie-banner-button:focus-visible {
    background: #500000;
    border-color: #ff0000;
    outline: none;
}

.cookie-banner-accept {
    background: #500000;
    border-color: #ff0000;
}

.cookie-reopen {
    position: fixed;
    left: 12px;
    bottom: calc(6px + var(--touch-pad-h, 0px));
    z-index: 39;
    padding: 2px 8px;
    background: transparent;
    color: #770000;
    border: 0;
    font: inherit;
    font-size: 0.7rem;
    text-decoration: underline;
    cursor: pointer;
}

.cookie-reopen:hover,
.cookie-reopen:focus-visible {
    color: #ff0000;
    outline: none;
}
