/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
    padding: 15px 0;
    z-index: 1000;
    border-top: 1px solid var(--primary-light);
}

.cookie-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cookie-text {
    font-size: 14px;
    color: var(--text-color);
}

.cookie-text a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.cookie-text a:hover, .cookie-text a:focus {
    color: var(--primary-dark);
    outline: none;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.cookie-btn {
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    touch-action: manipulation;
}

.cookie-btn.accept {
    background: var(--primary-color);
    color: #000000;
    border: none;
}

.cookie-btn.accept:hover, .cookie-btn.accept:focus {
    background: var(--primary-dark);
    transform: scale(1.05);
    box-shadow: var(--shadow);
    outline: none;
}

.cookie-btn.decline {
    background: transparent;
    color: var(--text-color);
    border: 1px solid var(--primary-light);
}

.cookie-btn.decline:hover, .cookie-btn.decline:focus {
    background: var(--primary-light);
    color: var(--primary-dark);
    outline: none;
}

.cookie-banner.hidden {
    display: none;
}

/* Og i din desktop media query: */
body:has(.cookie-banner:not(.hidden)) .chat-button-desktop {
    bottom: 120px;
}
body:has(.cookie-banner:not(.hidden)) .chat-widget {
    bottom: 150px;
}

/* Desktop styling - fra 768px og op */
@media (min-width: 768px) {
    .cookie-banner {
        background: #2c2c2c; /* Sort baggrund på desktop */
        padding: 12px 0; /* Mindre padding for lavere højde */
    }
    
    .cookie-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
        gap: 20px;
    }
    
    .cookie-text {
        color: #ffffff; /* Hvid tekst på desktop */
        flex: 1;
        margin-right: 20px;
    }
    
    .cookie-text a {
        color: var(--primary-color); /* Bevar link farve */
    }
    
    .cookie-btn.decline {
        background: transparent;
        color: #ffffff; /* Hvid tekst på decline knap */
        border: 1px solid #ffffff; /* Hvid border */
    }
    
    .cookie-btn.decline:hover, .cookie-btn.decline:focus {
        background: #ffffff; /* Hvid baggrund ved hover */
        color: #000000; /* Sort tekst ved hover */
    }
    
    .cookie-buttons {
        flex-shrink: 0;
        justify-content: flex-end;
    }
}

/* Tablette og Mobil (768px og ned) */
@media (max-width: 768px) {
    .chat-button-desktop {
        display: none;
    }
    .chat-button-mobile {
        display: flex;
        width: 20px;
        height: 125px;
        bottom: 90px;
        transition: bottom 0.3s ease; /* Tilføj smooth transition */
    }
    
    /* Tilføj transition til chat widget også */
    .chat-widget {
        transition: bottom 0.3s ease;
    }
    
    /* Cookie banner adjustment for mobile */
    body:has(.cookie-banner:not(.hidden)) .chat-button-mobile {
        bottom: 160px; /* Juster højden efter behov */
    }
    body:has(.cookie-banner:not(.hidden)) .chat-widget {
        bottom: 180px; /* Juster højden efter behov */
    }
    
    /* ... resten af din mobile CSS ... */
}