/* Help Icon Button tooltip_styles.css*/
.help-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #3b82f6;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
    margin-left: auto;
    border: none;
}

.help-icon:hover {
    background: #2563eb;
    transform: scale(1.15);
}

.help-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;  /* ENTFERNE !important hier */
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.help-popup-overlay.active {
    display: flex !important;  /* Behalte !important hier */
}

.help-popup {
    background: white;
    border-radius: 16px;
    padding: 0;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    position: relative;
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.help-popup-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 30px;
    border-radius: 16px 16px 0 0;
}

.help-popup-title {
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 12px;
}

.help-popup-close {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.help-popup-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.help-popup-body {
    padding: 30px;
    color: #374151;
    line-height: 1.7;
    overflow-y: auto;
    max-height: calc(80vh - 95px);
}

.help-section {
    margin-bottom: 25px;
}

.help-section:last-child {
    margin-bottom: 0;
}

.help-section-title {
    font-weight: 700;
    color: #667eea;
    margin-bottom: 12px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.help-section p {
    margin-bottom: 10px;
}

.help-example {
    background: #f3f4f6;
    padding: 15px;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    margin-top: 10px;
    border-left: 4px solid #667eea;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.help-arrow {
    text-align: center;
    color: #667eea;
    font-size: 24px;
    margin: 12px 0;
    font-weight: bold;
}

/* Scrollbar für Help Popup */
.help-popup-body::-webkit-scrollbar {
    width: 8px;
}

.help-popup-body::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.help-popup-body::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 4px;
}

.help-popup-body::-webkit-scrollbar-thumb:hover {
    background: #5568d3;
}