/* ADVISIOR Custom Klaro Styling */

/* Primärfarbe auf ADVISIOR Grün */
.klaro .cookie-notice,
.klaro .cookie-modal {
    --primary-color: #008000;
    --primary-color-dark: #006400;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Button Styling */
.klaro .cm-btn {
    border-radius: 0.75rem;
    font-weight: 600;
    padding: 0.625rem 1rem;
    transition: all 0.2s ease;
    font-size: 0.875rem;
}

.klaro .cm-btn.cm-btn-success {
    background-color: #008000 !important;
}

.klaro .cm-btn.cm-btn-success:hover {
    background-color: #006400 !important;
}

/* Toggle Switch */
.klaro .cm-list-input:checked + .cm-list-label .slider {
    background-color: #008000 !important;
}

/* Links */
.klaro a {
    color: #008000 !important;
}

.klaro a:hover {
    color: #006400 !important;
}

/* Modal Styling */
.klaro .cookie-modal .cm-modal {
    border-radius: 1rem;
    max-width: 640px;
}

/* Notice Styling (Banner unten rechts) */
.klaro .cookie-notice {
    border-radius: 1rem;
    margin: 1rem;
    max-width: 380px !important;
    width: auto !important;
    right: 0 !important;
    left: auto !important;
    bottom: 0;
}

@media (max-width: 480px) {
    .klaro .cookie-notice {
        max-width: calc(100vw - 1.5rem) !important;
        margin: 0.75rem;
        right: 0 !important;
        left: 0 !important;
    }
}

/* Buttons nebeneinander auf Mobile */
.klaro .cookie-notice .cm-btn-group {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.klaro .cookie-notice .cm-btn {
    flex: 1;
    min-width: 120px;
    text-align: center;
    white-space: nowrap;
}

/* Schatten */
.klaro .cookie-notice,
.klaro .cookie-modal .cm-modal {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* PoweredBy verstecken */
.klaro .cm-powered-by {
    display: none !important;
}
