/* 
* Deutschland Entdecken - Cookie Consent Styles
* Styles for the cookie consent banner and settings
*/

.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(33, 37, 41, 0.95);
    color: #fff;
    padding: 1rem;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    display: none;
}

.cookie-consent-banner.active {
    display: block;
    animation: slideUp 0.5s forwards;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

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

.cookie-consent-banner h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.cookie-consent-banner p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.cookie-settings {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 0.25rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.cookie-option {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-option:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.cookie-option label {
    font-weight: bold;
    margin-left: 0.5rem;
    cursor: pointer;
}

.cookie-option p {
    margin: 0.5rem 0 0 1.8rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

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

/* Custom checkbox styles */
.cookie-option input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 3px;
    background: transparent;
    position: relative;
    cursor: pointer;
    vertical-align: middle;
}

.cookie-option input[type="checkbox"]:checked {
    background-color: #ffcc00;
    border-color: #ffcc00;
}

.cookie-option input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid #212529;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.cookie-option input[type="checkbox"]:disabled {
    background-color: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
    cursor: not-allowed;
}

/* Responsive styles */
@media (max-width: 768px) {
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-buttons button {
        width: 100%;
    }
}
