/* E-Recht24 Integration Styles */
.legal-update-info {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 10px;
    padding: 12px 16px;
    margin: 20px 0;
    text-align: center;
    color: #00ff88;
    font-size: 0.9rem;
}

.update-icon {
    font-size: 1.1rem;
    margin-right: 8px;
}

.cache-indicator {
    background: rgba(255, 165, 0, 0.2);
    color: #ffa500;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    margin-left: 10px;
}

.legal-warning {
    background: rgba(255, 165, 0, 0.1);
    border: 1px solid rgba(255, 165, 0, 0.3);
    border-radius: 10px;
    padding: 12px 16px;
    margin: 20px 0;
    text-align: center;
    color: #ffa500;
    font-size: 0.9rem;
}

.warning-icon {
    font-size: 1.1rem;
    margin-right: 8px;
}

.legal-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 10px;
    padding: 16px;
    margin: 20px 0;
    color: #ef4444;
}

.error-icon {
    font-size: 1.2rem;
    margin-right: 8px;
}

.legal-error strong {
    color: #ef4444;
    font-weight: 600;
}

.legal-error p {
    margin: 8px 0 0 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.erecht24-content {
    /* E-Recht24 Content wird mit bestehenden .legal-section Styles formatiert */
    min-height: 100px;
}

.erecht24-content .legal-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.erecht24-content .legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.erecht24-content .legal-section h2 {
    color: #00ff88;
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.erecht24-content .info-block {
    background: rgba(0, 0, 0, 0.2);
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid #00ff88;
}

.erecht24-content .info-block p {
    color: #e0e0e0;
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.erecht24-content .info-block p:last-child {
    margin-bottom: 0;
}

.erecht24-content .info-block h3 {
    color: #fff;
    font-size: 1.3rem;
    margin: 20px 0 15px 0;
    font-weight: 600;
}

.erecht24-content .info-block h3:first-child {
    margin-top: 0;
}

.erecht24-content .info-block ul,
.erecht24-content .info-block ol {
    color: #e0e0e0;
    line-height: 1.8;
    margin: 15px 0;
    padding-left: 25px;
}

.erecht24-content .info-block li {
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.erecht24-content .info-block strong {
    color: #fff;
    font-weight: 600;
}

.erecht24-content .info-block a {
    color: #00ff88;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.erecht24-content .info-block a:hover {
    color: #00ffaa;
    border-bottom-color: #00ff88;
}

/* Admin Panel Styles für E-Recht24 Management */
.erecht24-admin-panel {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 15px;
    padding: 25px;
    margin: 30px 0;
}

.erecht24-admin-title {
    color: #00ff88;
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.erecht24-status {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.erecht24-status-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
}

.erecht24-status-item h4 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.erecht24-status-fresh {
    border-color: rgba(34, 197, 94, 0.4);
}

.erecht24-status-stale {
    border-color: rgba(245, 158, 11, 0.4);
}

.erecht24-status-missing {
    border-color: rgba(239, 68, 68, 0.4);
}

.erecht24-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.erecht24-btn {
    background: linear-gradient(45deg, #00ff88, #00cc6a);
    color: #0a1427;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.erecht24-btn:hover {
    background: linear-gradient(45deg, #00cc6a, #00ff88);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 255, 136, 0.3);
    color: #0a1427;
}

.erecht24-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.erecht24-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .legal-update-info,
    .legal-warning,
    .legal-error {
        padding: 10px 12px;
        font-size: 0.85rem;
        text-align: left;
    }
    
    .erecht24-actions {
        flex-direction: column;
    }
    
    .erecht24-btn {
        justify-content: center;
        width: 100%;
    }
}