/* src/components/CookieConsent.css */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    z-index: 1000;
}

.cookie-consent p {
    margin: 0 0 15px;
    font-size: 1rem;
    line-height: 1.6;
}

.cookie-button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    width: 100%;
    max-width: 200px;
    margin: 5px 0;
}

.accept-button {
    background-color: #4CAF50;
    color: white;
}

.manage-button {
    background-color: #f0f0f0;
    color: #333;
}

.cookie-button:hover {
    opacity: 0.9;
}

.cookie-preferences {
    margin-top: 15px;
    background-color: #f9f9f9;
    padding: 10px;
    border-radius: 5px;
}

.cookie-preferences h4 {
    margin: 0 0 10px;
}

.cookie-preferences label {
    display: block;
    margin: 5px 0;
}

.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: #f5f5f0;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    text-align: left;
}

.cookie-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.cookie-btn {
    background-color: #2E856E; /* Grøn baggrund */
    color: white;
    border: none;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    width: 100%;
    transition: background-color 0.3s ease;
}

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

.cookie-preferences {
    transition: max-height 5s ease, opacity 0.3s ease;
}

#minimize-maximize {
    position: absolute;
    right: 5%;
    font-size: small;
    padding: 0px 5px;
}

#minimize-maximize:focus {
    outline: 0;
}