/* DSGVO-compliant Cookie Consent Banner Styles */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    border-top: 1px solid #e0e0e0;
    padding: 1rem;
    font-family: 'Inter', sans-serif;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-banner-hidden {
    transform: translateY(100%);
    opacity: 0;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-text h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #013142; /* blue-900 */
    margin-bottom: 0.5rem;
}

.cookie-text p {
    color: #4b5563; /* gray-600 */
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-buttons-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .cookie-buttons-container {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .cookie-settings-wrapper {
        flex: 2;
    }
    
    .cookie-actions {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-end;
    }
}

.cookie-setting {
    margin-bottom: 1rem;
    padding: 0.75rem;
    background-color: #f9fafb; /* gray-50 */
    border-radius: 0.375rem;
    border: 1px solid #e5e7eb; /* gray-200 */
}

.cookie-setting label {
    font-weight: 500;
    color: #1f2937; /* gray-800 */
    display: block;
    margin-bottom: 0.25rem;
    padding-left: 1.6rem;
    position: relative;
}

.cookie-setting input[type="checkbox"] {
    position: absolute;
    margin-left: -1.6rem;
    margin-top: 0.25rem;
}

.cookie-setting small {
    display: block;
    color: #6b7280; /* gray-500 */
    font-size: 0.8rem;
    padding-left: 1.6rem;
}

.cookie-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cookie-button {
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 500;
    cursor: pointer;
    min-width: 200px;
    text-align: center;
    transition: all 0.2s ease-in-out;
}

.cookie-button-primary {
    background-color: #013142; /* blue-900 */
    color: white;
    border: none;
}

.cookie-button-primary:hover {
    background-color: #1e40af; /* blue-800 */
}

.cookie-button-secondary {
    background-color: white;
    color: #1e3a8a; /* blue-900 */
    border: 1px solid #013142; /* blue-900 */
}

.cookie-button-secondary:hover {
    background-color: #f9fafb; /* gray-50 */
}

.cookie-button-text {
    background-color: transparent;
    color: #6b7280; /* gray-500 */
    border: none;
    text-decoration: underline;
}

.cookie-button-text:hover {
    color: #4b5563; /* gray-600 */
}

.cookie-footer {
    margin-top: 1rem;
    border-top: 1px solid #e5e7eb; /* gray-200 */
    padding-top: 1rem;
    font-size: 0.8rem;
    color: #6b7280; /* gray-500 */
}

.cookie-footer a {
    color: #013142; /* blue-900 */
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .cookie-button {
        width: 100%;
    }
}
