.st-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 2px solid #333;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 999999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
}

.st-consent-banner-content {
    max-width: 1200px;
    margin: 0 auto;
}

.st-consent-banner-content h3 {
    margin: 0 0 12px 0;
    font-size: 18px;
    font-weight: 600;
    color: #1d2327;
}

.st-consent-banner-content > p {
    margin: 0 0 20px 0;
    font-size: 14px;
    line-height: 1.6;
    color: #50575e;
}

.st-consent-categories {
    margin: 20px 0;
    padding: 20px;
    background: #f6f7f7;
    border-radius: 8px;
}

.st-consent-category {
    margin: 15px 0;
    padding: 15px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.st-consent-category label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    margin-bottom: 8px;
}

.st-category-header {
    cursor: pointer;
    user-select: none;
}

.st-category-toggle {
    display: inline-block;
    margin-right: 8px;
    margin-left: 4px;
    transition: transform 0.2s;
    font-size: 12px;
    color: #646970;
}

.st-category-header.active .st-category-toggle {
    transform: rotate(180deg);
}

.st-consent-category input[type="checkbox"] {
    margin-right: 12px;
    margin-top: 2px;
    cursor: pointer;
}

.st-consent-category strong {
    font-size: 15px;
    color: #1d2327;
    display: block;
    margin-bottom: 4px;
}

.st-consent-category p {
    margin: 0;
    font-size: 13px;
    color: #646970;
    line-height: 1.5;
}

.st-consent-category a {
    color: #2271b1;
    text-decoration: none;
    font-size: 14px;
    margin-top: 10px;
    display: inline-block;
}

.st-consent-category a:hover {
    text-decoration: underline;
}

/* Services innerhalb von Kategorien */
.st-consent-services {
    margin-top: 12px;
    padding-left: 20px;
    border-left: 2px solid #ddd;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.st-consent-services[style*="display: block"] {
    max-height: 2000px;
    padding-top: 12px;
    padding-bottom: 12px;
}

.st-consent-service {
    margin: 12px 0;
    padding: 12px;
    background: #f9f9f9;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
}

.st-consent-service label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    margin-bottom: 8px;
}

.st-consent-service input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 2px;
    cursor: pointer;
}

.st-consent-service strong {
    font-size: 14px;
    color: #1d2327;
    display: block;
    margin-bottom: 6px;
}

.st-consent-service p {
    margin: 4px 0;
    font-size: 12px;
    color: #646970;
    line-height: 1.4;
}

.st-service-provider {
    font-weight: 500;
    color: #50575e !important;
}

.st-service-purpose {
    color: #646970 !important;
}

.st-service-duration {
    color: #646970 !important;
}

.st-service-warning {
    color: #d63638 !important;
    font-weight: 500;
    margin-top: 6px !important;
}

.st-service-description {
    margin-top: 8px !important;
    font-style: italic;
    color: #646970 !important;
}

.st-consent-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.st-btn-primary,
.st-btn-secondary,
.st-btn-link {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.st-btn-primary {
    background: #2271b1;
    color: white;
    border: 1px solid #2271b1;
}

.st-btn-primary:hover {
    background: #135e96;
    border-color: #135e96;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(34, 113, 177, 0.3);
}

.st-btn-secondary {
    background: #f0f0f0;
    color: #1d2327;
    border: 1px solid #dcdcde;
}

.st-btn-secondary:hover {
    background: #e0e0e0;
    border-color: #c3c4c7;
}

.st-btn-link {
    background: transparent;
    color: #2271b1;
    text-decoration: underline;
    padding: 10px 12px;
}

.st-btn-link:hover {
    color: #135e96;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .st-consent-banner {
        padding: 16px;
    }
    
    .st-consent-banner-content h3 {
        font-size: 16px;
    }
    
    .st-consent-banner-content > p {
        font-size: 13px;
    }
    
    .st-consent-categories {
        padding: 15px;
    }
    
    .st-consent-category {
        padding: 12px;
    }
    
    .st-consent-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .st-btn-primary,
    .st-btn-secondary,
    .st-btn-link {
        width: 100%;
        text-align: center;
    }
}

/* Accessibility */
.st-consent-banner:focus-within {
    outline: 2px solid #2271b1;
    outline-offset: 2px;
}

.st-consent-category input[type="checkbox"]:focus {
    outline: 2px solid #2271b1;
    outline-offset: 2px;
}

.st-btn-primary:focus,
.st-btn-secondary:focus,
.st-btn-link:focus {
    outline: 2px solid #2271b1;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .st-consent-banner {
        display: none !important;
    }
}

